beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 55

background image

46

[RouterA-behavior-af11_behav] quit

[RouterA] traffic behavior af21_behav

[RouterA-behavior-af21_behav] queue af bandwidth 5120

[RouterA-behavior-af21_behav] quit

# Define a traffic behavior named be_behav, configure WFQ in the traffic behavior, and configure the

drop mode as WRED.

[RouterA] traffic behavior be_behav

[RouterA-behavior-be_behav] queue wfq

[RouterA-behavior-be_behav] wred

[RouterA-behavior-be_behav] quit

# Create a QoS policy named dscp, and associate the defined classes with the behaviors as needed.

[RouterA] qos policy dscp

[RouterA-qospolicy-dscp] classifier ef_class behavior ef_behav

[RouterA-qospolicy-dscp] classifier af11_class behavior af11_behav

[RouterA-qospolicy-dscp] classifier af21_class behavior af21_behav

[RouterA-qospolicy-dscp] classifier be_class behavior be_behav

[RouterA-qospolicy-dscp] quit

# Apply QoS policy dscp to the outgoing traffic of interface GigabitEthernet 3/1/1.
[RouterA-GigabitEthernet3/1/1] qos apply policy dscp outbound
[RouterA-GigabitEthernet3/1/1] quit
# After the configuration, display the QoS policy configuration on interface GigabitEthernet 3/1/1 to

verify the configuration.

[RouterA] display qos policy interface GigabitEthernet 3/1/1 outbound

Interface: GigabitEthernet3/1/1

Direction: Outbound

Policy: dscp

Classifier: ef_class

Operator: AND

Rule(s) : If-match dscp ef

Behavior: ef_behav

Expedited Forwarding:

Bandwidth 30720 (Kbps), CBS 768000 (Bytes)

Matched : 100/6400 (Packets/Bytes)

Enqueued : 100/6400 (Packets/Bytes)

Discarded: 0/0 (Packets/Bytes)

Classifier: af11_class

Operator: AND

Rule(s) : If-match dscp af11

Behavior: af11_behav

Assured Forwarding:

Bandwidth 5120 (Kbps)

Matched : 50/3200 (Packets/Bytes)

Enqueued : 50/3200 (Packets/Bytes)

Discarded: 0/0 (Packets/Bytes)

Classifier: af21_class

Operator: AND

This manual is related to the following products: