Configuring PFC3BXL or PFC3B Mode MPLS QoS
Command
Step 1
Router(config)# policy-map policy_name
Step 2
Router(config-pmap)# class-map name [match-all |
match-any]
Step 3
Router(config-pmap-c)# set mpls experimental
imposition { mpls-exp-value | from-field [table
table-map-name ]}
Step 4
Router(config-pmap-c)# exit
The following example sets the MPLS EXP imposition value according to the DSCP value defined in the
MPLS EXP value 3.
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# access-l 101 p tcp any any
Router(config)# class-map iptcp
Router(config-cmap)# match acc 101
Router(config-cmap)# exit
Router(config)#
Router(config-cmap)# policy-map ip2tag
Router(config-pmap)# class iptcp
Router(config-pmap-c)# set mpls exp imposition 3
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)#
Router#
1w4d: %SYS-5-CONFIG_I: Configured from console by console
Router#
Router# show policy-map ip2tag
Policy Map ip2tag
Router# show class iptcp
Class Map match-all iptcp (id 62)
Match access-group101
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface fastethernet 3/27
Router(config-if)# ser in ip2tag
Router(config-if)#
Routers
1w4d: %SYS-5-CONFIG_I: Configured from console by console
Router# show pol ip2tag
Policy Map ip2tag
Router# show class-map iptcp
Class Map match-all iptcp (id 62)
Match access-group
Router# show access-l 101
Extended IP access list 101
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
42-24
Class iptcp
set mpls experimental imposition 3
Class iptcp
set mpls experimental imposition 3
101
10 permit tcp any any
Chapter 42
Configuring PFC3BXL or PFC3B Mode MPLS QoS
Purpose
Creates a policy map.
Accesses the QoS class-map configuration mode
to configure QoS class maps.
Sets the value of the MPLS experimental (EXP)
field on all imposed label entries.
Exits class-map configuration mode.
End with CNTL/Z.
End with CNTL/Z.
OL-4266-08