Command Line Interface
890 1553-KDU 137 365 Uen D 2006-06-16
7.18 Layer 2 over MPLS Commands
This section describes commands used to configure L2MPLS.
Table 97 L2MPLS Commands
General Configuration Guidelines for L2MPLS
1. Configure the ECN330-switch to L2MPLS mode (system mode l2mpls,
section 7.5.7 on page 552).
2. Create a normal VLAN (vlan, section 7.17.3 on page 850).
3. Enable L2MPLS mode on the VLAN interface (mpls l2, section 7.18.2 on
page 893).
4. Associate L2MPLS VLAN to a Virtual Channel, specifying the MPLS input
and output labels.(mpls static binding, section 7.18.3 on page 893).
5. Configure a Gigabit Ethernet port to L2MPLS uplink mode (mpls l2,
section 7.18.1 on page 891).
6. Specify the tunnel label, virtual channel (VC), and next hop used by the
L2MPLS uplink port (mpls tunnel, mpls vc, and mpls next-hop,
section 7.18.1 on page 891).
Command Function Mode Page
system mode Configures the ECN330-switch to L2MPLS mode PE 552
show system mode Displays the ECN330-switch system mode PE 553
mpls Sets the MPLS characteristics for an uplink port IC 891
mpls l2 Configures a VLAN to operate as an L2MPLS
tunnel
IC 893
mpls static
binding
Associates input and output MPLS labels with a
VLAN
GC 893
show mpls
l2transport
Displays the L2MPLS link information PE 894
switchport mtu Sets the maximum transfer unit for an interface IC 887