You can configure
the source channels for a SPAN session. These ports can be port channels and
VLANs. The monitored direction can be ingress, egress, or both and applies to
all physical ports in the group.
The following
example shows how to configure a port channel SPAN source:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface port-channel 1 rx
switch(config-monitor)# source interface port-channel 3 tx
switch(config-monitor)# source interface port-channel 5 both
switch(config-monitor)#
The following
example shows how to configure a VLAN SPAN source:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source vlan 1
switch(config-monitor)#