< Home

ip service-set

Function

The ip service-set command creates a service object or service group and accesses its view.

The undo ip service-set command deletes a user-defined service or service group.

Format

ip service-set service-set-name [ type { object | group } [ service-set-id ] | vpn-instance vpn-instance-name ] *

undo ip service-set { service-set-name | unreferenced { object | group | all } } [ vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value

service-set-name

Specifies the name of a service or service group.

The name is a string of case-sensitive characters. If the name does not contain any space, the length ranges from 1 to 63 characters. If the name contains spaces, the length ranges from 3 to 65 characters, and you must use double quotation marks ("") to enclose it (for example, service for test").

The name cannot contain question marks (?). If the name does not contain any space, it also cannot have any double quotation marks ("). In addition, the name cannot be any or all.

type

Indicates the type of the service object or service group.

-

unreferenced

Indicates an unreferenced service object or service group.

-

object

Indicates a service object. You can add only services as its members.

-

group

Indicates a service group. You can add both services and service groups as its members.

-

service-set-id

Specifies the ID of a service set. If you do not specify service-set-id, the system automatically allocates an ID.

The value is an integer and the value range varies with the device model.
  • If you specify object, the value range of the service set ID is as follows:

    • USG6510E/6510E-POE: The value is from 16 to 271
    • USG6530E: The value is from 64 to 1087
    • USG6515E: The value is from 512 to 1535
    • USG6525E: The value is from 512 to 1535
    • USG6550E/6560E/6580E: The value is from 512 to 1535
    • USG6555E/6565E/6575E-B/6585E/6605E-B: The value is from 512 to 1535
    • USG6610E/6620E: The value is from 1024 to 31023
    • USG6615E/6625E: The value is from 1024 to 31023
    • USG6635E/6655E: The value is from 1024 to 31023
    • USG6630E: The value is from 1024 to 31023
    • USG6650E: The value is from 1024 to 31023
    • USG6680E: The value is from 1024 to 31023
    • USG6712E/6716E: The value is from 1024 to 31023
  • If you specify group, the value range of the service set ID is as follows:

    • USG6510E/6510E-POE: The value is from 0 to 15
    • USG6530E: The value is from 0 to 63
    • USG6515E: The value is from 0 to 511
    • USG6525E: The value is from 0 to 511
    • USG6550E/6560E/6580E: The value is from 0 to 511
    • USG6555E/6565E/6575E-B/6585E/6605E-B: The value is from 0 to 511
    • USG6610E/6620E: The value is from 0 to 1023
    • USG6615E/6625E: The value is from 0 to 1023
    • USG6635E/6655E: The value is from 0 to 1023
    • USG6630E: The value is from 0 to 1023
    • USG6650E: The value is from 0 to 1023
    • USG6680E: The value is from 0 to 1023
    • USG6712E/6716E: The value is from 0 to 1023

all

Indicates all unreferenced service objects and service groups.

-

vpn-instance vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 characters without spaces. If you set this parameter, the service or service group can be used for only this VPN instance.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You need to specify the type when you create a service or service group. To access the view of a created service or service group, you do not need to specify its type.

Referenced service or service groups cannot be deleted.

In the hot standby scenario, if the service-set-id parameter is used during service or service group configuration, ensure consistent service-set-id parameter settings. Otherwise, the consistency check between the active and standby devices fails.

Example

# Create service group set2 and add set1 as its member.

<sysname> system-view
[sysname] ip service-set set2 type group

# Delete all unreferenced service objects and service groups.

<sysname> system-view
[sysname] undo ip service-set unreferenced all
Warning: This command will delete all unreferenced service-set. Continue?[Y/N]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >