3Com MSR 30 Network Router User Manual


  Open as PDF
of 2742
 
1772 CHAPTER 105: TRAFFIC POLICING (TP) CONFIGURATION COMMANDS
You can configure several CAR policies by using the command for several times.
And the executing order of the policies depends on the configuration order.
Execute the command in interface view, and the setting is valid on the current
interface only.
Examples # Configure traffic policing for outbound packets that conform to CARL rule 1 at
the interface Ethernet1/0. The normal traffic is 200 kbps. The burst size, twice of
the normal traffic, is allowed at the first time; then packets are normally
transmitted when the rate is less than or equal to 200 kbps. When the rate is
larger than 200 kbps, packets will be transmitted after their precedence is
changed to 0.
<Sysname> system-view
[Sysname] interface Ethernet1/0
[Sysname-Ethernet1/0] qos car outbound carl 1 cir 200 cbs 50000 ebs
0 green pass red remark-prec-pass 0
qos carl
Syntax qos carl carl-index { precedence precedence-value | mac mac-address | dscp
dscp-list }
undo qos carl carl-index
View System view
Parameters carl-index: CAR list number, in the range 1 to 199.
precedence-value: Precedence, in the range 0 to 7.
mac-address: Hexadecimal MAC address.
dscp-list: DSCP value list. When it is displayed by a number, it ranges from 0 to 63;
when it is displayed as a character, it can be valued af11, af12, af13, af21, af22,
af23, af31, af32, af33, af41, af42, af43, cs1, cs2, cs3, cs4, cs5, cs6, cs7,
default and ef.
Description Use the
qos carl command to establish or modify a CARL.
Use the
undo qos carl command to delete a CARL.
You can establish a CARL based on IP precedence, or MAC address.
For different carl-index, the repeat execution of this command will create multiple
CARLs, and for the same carl-index, such undertaking will modify the parameters
of the CARL.
You can define eight precedence values at most. If the same precedence is
specified for several times, the system by default regards that only one
precedence value has been specified. The precedence values are related to one
another in the way of “OR”.