H3C Technologies H3C S10500 Series Switches User Manual

Page 50

Advertising
background image

42

[DeviceB-behavior-car_outbound] quit

# Create a QoS policy named car_inbound, and associate class class with traffic behavior car_inbound

in the QoS policy.

[DeviceB] qos policy car_inbound

[DeviceB-qospolicy-car_inbound] classifier class behavior car_inbound

[DeviceB-qospolicy-car_inbound] quit

# Create a QoS policy named car_outbound, and associate class http with traffic behavior
car_outbound in the QoS policy.

[DeviceB] qos policy car_outbound

[DeviceB-qospolicy-car_outbound] classifier http behavior car_outbound

[DeviceB-qospolicy-car_outbound] quit

# Apply QoS policy car_inbound to the incoming traffic of port GigabitEthernet 1/0/1.

[DeviceB] interface GigabitEthernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] qos apply policy car inbound

# Apply QoS policy car_outbound to the outgoing traffic of port GigabitEthernet 1/0/2.

[DeviceB] interface GigabitEthernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] qos apply policy car outbound

Advertising
This manual is related to the following products: