DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
473
48-9 police tr-tcm cir
This command is used to configure traffic policing using two rates in policy-map configuration mode. Remove traffic
policing from the configuration, use the no police command.
police tr-tcm cir
cir
[bc
cbs
] pir
pir
[be
pbs
] [conform-action
action
[exceed-action
action
[violate-action
action
]]]
no police
Parameters
Example
This example shows how to define a traffic class (using the class-map command)
and associate the policy with the match criteria for the traffic class in a policy map
(using the policy-map command). The service-policy command is then used to
attach this service policy to the interface. In this particular example, traffic policing is
configured with an average rate of 5000 Kbits per second and a Committed burst
size of 4096 Kbytes for all ingress packets specified by class-map class1 at interface
tenGigabitEthernet 1/0/3.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#class-map class1
DXS-3600-32S(config-cmap)#match access-group 1
DXS-3600-32S(config-cmap)#exit
DXS-3600-32S(config)#policy-map policy1
DXS-3600-32S(config-pmap)#class class1
DXS-3600-32S(config-pmap-c)#police sr-tcm 5000 4096 2048 conform-action transmit exceed-action
set-dscp-transmit 54 violate-action drop
DXS-3600-32S(config-pmap-c)#exit
DXS-3600-32S(config-pmap)#exit
DXS-3600-32S(config)#interface tenGigabitEthernet 1/0/3
DXS-3600-32S(config-if)#service-policy input policy1
DXS-3600-32S(config-if)#
cir
cir
Specifies the committed information rate in kbps at which the first token bucket is
updated.
bc
cbs
(Optional) Specifies the committed burst size in Kbytes used by the first token bucket
for policing. It must be configured to be greater than 0.
pir
pir
Specifies the peak information rate in kbps at which the second token bucket is
updated. The pir must be equal to or greater than the cir.
be
pbs
(Optional) Specifies the peak burst size in Kbytes used by the second token bucket
for policing. It must be configured to be greater than 0.
conform-action
(Optional) Specifies the action to take on green color packets. The default action is
‘transmit’.
exceed-action
(Optional) Specifies the action to take on yellow color packets. The default action is
‘drop’.
violate-action
(Optional) Specifies the action to take on red color packets. The default action is as
same as action for yellow color packets.
action
Specifies the action to take on the following packets:
drop:
Drops the packet.
set-dscp-transmit
new-dscp
:
Sets the IP differentiated services code
points(DSCP) value and transmits the packet with the new DSCP value
setting.
set-1p-transmit
new-cos
:
Sets the packet COS value and transmits it with the
new CoS value.
transmit:
Transmits the packet with no change.
Default
None.
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...