configuration. For the data streams with DSCP domain being AF11 and AF21,
AF (assured forwarding) and minimum bandwidth 5% is defined.
For the data streams with DSCP domain being EF, EF and minimum bandwidth
■
30% is specified.
Before the configuration, make sure that:
Router C can send packets successfully across Router A and Router B to Router
■
D.
DSCP domain has been configured for the packets before they enter Router A.
■
Network diagram
Figure 470 Network diagram for CBQ configuration
Router C
Ethernet
ATM1 /0
1.1.1 .1/24
Router A
Configuration procedure
The configuration on Router A is as follows:
# Define three classes, match them respectively with the IP packets with their
DSCP domain respectively being AF11, AF21 and EF.
[RouterA] traffic classifier af11_class
[RouterA-classifier-af11_class] if-match dscp af11
[RouterA-classifier-af11_class] quit
[RouterA]traffic classifier af21 class
[RouterA-classifier-af21 class] if-match dscp af21
[RouterA-classifier-af21 class] quit
[RouterA] traffic classifier ef_class
[RouterA-classifier-ef_class] if-match dscp ef
[RouterA-classifier-ef_class] quit
# Define traffic behavior, configure AF and minimum available bandwidth.
[RouterA] traffic behavior af11_behav
[RouterA-behavior-af11_behav] queue af bandwidth pct 5
[RouterA-behavior-af11_behav] quit
[RouterA] traffic behavior af21_behav
[RouterA-behavior-af21_behav] queue af bandwidth pct 5
[RouterA-behavior-af21_behav] quit
Configuring Class-based Queuing
Router D
Ethernet
AF11
ATM1 /0
AF21
1.1.1.2/24
EF
Router B
1671