2-772
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
xconnect
The vc-id must be unique for each pair of provider edge devices. Therefore, in large networks, you
should keep track of the VC ID assignments to ensure that a VC ID is not assigned more than once.
The pw-class keyword with the pw-class-name value binds the xconnect configuration of an attachment
circuit to a specific pseudowire class. In this way, the pseudowire class configuration serves as a template
that contains settings used by all attachment circuits bound to it with the xconnect command.
To configure the pseudowire class, use the pseudowire-class global configuration command to enter
pseudo-wire class configuration mode. See the IOS documentation for this command.
http://www.cisco.com/en/US/docs/ios/mpls/command/reference/mp_m4.html#wp1015442
The Catalyst 3750 Metro switch supports only the encapsulation mpls and preferred-path options in
pseudo-wire configuration mode.
Examples This example shows how to establish an Ethernet over MPLS (EoMPLS) tunnel between the PE1 VLAN
3 interface and the PE2 VLAN 4 interface. PE1 has IP address 10.0.0.1/32 that PE2 discovers through
routing and PE2 has IP address 20.0.0.1/32 that PE1 discovers through routing.
At the PE1 interface:
Switch(config)# interface vlan 3
Switch(config-if)# xconnect 20.0.0.1 123 encapsulation mpls
At the PE2 interface:
Switch(config)# interface vlan 4
Switch(config-if)# xconnect 10.0.0.1 123 encapsulation mpls
This example shows how to configure a pseudowire class named vc-class and then configure xconnect
service for an interface by binding the interface to the pseudowire named 123 with a remote peer
10.0.3.201. The configuration uses the settings in the pseudowire class.
Switch (config)# pseudowire-class vc-class
Switch (config-pw-class)# encapsulation mpls
Switch (config-pw-class)# preferred-path interface tunnel 100
Switch (config-pw-class)# exit
Switch(config)# interface Gigabit Ethernet 1/0/1
Switch(config-if)# xconnect 10.0.3.201 123 pw-class vc-class
You can verify your setting by entering the show mplsl2 transport vc privileged EXEC command.
Related Commands Command Description
show mpls l2transport vc Displays information about the EoMPLS VCs that have been enabled to
route Layer 2 packets on a device.