*****To check the port mirroring configuration, use the command listed in the following table*****
Command | Mode | Function |
Show mirror | EXEC | Shows the port mirroring configuration. |
The following example shows how to check the status of the port mirroring configuration:
Configuring port monitoring
The following example is when #1 port monitors #2 port, #3 port, and #4 port.
▶ Step 1
Connect a PC where the monitoring program is installed to #1 port of the switch.
▶ Step 2
Set #1 port as the monitor port and #2 port, #3 port, and #4 port as the mirrored port.
LST(config)# mirror monport 2/1
LST(config)# mirror source 2/2 destination 2/1 direction both
LST(config)# mirror source 2/3 destination 2/1 direction both
LST(config)# mirror source 2/4 destination 2/1 direction both
▶ Step 3
Check that the port mirroring has been configured.
LST# show mirror
Monitor port is 2/1
Mirror from 2/2 to 2/1 with direction both
Mirror from 2/3 to 2/1 with direction both
Mirror from 2/4 to 2/1 with direction both
******************End of Configuration part*******************
Be the first to comment