Configures packet mirroring by specifying the egress port for the monitored traffic.
Config mode
The name identifier must be a valid interface for the platform.
The name must be in slot/port format.
If the same command is executed more than once, the second and subsequent executions are ignored and no error is reported.
The following examples show how to configure description for an interface.
device# configure terminal device(config)#The following examples show error messages.
Mirror destination interface is already set:
Error: mirror interface is already configured
Invalid interface name:
device# configure terminal device(config)#mirror mirr1 device(config-mirror)# set interface ethernet 0/0 Error: Interface does not exist device(config-mirror)# set interface ethernet 10/4 Error: Interface does not exist