Sunfire B1600 Switch User Manual


 
4-164 Sun Fire B1600 Blade System Chassis Switch Administration Guide June 2003
4.3.16 Mirror Port Commands
This section describes how to mirror traffic from a source port to a target port.
4.3.16.1 port monitor
Use this command to configure a mirror session. Use the no form to clear a mirror
session.
It is only possible to monitor one port on the switch at a time.
Note The integrated switches on the Sun Fire B1600 blade system chassis are each
composed of two switch chips linked together. It is only possible to mirror the traffic
on one port by using another port that is on the same switch chip. The ports NETP0,
NETP1, NETP4, NETP5, and SNP8 through SNP15 are on one switch chip. The ports
NETP2, NETP3, NETP6, NETP7, and SNP0 through SNP7 are on the other. (If you
look at the rear panel of the SSC, all the ports on the right are on one chip, and all
the ports on the left are on the other.)
Syntax
port monitor interface [rx | tx | both]
no port monitor interface
interface ethernet port-name
port-name down link: SNP0-15; up link: NETP0-7; mgt: NETMGT
rx Mirror received packets.
tx Mirror transmitted packets.
both Mirror both received and transmitted packets.
Default Setting
No mirror session is defined. When enabled, the default mirroring is for both
received and transmitted packets.
TABLE 4-23 Mirror Port Commands
Command Function Mode Page
port monitor Configures a mirror session IC 4-164
show port monitor Shows the configuration for a mirror port PE 4-165