The mpls l2vpn service-name command sets the name of an SVC or Martini VLL service or a PWE3 service.
The undo mpls l2vpn service-name command deletes the configured L2VPN service name.
By default, no L2VPN service name is configured in the system.
Parameter | Description | Value |
---|---|---|
service-name | Specifies the name of an L2VPN service. This parameter uniquely identifies an L2VPN service on a PE. | The value is a string of 1 to 15 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
By default, an SVC or Martini VLL service or a PWE3 service is uniquely identified by the combination of the VC ID and VC type, which are hard to remember and make maintenance complex. When a service name is used to uniquely identify an L2VPN service, the name can be defined based on requirements and the NMS operator can maintain the L2VPN service by clicking the name on the NMS graphical user interface (GUI). This simplifies operation and maintenance.
Prerequisites
An SVC or Martini VLL service or a PWE3 service has been configured on a service interface. A primary PW and a secondary PW can be configured for a Martini VLL or PWE3 service.
Precautions
On each PE, an L2VPN service name is unique. If an L2VPN service name has been used by a PW, it cannot be configured for another PW, or the system will display an error message.
If an L2VPN service already has a service name, this service name will be overwritten when a new name is configured for the L2VPN service. Therefore, when changing an L2VPN service name, you can directly configure a new service name without deleting the original one.