Selecting or removing monitoring source interfaces
After you configure a monitor port you can use either the global configuration level or the interface context level to select ports or static trunks as monitoring sources. You can also use either level to remove monitoring sources.
Syntax:
no interface <monitor-list> monitor
<monitor-list> |
Includes port numbers and static trunk names such as 4, 7, 5-8, trk1. |
Individual ports and static trunks can be monitored at the same time.
Elements in the monitor list can include port numbers and static trunk names at the same time.
For example, with a port such as port 5 configured as the monitoring (mirror) port, you would use either of the following commands to select these interfaces for monitoring:
Ports 6-9, and 14
Trunk 2
Selecting ports and static trunks as monitoring sources
switch(config)# int 6-9, 14 trk2, monitor
Disabling monitoring at the interface context and the global config level
switch(eth-1-3, 5)# no int 5 monitor 1 switch(eth-1-3, 5)# no monitor switch(config)# no int 5 monitor 2 switch(config)# no int 1-3, 5 monitor
1These two commands show how to disable monitoring at the interface context level for a single port or all ports in an interface context level.
2These two commands show how to disable monitoring at the global config level for a single port or a group of ports.