H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 456

Advertising
background image

49-3

[Sysname] traffic behavior 1

[Sysname-behavior-1] mirror-to interface GigabitEthernet 0/0/2

[Sysname-behavior-1] quit

# Configure a QoS policy and associate traffic behavior 1 with classification rule 1.

[Sysname] qos policy 1

[Sysname-policy-1] classifier 1 behavior 1

[Sysname-policy-1] quit

# Apply the policy in the inbound direction of GigabitEthernet 0/0/1.

[Sysname] interface GigabitEthernet 0/0/1

[Sysname-GigabitEthernet0/0/1] qos apply policy 1 inbound

After the configurations, you can monitor all packets sent from Host A on the data monitoring device.

Advertising