Displaying And Maintaining Traffic Mirroring; Traffic Mirroring Configuration Examples; Example For Mirroring Traffic To An Interface - H3C S5120-EI Series Operation Manual

Ethernet switches
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

For details about the qos vlan-policy command, see QoS Commands in the QoS Volume.
Apply a QoS policy globally
You can apply a QoS policy globally to the inbound direction of all ports.
Follow these steps to apply a QoS policy globally:
To do...
Enter system view
Apply a QoS policy globally
For details about the qos apply policy command, see QoS Commands in the QoS Volume.

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.
Use the command...
system-view
qos apply policy policy-name
global inbound
Use the command...
display traffic behavior
user-defined
[ behavior-name ]
display qos policy
user-defined [ policy-name
[ classifier tcl-name ] ]
Figure
2-1, Host A (with the IP address 192.168.0.1) and Host B are
2-4
Remarks
Required
Remarks
Available in any view
Available in any view

Advertisement

Table of Contents
loading

Table of Contents