672CHAPTER 48: TRAFFIC POLICING, TRAFFIC SHAPING AND LINE RATE

Displaying and Debugging CAR

Table 713 Display and Debug CAR

 

Operation

Command

 

 

 

 

Display one or all carl

display qos carl [ carl-index]

 

 

 

 

Display the parameter configuration and

display qos car [ interface type

 

operation statistic information of CAR on

number ]

 

various interfaces

 

 

 

 

CAR Configuration Applying a CAR Policy to all Packets

Examples

The CAR policy is applied to all the packets that are input to router A

 

Ethernet0, directly forwarding the packets that meet the conditions and dropping the packets that do not meet the conditions.

The CAR policy is applied to all the packets that are output from router A Ethernet1, directly forwarding the packets that meet the conditions and dropping the packets that do not meet the conditions.

Figure 211 Networking diagram of configuring the CAR policy to be applied to all packets

 

E0

E1

 

190.0.0.2

191.0.0.1

 

E0

E0

Router C

190.0.0.1 Router A

191.0.0.2 Router B

1Configure Router A:

CAR policy is applied to all the packets that are input to router A Ethernet 0

[RouterA-Ethernet0] ip address 190.0.0.1 255.255.255.0

[RouterA-Ethernet0] qos car inbound any cir 8000 cbs 15000 ebs 8000 conform pass exceed discard

CAR policy is applied to all the packets that are output from router A Ethernet 1

[RouterA-Ethernet1]ip address 191.0.0.1 255.255.255.0

[RouterA-Ethernet1]qos car outbound any cir 8000 cbs 15000 ebs 8000

conform pass exceed discard

Configure the Priority Level Based CAR Policy

The packet that is input to router A serial interface 0 are matched with the priority level based on CAR policy, directly forwarding the packet that meets the conditions and dropping the packet that does not meet the conditions.

The packet that is output from router A serial interface 1 is matched with the priority level based on CAR policy, directly forwarding the packet that meets the conditions and dropping the packet that does not meet the conditions.

Page 676
Image 676
3Com 10014299 Displaying and Debugging CAR, CAR Configuration Applying a CAR Policy to all Packets, Display and Debug CAR