Cisco Systems A9014CFD Router User Manual


 
21-18
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 21 Configuring Pseudowire
Configuring Pseudowire
QoS for CESoPSN over UDP and SAToP over UDP
Cisco ASR 901 router supports IP DSCP and IP Precedence via service-policy and Type of Service (ToS)
setting in pseudowire-class.
The ToS setting in pseudowire-class is optional. If a quality of service (QoS) policy with DSCP and IP
Precedence value is applied on the cem circuit that has a ToS setting (via pseudowire-class), then the
DSCP IP Precedence setting at the service policy is applied. Hence, the service-policy overrides the Qos
configuration that is set through the pseudowire-class.
Example
Router(config)#pseudowire-class pw-udp
Router(config-pw-class)#ip tos value tos-value
Router(config)#policy-map policy-Qos
Router(config-pmap)#class class-default
Router(config-pmap-c)#set ip precedence precedence-value
Router(config-pmap-c)#set ip dscp dscp-value
Router(config-pmap-c)#set qos-group qos-group-value
Router(config)#interface cem 0/0
Router(config-if)#cem 0
Router(config-if-cem)#service-policy input policy-Qos
Router(config-if-cem)#xconnect 180.0.0.201 29 pw-class pw-udp
Router(cfg-if-cem-xconn)#udp port local 49152 remote 49152
The set qos-group command is used to set the mpls experimental bit for the vc label, if no action on
egress is copied to the outer mpls label experimental bit.
Note For details on configuring QoS in Cisco ASR 901, see Configuring QoS.
Configuring Transportation of Service Using Ethernet over MPLS
Ethernet over MPLS PWs allow you to transport Ethernet traffic over an existing MPLS network. For an
overview of Ethernet over MPLS pseudowires, see Transportation of Service Using Ethernet over MPLS,
page 21-3.
Complete the following steps to configure an Ethernet over MPLS pseudowire:
SUMMARY STEPS
1. enable
2. configure terminal
3. interface GigabitEthernetslot/port
4. service instance instance-number ethernet
5. encapsulation dot1q encapsulation-type
6. rewrite ingress tag pop 1 symmetric
7. xconnect ip-address encapsulation mpls
8. end