-99
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
xconnect
For H-VPLS, you create the VFI and enter VFI configuration mode by entering the l2 vfi vfi-name global
configuration command.
You can attach a VFI to a VLAN or to multiple Ethernet ports. The switch does not allow switching
VLAN and port interfaces through the same VFI.
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 switch supports only the encapsulation mpls and preferred-path options in pseudo-wire
configuration mode.
You can verify the configuration by entering the show mplsl2 transport vc privileged EXEC command.
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
This example shows how to create VFI abc and attach it to a VLAN interface. You need to configure the
PE devices at both edges of the MPLS network this way:
Switch(config)# l2 vfi abc manual
Switch(config-vfi)# vpn id 123
Switch(config-vfi)# neighbor 10.0.0.1 encapsulation mpls
Switch(config-vfi)# exit
Switch(config)# interface vlan 4
Switch(config-if)# xconnect vfi abc encapsulation mpls
Related Commands Command Description
l2 vfi Configures a VFI for implementing VPLS over an MPLS backbone.
show mpls l2transport vc Displays information about the EoMPLS VCs that have been enabled to
route Layer 2 packets on a device.