To do...
policy
To a VLAN
Globally
If a mirror-to behavior is to be applied to the outbound direction, do not configure any other action in the
behavior.
Displaying and Maintaining Traffic Mirroring
To do...
Display traffic behavior
configuration information
Display QoS policy
configuration information
Traffic Mirroring Configuration Examples
Example for Mirroring Traffic to an Interface
Network requirements
On the network as shown in
connected to GigabitEthernet1/0/1 of the switch; a data monitoring device is connected to
GigabitEthernet1/0/2 of the switch.
Monitor and analyze packets sent by Host A on the data monitoring device.
Figure 10-1 Network diagram for configuring traffic mirroring to a port
Configuration Procedure
Configure Switch:
# Enter system view.
Use the command...
Applying the QoS policy to a VLAN
Applying the QoS policy globally
Use the command...
display traffic behavior
user-defined
[ behavior-name ]
display qos policy
user-defined [ policy-name
[ classifier tcl-name ] ]
Figure
10-1, Host A (with the IP address 192.168.0.1) and Host B are
10-3
Remarks
—
—
Remarks
Available in any view
Available in any view