3Com 10014299 Network Router User Manual


 
Committed Access Rate (CAR) 673
Figure 212 Networking diagram of configuring the priority level based CAR policy
1 Configure Router A:
The CAR policy is applied to the packet inputted to router A serial interface 0 and
matching priority level 1.
[RouterA] qos carl 1 precedence 1
[RouterA]acl 1
[RouterA-acl-1]rule permit source 10.0.0.0 0.0.0.255
[RouterA-acl-1]interface serial 0
[RouterA-Serial0] ip address 10.0.0.1 255.255.255.0
[RouterA-Serial0] qos car inbound acl 1 cir 8000 cbs 15000 ebs 8000
conform pass exceed discard
The CAR policy is applied to the packet outputted from Router A serial interface 1
and matching priority level is 2
[RouterA] qos carl 2 precedence 2
[RouterA] acl 2
[RouterA-acl-2] rule permit source 10.0.0.0 0.0.0.255
[RouterA-acl-2] interface serial 0
[RouterA-Serial0] ip address 11.0.0.1 255.255.255.0
[RouterA-Serial0] qos car outbound acl 2 cir 8000 cbs 15000 ebs 8000
conform pass exceed discard
Configure the CAR Policy Based on the MAC Address
The packet input to router A serial interface 0 (the source address of the packet is
00e0.34b0.7676) is matched with the CAR policy based on MAC address. A
packet that meets the conditions after its priority level value is changed to 7 will be
sent continuously and dropped if it does not.
Figure 213 Networking diagram of configuring CAR policy based on the MAC address
1 Configure Router A:
The packet that is inputted to router A serial interface 0 is matched with the CAR
policy based on MAC address
[RouterA] qos carl 1 mac 00-e0-34-b0-76-76
[RouterA]acl 1
[RouterA-acl-1]rule permit source 10.0.0.0 0.0.0.255
[RouterA-acl-1]interface serial 0
[RouterA-Serial0] ip address 10.0.0.1 255.255.255.0
[RouterA-Serial0] qos car inbound acl 1 cir 8000 cbs 15000 ebs 8000
conform pass exceed discard
Router A Router B
Router C
S0
10.0.0.2
S0
10.0.0.1
S0
11.0.0.2
S1
11.0.0.1
Router A Router B
Router C
S0
10.0.0.2
S0
10.0.0.1
S0
11.0.0.2
S1
11.0.0.1