beautypg.com

Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 54

background image

45

Perform EF for traffic with the DSCP value EF and set the guaranteed bandwidth to 30 Mbps.

Before performing the configuration, make sure that:

Router C can reach Router D through Router A and Router B.

The DSCP fields have been set for the traffic before the traffic enters Router A.

Figure 17 Network diagram

Configuration procedure

Configure Router A
# Define three classes to match the IP packets with the DSCP values AF11, AF21 and EF respectively.

system-view

[RouterA] traffic classifier ef_class

[RouterA-classifier-ef_class] if-match dscp ef

[RouterA-classifier-ef_class] quit

[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

# Define a default class named be_class to match all IP packets.

[RouterA] acl number 3000

[RouterA] rule 0 permit ip

[RouterA] traffic classifier be_class

[RouterA-classifier-be_class] if-match acl 3000

[RouterA-classifier-be_class] quit

# Define a traffic behavior named ef_behav, configure EF in the behavior, and set the guaranteed
bandwidth to 30720 kbps.

[RouterA] traffic behavior ef_behav

[RouterA-behavior-ef_behav] queue ef bandwidth 30720

[RouterA-behavior-ef_behav] quit

# Define a traffic behavior af11_behav, configure AF in the traffic behavior, and set the guaranteed

bandwidth to 5120 kbps. Configure traffic behavior af21_behav in a similar way.

[RouterA] traffic behavior af11_behav

[RouterA-behavior-af11_behav] queue af bandwidth 5120

This manual is related to the following products: