mac
208
exceed-action ACTION} )
ACTION definition:
drop | transmit | set-dscp-transmit <dscp_value> | set-prec-transmit
<ip_precedence_value> | set-cos-transmit <cos_value> | set-internal-priority
<inp_value> | set-Drop-Precedence <dp_value>
no policy
Function: The non-aggregation policy command supporting two colors. Set the
corresponding action to the different color packets. The no command will delete the mode
configuration.
Parameters: bits_per_second: The committed information rate – CIR (Committed
Information Rate), in Kbps, ranging from 1 to 10000000;
normal_burst_bytes: The committed burst size – CBS (Committed Burst Size), in byte,
ranging from 1 to 1000000. When the configured CBS value exceeds the max limit of the
chip, configure the hardware with max number supported by the chip without any CLI
prompt;
conform-action: The action to take when the CIR is not exceeded, which means the
messages are green, the default as transmit;
exceed-action: The actions to take when the CIR is exceeded but PIR isn‘t, which means
the messages are yellow, the default as drop.
ACTION include:
drop/transmit: Drop/transmit the packets
set-dscp-transmit sets DSCP, it is valid to IPv4 and IPv6 packets, only set-dscp-transmit
or set-prec-transmit can be selected.
set-prec-transmit sets TOS, only set-prec-transmit or set-dscp-transmit can be selected
set-internal-priority sets the internal priority of the packets
set-Drop-Precedence sets the drop precedence of the packets
set-cos-transmit sets the CoS value of the L2 packets
Default: No policy action; the default action of conform-action is transmit, while that of
exceed-action is drop.
Command mode: Policy class map configuration Mode
Usage Guide: ―set‖ and ―policy‖(policy aggregate) are selected and have the same
action in Policy Map, then the action selected by ―policy‖ will cover the action of ―set‖.
Example: In the policy class table configuration mode, set the CIR as 1000, CBS as 2000,
and the action triggered by exceeding CIR as transmit without changing the messages.
Switch(config)#class-map cm










