hit counter script

Classifying, Policing, And Marking Traffic By Using Policy Maps - Cisco ONS 15454 Software Feature And Configuration Manual

Sonet / sdh ml-series multilayer ethernet card
Hide thumbs Also See for ONS 15454:
Table of Contents

Advertisement

Chapter 13
Configuring Quality of Service
Command
Step 3
Router(config-cmap)# match keyword
Step 4
Router(config-cmap)# end
Step 5
Router# copy running-config
startup-config
To delete an existing class map, use the no class-map class-map-name [match-all | match-any] global
configuration command. To remove a match criterion, use the no form of the match command.
This example shows how to create a class map called class1 that matches incoming traffic entering
interface fastethernet0:
Router(config)# class-map class1
Router(config-cmap)# match input-interface fastethernet0
This example shows how to create a class map called class2 that matches incoming traffic with
IP-precedence values of 5, 6, and 7:
Router(config)# class-map match-any class2
Router(config-cmap)# match ip precedence 5 6 7
If a class-map contains a match rule which specifies multiple values, such as 5 6 7 in this example, then
Note
the class-map must be match-any, not the default match-all. Without the match-any an error message is
printed and the class is ignored. The supported commands which allow multiple values are match cos,
match ip precedence and match ip dscp.
This example shows how to create a class map called class3 that matches incoming traffic based on
bridge group 1:
Router(config)# class-map class3
Router(config-cmap)# match bridge-group 1

Classifying, Policing, and Marking Traffic by Using Policy Maps

A policy map specifies which traffic class to act on and the actions to take. Actions can include setting
a specific Layer 2 CoS value in the traffic class and specifying the traffic bandwidth limitations for each
matched traffic class (policer) and the action to take when the traffic is out of profile (marking).
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
78-15224-02
Purpose
Defined the match keyword to classify traffic.
The following are valid keyword choices:
any
bridge-group
cos
input-interface
ip dscp
ip precedence
The
choice is not valid when applied to the INPUT
input-interface
of an interface (redundant).
There is no default match criterion.
Multiple match criteria are supported. The command matches either
ALL or ANY of the criteria, as controlled by the match-all and
match-any subcommands of the class-map command.
Returns to privileged EXEC mode.
(Optional) Saves your entries in the configuration file.
Configuring QoS
13-3

Advertisement

Table of Contents
loading

Table of Contents