Port mirror configuration


Use the port mirror configuration to reflect Sun Secure Application Switch network traffic from a network source port to an observation port connected to network analyzer equipment. On the observation port, you can selectively monitor inbound traffic, outbound traffic, or bidirectional traffic without physically interfering with the actual network traffic data stream.

The system supports one mirror port per network processor (NP), where the NP controls a certain number of system ports.

On the model N1216

On the model N1400

On the model N2040

On the model N2120

Access mode

exec

Syntax

show port mirror

Output Description

Heading Description Filter
Source Port The name of the Ethernet source port from which data is reflected to the observer port. Interface names are entered in the format eth.slot.portNumber. ifName IfName
Observer Port The name of the Ethernet observer port that is mirroring traffic from an Ethernet source port. This is the port where you are observing network traffic on an active Sun Secure Application Switch port. Interface names are entered in the format eth.slot.portNumber. observerPort IfName
State The port mirror administrative mode.

Valid values: enabled, disabled
adminState enumeration
Oper Status The operational status of the port mirror.

Valid values:
  • down : The status is down.
  • up : The status is up.
operStatus enumeration
Direction The direction of traffic that is mirrored to the observer port.

Valid values:
  • in : Inbound traffic direction.
  • out : Outbound traffic direction.
  • both : Traffic in both directions.
portMirrorDir enumeration

Related actions

You can do the following