Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Both physical ports and port channels are valid as source interfaces of monitor sessions.For a monitor session,
multiple source interfaces can be specified, but only one destination interface can be specified. If the direction
is not specified, both TX (transmitted)
and RX (received) traffic are monitored.
Example
This example shows how to create a port monitor session with the session number 1. It assigns a physical port
ethernet 1/0/1 as the destination port and three physical ports (ethernet 1/0/2 to ethernet1/0/4) as monitor
source ports.
Switch# configure terminal
Switch(config)# monitor session 1 destination interface Ethernet 1/0/1
Switch(config)# monitor session 1 source interface Ethernet 1/0/2-4