The service-id command sets a service ID for a VPN instance.
The undo service-id command deletes the service ID of a VPN instance.
By default, no service ID is set for a VPN instance.
Parameter | Description | Value |
---|---|---|
service-id | Specifies the service ID of a VPN instance. | An integer ranging from 1 to 4294967295. |
Usage Scenario
A service ID set in the view of a VPN instance identifies the service of the VPN instance, which facilitates later service query using the NMS.
A service ID is unique on a device. It distinguishes a VPN service from other VPN services on the network. A service ID used by a VPN instance cannot be allocated to other VPN instances.
Configuration Impact
If the service-id command is run repeatedly, the last configuration overrides the previous ones.