34-33
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 34 Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS
Enabling EoMPLS
This example shows how to set the MTU value on an SVI.
Switch(config)#
interface vlan 100
Switch(config-if)#
xconnect 2.2.2.2 2 encapsulation mpls
Switch(config-if)#
mtu 9000
Configuring the Pseudowire Using Pseudowire Class
The pseudowire-class configuration specifies the characteristics of the tunneling mechanism, including
encapsulation type and
control protocol. You must specify the
encapsulation mpls
command as part of
the pseudowire class for the
AToM
VCs to work properly.
Beginning in privileged EXEC mode, follow these steps to configure a pseudowire class:
This example configures the pseudowire class test.
Switch# config t
Switch(config)# pseudowire-class test
Switch(config-pw-class)# encapsulation mpls
This example shows the output of the show mpls l2transport vc command when the primary
attachment
circuit is up and the backup attachment circuit is available, but not currently selected.
Switch# show mpls l2transport vc
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
Vl20 Eth VLAN 20 10.1.1.2 20 UP
Vl20 Eth VLAN 20 10.1.1.4 20 DOWN
This example shows how to display the preferred path using the show mpls l2transport vc 2 detail
command.
Switch#
show mpls l2transport vc 2 detail
Local interface: Gi0/24 up, line protocol up, Ethernet up
Destination address: 2.2.2.2, VC ID: 2, VC status: down
Output interface: none, imposed label stack {}
Preferred path: Tunnel100, no route
Default path:
No adjacency
Create time: 00:00:12, last status change time: 00:00:12
Signaling protocol: LDP, peer unknown
Targeted Hello: 51.51.51.51(LDP Id) -> 2.2.2.2
Status TLV support (local/remote) : enabled/unknown (no remote binding)
Label/status state machine : local standby, AC-ready, LnuRnd
Last local dataplane status rcvd: no fault
Step 1
configure terminal
Enter global configuration mode.
Step 2
pseudowire-class name
Create a pseudowire class with the specified name and enter
pseudowire class configuration mode.
Step 3
encapsulation mpls
Specify tunneling encapsulation. For AToM, the
encapsulation type is mpls.
Step 4
preferred-path interface tunnel tunnel-id
(Optional) Specify the path that pseudowire traffic uses to be
an MPLS TE tunnel.
Step 5
end
Return to privileged EXEC mode.
Step 6
show mpls l2transport vc [detail]
Verify the configuration.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.