7-2
Mirroring Traffic to an Interface
Follow these steps to mirror traffic to an interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter traffic behavior view
traffic behavior
behavior-name
—
Specify the destination
interface for traffic mirroring
mirror-to interface
interface-type interface-number
Required
Mirroring Traffic to the CPU
Follow these steps to mirror traffic to the CPU:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter traffic behavior view
traffic behavior
behavior-name
—
Mirror traffic to the CPU
mirror-to cpu
Required
Displaying and Maintaining Traffic Mirroring
To do
…
Use the command
…
Remarks
Display traffic behavior
configuration information
display traffic behavior
user-defined
[
behavior-name
]
Available in any view
Display QoS policy
configuration information
display qos policy
user-defined
[
policy-name
[
classifier
tcl-name
]
]
Available in any view
Traffic Mirroring Configuration Examples
Example for Mirroring Traffic to an Interface
Network requirements
The user's network is as described below:
z
Host A (with the IP address 192.168.0.1) and Host B are connected to GigabitEthernet1/0/1 of the
switch.
z
The data monitoring device is connected to GigabitEthernet1/0/2 of the switch.
It is required to monitor and analyze packets sent by Host A on the data monitoring device.
Содержание S5810 Series
Страница 307: ...ii Configured Multicast Group Policy Fails to Take Effect 1 32...
Страница 648: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...
Страница 812: ...1 7 Role Slave Sysname stack_3 DeviceD Device type S5810 50S MAC address 000f e200 1003...