beautypg.com

Port setup, Igure, 63 – enabling port mirroring – GarrettCom Magnum MNS-6K User Manual

Page 95

background image

M A G N U M 6 K S W I T C H E S , M N S - 6 K U S E R G U I D E

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#

F

IGURE

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= [name=] [speed=<10|100>]

[duplex=] [auto=] [flow=]
[bp=] [status=]

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