Инструкции По Установке для 3com S7906E

Скачать
Страница из 2621
 
10-2 
To do… 
Use the command… 
Remarks 
Reference the 
aggregation CAR in the 
traffic behavior 
car name car-name 
Required 
Exit policy view 
quit 
— 
To an 
interface  
— 
To a VLAN 
— 
Globally 
— 
Apply the 
QoS 
policy 
To the control 
plane 
— 
 
Displaying and Maintaining Aggregation CAR 
To do… 
Use the command… 
Remarks 
Display the statistics for the 
specified aggregation CAR 
display qos car name 
car-name ] 
Required 
Available in any view 
Clear the statistics for the 
specified aggregation CAR 
reset qos car name 
[ car-name ] 
Required 
Available in user view 
 
Configuration example 
Configure an aggregation CAR to rate-limit the traffic of VLAN 10 and VLAN 100 received on 
GigabitEthernet 2/0/1 using these parameters: CIR is 256 kbps, CBS is 2000 bytes, and the action for 
red packets is discard.  
# Configure an aggregation CAR according to the rate limit requirements.  
<Sysname> system-view 
[Sysname] qos car aggcar-1 aggregative cir 256 cbs 2000 red discard 
# Create class 1 to match traffic of VLAN 10; create behavior 1, and reference the aggregation CAR in 
the behavior.  
[Sysname] traffic classifier 1 
[Sysname-classifier-1] if-match customer-vlan-id 10 
[Sysname-classifier-1] quit 
[Sysname] traffic behavior 1 
[Sysname-behavior-1] car name aggcar-1 
[Sysname-behavior-1] quit 
# Create class 2 to match traffic of VLAN 100; create behavior 2, and reference the aggregation CAR in 
the behavior.  
[Sysname] traffic classifier 2 
[Sysname-classifier-2] if-match customer-vlan-id 100 
[Sysname-classifier-2] quit 
[Sysname] traffic behavior 2 
[Sysname-behavior-2] car name aggcar-1