Accton Technology ES4626 Switch User Manual


 
113
3.2.3.3 Port Mirroring Configuration
3.2.3.3.1 port monitor
Command: port monitor <interface-list> [rx| tx| both]
no port monitor <interface-list>
Parameter: <interface-list> is the list of the monitored source interfaces; rx is the
inbound traffic of the monitored source interface; tx is the outbound traffic of the monitored
source interface; both is the inbound and outbound traffic of the monitored source
interface.
Command mode: Interface Mode
Default: There is no monitored interface by default. After this function is enabled, the
inbound and outbound traffic on the source interface is monitored by default.
Usage Guide: The source interface and the destination interface must have the same
speed; otherwise some packets will be lost. Multiple source interfaces can be monitored
on a single destination interface.
Example: On the interface 1/11, monitor the inbound and outbound traffic of the source
interface 1/6.
Switch(config)#interface Ethernet 1/11
Switch(Config-Ethernet1/11)#port monitor Ethernet 1/6 both
3.2.3.4 Port Mirroring Examples
See “Port Configuration Examples”.
3.2.3.5 Device Mirroring Troubleshooting Help
3.2.3.5.1 Monitor and Debug Commands
3.2.3.5.1.1 show port monitor
Command: show port monitor [interface <interface-list>]
Function: Display information about mirror source/destination ports.
Parameter: <interface-list>is the mirror source port(s)
Command mode: Admin Mode
Usage Guide: This command displays the mirror source port(s) and destination port
currently configured.
Example: