Cisco Catalyst 4500 Series Software Configuration Manual page 1154

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring QoS on a Standalone Supervisor Engine 6-E/6L-E or Supervisor Engine 7-E/7L-E/8-E
Command
Step 4
Switch(config-tablemap)# exit
Step 5
Switch(config)# policy-map name
Step 6
Switch(config-p)# class name
Step 7
Switch(config-p-c)# set cos | dscp |
prec
cos | dscp | prec | qos-group
[table name]
Step 8
Switch(config-p-c)# end
Step 9
Switch# show policy-map name
Step 10
Switch# show table-map name
The following example shows how to enable marking action using table-map.
Switch(config)# table-map dscp2Cos
Switch(config-tablemap)# map from 8 to 1
Switch(config-tablemap)# exit
Switch(config)# policy-map p1
Switch(config-pmap)# class ipp5
Switch(config-pmap-c)# set cos dscp table dscp2Cos
Switch(config-pmap-c)# end
Switch# show policy-map p1
Policy Map p1
Switch# show table-map dscp2Cos
Table Map dscp2Cos
Configuring Policer Result-based Conditional Marking
To configure policer result-based conditional marking, setup a single rate or dual rate policer. Refer to
the "How to Implement Policing" section on page 44-52.
This example shows how to configure a two rate three-color policer with explicit actions for each policer
region:
Switch# configure terminal
Switch(config-pmap-c)# policer cir percent 20 pir percent 30
Switch(config-pmap-c-policer)# conform-action set-cos-transmit 3 set-dscp-transmit 10
Switch(config-pmap-c-policer)# exceed-action set-cos-transmit 4 set-dscp-transmit 20
Switch(config-pmap-c-policer)# violate action drop
Switch# show policy-map p1
Policy Map police
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
44-58
Class ipp5
set cos dscp table dscp2Qos
from 8 to 1
default copy
Class ipp5
police cir percent 20 pir percent 30
conform-action set-cos-transmit 3
conform-action set-dscp-transmit af11
exceed-action set-cos-transmit 4
exceed-action set-dscp-transmit af22
violate-action drop
Purpose
Exits table-map configuration mode.
Enters policy-map configuration mode.
Selects the class for QoS actions.
Selects the marking action based on an implicit or explicit
table-map.
Exits configuration mode.
Verifies the configuration of the policy-map.
Verifies the configuration of the table-map.
Chapter 44
Configuring Quality of Service

Advertisement

Table of Contents
loading

Table of Contents