Specifications
23-4
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Software Configuration Guide, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter 23 Configuring Pseudowire
Configuring Pseudowire
Using Pseudowire Classes
A pseudowire class allows you to create a single configuration template for multiple pseudowire
connections. You can apply pseudowire classes to all pseudowire types. Follow these steps to configure
a pseudowire class:
Note You cannot use the encapsulation mpls parameter with the pw-class parameter.
Note The use of the xconnect command can vary depending on the type of pseudowire you are configuring.
Command Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
• Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
Router(config)# pseudowire-class
newclass
Creates a new pseudowire class.
Step 4
Router(config-pw-class)#
encapsulation mpls
Sets an encapsulation type. For an ATM over MPLS pseudowire, use
mpls. For a CESoPSN pseudowire using UDP encapsulation, use udp.
Step 5
Router(config-pw-class)# mpls
experimental 5
Specifies the 3-bit EXP field in the MPLS label used for pseudowire
packets.
Note For more information about the mpls experimental command,
see the Cisco MWR 2941 Mobile Wireless Edge Router IOS
Command Reference, Release 15.0(1)MR.
Step 6
Router(config-pw-class)#
preferred-path peer 50.0.0.1
Specifies a preferred path if there are multiple paths that traffic can cross
within the pseudowire class.
Note This command applies only to MPLS pseudowires.
Step 7
Router(config)# interface atm0/ima0
Router(config-if)# pvc 0/40
l2transport
Router(cfg-if-atm-l2trans-pvc)#
encapsulation aal0
Configures the pseudowire interface to use for the new pseudowire class.
This example shows an ATM IMA interface.
Step 8
Router(cfg-if-atm-l2trans-pvc)#
xconnect 1.1.1.1 40 pw-class
myclass
Binds an attachment circuit to the ATM IMA interface to create an ATM
pseudowire. Use the pw-class parameter to specify the pseudowire class
that the ATM pseudowire interface uses.
Step 9
exit
Example:
Router(config)# exit
Router#
Exits configuration mode.