Specifications

23-9
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
Configuring a CESoPSN Pseudowire with UDP Encapsulation
Follow these steps to configure a CESoPSN pseudowire with UDP encapsulation:
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
udpClass
Creates a new pseudowire class.
Step 4
Router(config-pw-class)#
encapsulation udp
Specifies the UDP transport protocol.
Step 5
Router(config-pw-class)# ip local
interface Loopback1
Configures the IP address of the provider edge (PE) router interface to be
used as the source IP address for sending tunneled packets.
Step 6
Router(config-pw-class)# ip tos
value 100
Specifies the type of service (ToS) level for IP traffic in the pseudowire.
Step 7
Router(config-pw-class)# ip ttl 100
Specifies a value for the time-to-live (TTL) byte in the IP headers of
Layer 2 tunneled packets.
Step 8
Router(config-pw-class)# exit
Router(config)#
Exits pseudowire-class configuration mode.
Step 9
Router(config)# controller [e1|t1]
0/0
Router(config-controller)#
Enters E1 or T1 controller configuration mode.
Step 10
Router(config-controller)#
cem-group 5 timeslots 1-24
Assigns channels on the T1 or E1 circuit to the circuit emulation (CEM)
channel. This example uses the timeslots parameter to assign specific
timeslots to the CEM channel.
Step 11
Router(config-controller)# exit
Router(config)#
Exits controller configuration.
Step 12
Router(config)# interface CEM0/5
Router(config-if-cem)# cem 5
Defines a CEM channel.
Step 13
Router(config-if-cem)# xconnect
30.30.30.2 305 pw-class udpClass
Binds an attachment circuit to the CEM interface to create a pseudowire.
This example creates a pseudowire by binding the CEM circuit 5 to the
remote peer 30.30.30.2.
Note When creating IP routes for a pseudowire configuration, we
recommend that you build a route from the xconnect address
(LDP router-id or loopback address) to the next hop IP address,
such as ip route 30.30.30.2 255.255.255.255 1.2.3.4.
Step 14
Router(config-if-cem)# udp port
local 50000 remote 55000
Specifies a local and remote UDP port for the connection.
Note Valid port values for CESoPSN pseudowires using UDP are from
49152–57343.