The ip service-set command creates a service or service group and accesses its view.
The undo ip service-set command deletes a user-defined service or service group.
ip service-set service-set-name [ type { object | group } | vpn-instance vpn-instance-name ] *
undo ip service-set service-set-name [ vpn-instance vpn-instance-name ]
| 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 (?), or hyphens (-). 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 object | Specifies the service of object type. You can add only services as its members. | - |
| type group | Specifies the service of group type. You can add both services and service groups as its members. | - |
| 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. |