1666 CHAPTER 97: MPLS L2VPN CONFIGURATION COMMANDS

ppp: Uses PPP encapsulation.

vlan: Uses VLAN encapsulation.

control-word: Enables the control word option.

no-control-word: Disables the control word option.

Description Use the mpls l2vpn command to create a Kompella VPN and enter MPLS L2VPN view.

Use the undo mpls l2vpn command to delete a VPN.

The encapsulation type specified here must match that of the CE interface.

Currently, only L2VPNs using ATM, PPP, FR, or HDLC encapsulation support the control word option.

Example # Create Kompella VPN named vpn1 and enter MPLS L2VPN view.

<Sysname> system-view

[Sysname] mpls l2vpn vpn1 encapsulation ppp

[Sysname-mpls-l2vpn-vpn1]

# Create Kompella VPN named vpn2 and enter MPLS L2VPN view.

<Sysname> system-view

[Sysname] mpls l2vpn vpn1 encapsulation ppp [Sysname-mpls-l2vpn-vpn1] mpls l2vpn vpn2 encapsulation ethernet [Sysname-mpls-l2vpn-vpn2]

mpls static-l2vc destination

Syntax mpls static-l2vc destination destination-router-id transmit-vpn-labeltransmit-label-value receive-vpn-labelreceive-label-value [ tunnel-policytunnel-policy-name ] [ control-wordno-control-word]

undo mpls static-l2vc

View Interface view

Parameter dest-router-id: Destination router ID.

transmit-label-value: Outgoing label for the VPN, namely the outgoing label for the static level 2 VC. The value ranges from 16 to 1023.

receive-label-value: Incoming label for the VPN, namely the incoming label for the static level 2 VC. The value ranges from 16 to 1023.

tunnel-policy-name: Tunneling policy for the VC, a string of 1 to 19 characters.

control-word: Enables the control word option.

Page 1666
Image 1666
3Com MSR 30, MSR 50 manual Mpls static-l2vc destination, # Create Kompella VPN named vpn2 and enter Mpls L2VPN view