GarrettCom MNS-6K Switch User Manual


 
MAGNUM 6K SWITCHES, MNS-6K USER GUIDE
The set of commands show how port 11 is mirrored on port 13. Any traffic on port 11 is
also sent on port 13.
Magnum6K25# show port-mirror
Sniffer Port : 0
Monitor Port : 0
Mirroring State : disabled
Magnum6K25# port-mirror
Magnum6K25(port-mirror)## setport monitor=11 sniffer=13
Port 11 set as Monitor Port
Port 13 set as Sniffer Port
Magnum6K25(port-mirror)## prtmr enable
Port Mirroring Enabled
Magnum6K25(port-mirror)## exit
Magnum6K25# show port-mirror
Sniffer Port : 13
Monitor Port : 11
Mirroring State : enabled
Magnum6K25#
FIGURE 63Enabling port mirroring
Once port monitoring is completed, for security reasons, GarrettCom strongly
recommends that the port mirroring be disabled using the “prtmr diable” command.
1) Only one port can be set to port mirror at a time
2) Both the ports (monitored port and sniffer port) have to belong to
the same VLAN
3) The mirrored port shows both incoming as well as outgoing traffic
4) When port mirror is active, to change mirrored port, first disable
port mirror and then assign the new port as described above
Port setup
Each port on the GarrettCom Magnum 6K family of switches can be setup specific port
characteristics. The command for setting the port characteristics are:
Syntax device – enter the device configuration mode
Syntax
setport port=<port#|list|range> [name=<name>] [speed=<10|100>]
[duplex=<half|full>] [auto=<enable|disable>] [flow=<enable|disable>]
[bp=<enable|disable>] [status=<enable|disable>]
where
device – sets up the Magnum 6K switch in the device configuration mode
name – assigns a specific name to the port. This name is a designated name for the port
and can be a server name, user name or any other name
94