User Manual

Up to four user-defined values may be used for pre-marking/remarking to a DSCP value not recommended in the RFC. The
following table shows the DSCP values that are recommended in the RFC.
PHB DSCP value RFC
default 0 2474
Class Selector 0, 8, 16, 24, 32, 40, 48, 56 2474
Assured Forwarding 10, 12, 14, 18, 20, 22, 26, 28, 30, 34, 36,
38
2597
Expedited Forwarding(EF) 46 2598
[Example]
Make the following settings for received frames of LAN port #1
Permit traffic from the 10.1.0.0 network
Categorize bandwidth classes as CIR:48kbps, CBS:12kbyte, and EBS:12kbyte
Green: forward, Yellow: rewrite DSCP value to 10, Red: discard
[Traffic class definition]
SWP1(config)#ip-access-list 1 permit 10.1.0.0 0.0.255.255
SWP1(config)#class-map class1
SWP1(config-cmap)#match access-group 1
SWP1(config-cmap)#exit
[Policy settings]
SWP1(config)#policy-map policy1
SWP1(config-pmap)#class class1
SWP1(config-pmap-c)#police 48 12 12 yellow-action remark red-action drop
SWP1(config-pmap-c)#remark-map yellow ip-dscp 10
SWP1(config-pmap-c)#exit
SWP1(config-pmap)#exit
SWP1(config)#interface ge1
SWP1(config-if)#service-policy input policy1
13.2.36 Generate aggregate policer
[Syntax]
aggregate-police name
no aggregate-police name
[Parameter]
name : Name of aggregate policer (maximum 20 characters; uppercase and lowercase are distinguished)
[Input mode]
global configuration mode
[Description]
Generates an aggregate policer. If the policer has already been generated, this command edits its content.
When the command succeeds, you transition to aggregate policer mode, where you can edit the content of the aggregate policer.
If the command is executed with the "no" syntax, the aggregate policer is deleted.
In the following case, the content of the aggregate policer cannot be changed (you will not transition to aggregate policer
mode).
A policy map that includes a class map specified by the aggregate policer is applied to the LAN/SFP port
In the following case, the aggregate policer cannot be deleted.
The police-aggregate command was used to set the aggregate policer to a traffic class
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Generate aggregate policer "AGP-01"
SWP1(config)#aggregate-police AGP-01
SWP1(config-agg-policer)#
Command Reference | Traffic control | 205