Configuring the monitor port

Syntax:


no mirror-port [< port-num >]

This command assigns or removes a monitoring port, and must be executed from the global configuration level. Removing the monitor port disables port monitoring and resets the monitoring parameters to their factory-default settings.

For example, to assign port 6 as the monitoring port:

switch(config)# mirror-port 6

To turn off monitoring:

switch(config)# no mirror-port