mirror-port

Configures port mirroring on individual ports.
Syntax
mirror-port ethernet stackid/slot/port [ input | output ]
no mirror-port ethernet stackid/slot/port [ input | output ]
Command Default

Ports are not mirrored.

Parameters
ethernet stackid/slot/port
Specifies the Ethernet port to which mirrored traffic is copied.
input
Copies the ingress traffic.
output
Copies the egress traffic.
Modes

Global configuration mode

Usage Guidelines

Use this command to configure ports to which the monitored traffic is copied. If you do not specify the traffic type, both types of traffic apply. The input and output mirroring ports can be on different ports.

All FastIron devices can have one mirroring port that monitors multiple ports, but cannot have multiple mirror ports for one monitored port. If the mirror port and the monitored ports are on different stack units, only one active mirror port is allowed for the entire traditional stack. If the mirror port and the monitored ports are on the same port region, multiple active mirror ports are allowed for the entire traditional stack. Devices in a traditional stack support 24 ports per port region.

Note: Port-based mirroring and VLAN-based mirroring cannot be enabled on a port at the same time.

The no form of the command removes the mirrored ports.

Examples

The following example shows the port mirroring configuration.

device(config)# mirror-port ethernet 1/2/4