S5700 Switch Configuration Port mirroring
<quidway>system-view//Enter system view
Enter system view, return user view with Ctrl + Z.
[Quidway]
[Quidway]observe-port 1 interface gigabitethernet 0/0/1//observe: Observe that the listener is named 1 with the 1 port of the switch full meaning: The 1 port of the switch as the listening port, and named 1
[Quidway]interface gigabitethernet 0/0/11//Enter 11 port view
[Quidway-gigabitethernet0/0/11]port-mirroring to Observe-port 1 both port mirrored to listening port 1
[Quidway-gigabitethernet0/0/11]quit//exit
[Quidway]interface gigabitethernet 0/0/12
[Quidway-gigabitethernet0/0/12]port-mirroring to Observe-port 1 both port mirrored to listening port 1
[Quidway-gigabitethernet0/0/12]display th//display configuration
#
Interface GIGABITETHERNET0/0/12
Port-mirroring to Observe-port 1 inbound
Port-mirroring to Observe-port 1 outbound
#
Return
[Quidway-gigabitethernet0/0/12]quit
[Quidway]q
<quidway>save//Save Configuration
The current configuration is written to the device.
Is sure to continue? [Y/n]y
Now saving the current configuration to the slot 0.
OCT 1 00:20:14+08:00 quidway%%01cfm/4/save (l) [26]:the user chose Y when deciding whether to SAVE the configuration to the device.
Save the configuration successfully.
<quidway>display current-configuration//Display configuration file
#
Observe-port 1 Interface GIGABITETHERNET0/0/1//The listening port is named 1 is the switch port is 1
#
#
Interface GIGABITETHERNET0/0/11//input and output are to be copied to the listening port 1
Port-mirroring to Observe-port 1 inbound
Port-mirroring to Observe-port 1 outbound
#
Interface GIGABITETHERNET0/0/12//input and output are to be copied to the listening port 1
Port-mirroring to Observe-port 1 inbound
Port-mirroring to Observe-port 1 outbound
#
S5700 Switch Configuration Port mirroring