Configuring A Class Map To Classify Mpls Packets - Cisco WS-SUP32-GE-3B - Supervisor Engine 32 Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-SUP32-GE-3B - Supervisor Engine 32:
Table of Contents

Advertisement

Configuring MPLS QoS

Configuring a Class Map to Classify MPLS Packets

You can use the match mpls experimental topmost command to define traffic classes inside the MPLS
domain by packet EXP values. This allows you to define service policies to police the EXP traffic on a
per-interface basis by using the police command.
To configure a class map, perform this task beginning in global configuration mode:
Command
Step 1
Router(config)# class-map class_name
Step 2
Router(config-cmap)# match mpls experimental topmost
value
Step 3
Router(config-cmap)# exit
This example shows that all packets that contain MPLS experimental value 3 are matched by the traffic
class named exp3:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# class-map exp3
Router(config-cmap)# match mpls experimental topmost 3
Router(config-cmap)# exit
Router(config)# policy-map exp3
Router(config-pmap)# class exp3
Router(config-pmap-c)# police 1000000 8000000 conform-action transmit exceed-action drop
Router(config-pmap-c)# exit
Router(config-pmap)# end
Router# show class exp3
Class Map match-all exp3 (id 61)
Match mpls experimental topmost 3
Router# show policy-map exp3
Policy Map exp3
Router# show running-config interface fastethernet 3/27
Building configuration...
Current configuration : 173 bytes
!
interface FastEthernet3/27
ip address 47.0.0.1 255.0.0.0
tag-switching ip
end
Router# configure terminal
Enter configuration commands, one per line.
Catalyst Supervisor Engine 32 PISA Cisco IOS Software Configuration Guide, Release 12.2ZY
39-20
Imposing additional label when QoS is queuing only, the EXP value is based on the original
EXP value (in the absence of EXP mutation).
Popping one label when QoS is disabled, the EXP value is based on the underlying EXP value.
Popping one label when QoS is queuing only, the EXP value is based on the underlying EXP
value.
EXP value is irrelevant to MPLS-to-IP disposition.
Class exp3
police cir 1000000 bc 8000000 be 8000000 conform-action transmit exceed-action drop
Chapter 39
Purpose
Specifies the class map to which packets will be
matched.
Specifies the packet characteristics that will be
matched to the class.
Exits class-map configuration mode.
End with CNTL/Z.
End with CNTL/Z.
Configuring MPLS QoS
OL-11439-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst supervisor engine 32 pisa

Table of Contents