Port Mirroring Using The Command Line Interface; Commands - GE Multilink ML3000 Instruction Manual

Ethernet communications switch
Table of Contents

Advertisement

PORT MIRRORING & SETUP
9.2.1

Commands

9–2
9.2

Port Mirroring using the Command Line Interface

Monitoring a specific port can be done by port mirroring. Mirroring traffic from one port to
another port allows analysis of the traffic on that port.
The
show port-mirror
show port-mirror
The
command enters the port mirror configuration mode.
port-mirror
port-mirror
The
command configures a port mirror.
setport monitor
setport monitor=<monitor port number> sniffer=<sniffer port number>
The
command enables and disables port mirroring.
prtmr
prtmr <enable|disable>
The sequence below illustrates how port 11 is mirrored on port 13. Any traffic on port 11 is
also sent on port 13.
ML3000#
show port-mirror
Sniffer Port: 0
Monitor Port: 0
Mirroring State: disabled
ML3000#
port-mirror
ML3000(port-mirror)##
Port 11 set as Monitor Port
Port 13 set as Sniffer Port
ML3000(port-mirror)##
Port Mirroring Enabled
ML3000(port-mirror)##
ML3000#
show port-mirror
Sniffer Port: 13
Monitor Port: 11
Mirroring State: enabled
ML3000#
Once port monitoring is completed, GE strongly recommends that the port mirroring be
disabled using the
prtmr disable
1.
Only one port can be set to port mirror at a time.
2.
Both the ports (monitored port and mirrored port) have to belong to the same
VLAN
3.
The mirrored port shows bout incoming as well as outgoing traffic
MULTILINK ML3000 ETHERNET COMMUNICATIONS SWITCH – INSTRUCTION MANUAL
CHAPTER 9: PORT MIRRORING & SETUP
command displays the status of port mirroring:
setport monitor=11 sniffer=13
prtmr enable
exit
command for security reasons.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents