Cisco Catalyst 3750 Software Configuration Manual page 733

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 30
Configuring MPLS and EoMPLS
Command
Step 3
class-map class-map-name
Step 4
match {ip dscp dscp-list | ip
precedence ip-precedence-list}
Step 5
exit
Step 6
policy-map policy-map-name
Step 7
class class-name
Step 8
set mpls experimental exp-number
Step 9
exit
Step 10
exit
Step 11
interface interface-id
Step 12
service-policy output policy-map-name Attach the specified policy map to the output interface.
Step 13
end
Step 14
show policy-map [policy-map-name
[class class-map-name]]
show policy-map interface interface-id
Step 15
copy running-config startup-config
To delete an existing policy map, use the no policy-map policy-map-name global configuration
command. To delete an existing class, use the no class class-name policy-map configuration command.
This example shows how to use class and policy maps to configure different experimental bit settings
for DSCP and IP precedence for MPLS QoS.
Switch(config)# class-map match-all gold-class
Switch(config-cmap)# match ip dscp 1
Switch(config-cmap)# exit
Switch(config)# class-map match-all silver-class
Switch(config-cmap)# match ip precedence 2
Switch(config-cmap)# exit
Switch(config)# policy-map out-policy
Switch(config-pmap)# class gold-class
Switch(config-pmap-c)# set mpls experimental 5
Switch(config-pmap-c)# exit
Switch(config-pmap)# class silver-class
Switch(config-pmap-c)# set mpls experimental 4
Switch(config-pmap-c)# exit
78-15870-01
Purpose
Specify the name of the traffic class, and enter class-map configuration
mode.
Specify the matching criteria for 802.1Q packets.
ip dscp dscp-list—list of up to eight IP DSCP values to match against
incoming packets. The range is 0 to 63.
ip precedence ip-precedence-list—list of up to eight IP-precedence
values to match against incoming packets. Separate each value with
a space. The range is 0 to 7.
Note
The switch does not support the cos and vlan keywords for MPLS
and EoMPLS.
Return to global configuration mode.
Specify the name of the traffic policy to configure, and enter policy-map
configuration mode.
Specify the name of the predefined traffic class configured with the
class-map command, and enter policy-map class configuration mode.
Specify the value to which the MPLS bits are set if the packets match the
specified policy map. The range is 0 to 7.
Return to policy-map configuration mode.
Return to global configuration mode.
Enter the interface ID, and enter interface configuration mode. The
interface should be the ES egress port of the ingress router.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Catalyst 3750 Metro Switch Software Configuration Guide
Configuring MPLS and EoMPLS QoS
30-21

Advertisement

Table of Contents
loading

Table of Contents