H3C Technologies H3C S6300 Series Switches User Manual

Page 76

Advertising
background image

66

[SwitchA] traffic classifier marketing_car

[SwitchA-classifier-marketing_car] if-match qos-local-id 100

[SwitchA-classifier-marketing_car] quit

# Create behavior marketing_car, and configure traffic policing to limit the traffic rate to 204800
kbps.

[SwitchA] traffic behavior marketing_car

[SwitchA-behavior-marketing_car] car cir 204800

[SwitchA-behavior-marketing_car] quit

# In QoS policy car, associate class marketing with behavior remark_local_id to mark the
outgoing traffic of the marketing department with local QoS ID 100.

[SwitchA] qos policy car

[SwitchA-qospolicy-car] classifier marketing behavior remark_local_id

# In QoS policy car, associate class marketing_car with behavior marketing_car to limit the traffic
rate of traffic with local QoS ID 100.

[SwitchA-qospolicy-car] classifier marketing_car behavior marketing_car

[SwitchA-qospolicy-car] quit

# Apply QoS policy car to the incoming traffic of Ten-GigabitEthernet1/0/1.

[SwitchA] interface ten-gigabitethernet 1/0/1

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

Advertising