S Commands
source
400
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
source
To configure sources and the traffic direction in which to copy packets, use the source command. To
remove sources, use the no form of this command.
source {interface interface_range | vlan vlan_range} [src_dir]
no source {interface interface_range | vlan vlan_range} [src_dir]
Syntax Description
Defaults None
Command Modes Config-tx-only-monitor configuration (config- monitor)
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines You can configure one or more sources, as either a series of comma-separated entries, or a range of
numbers. You can specify up to 128 interfaces.
The traffic direction to copy as ingress (tx), egress (tx), or both. By default, the direction is both.
This command does not require a license.
Examples This example shows how to configure sources and the traffic direction in which to copy packets:
switch(config)# monitor session 1
switch(config-monitor)# source vlan 3, 6-10 tx
switch(config-monitor)#
This example shows how to remove a source configuration:
switch(config-monitor)# no source vlan 3, 6-10 tx
switch(config-monitor)#
interface
interface_range
Specifies interfaces. The range is from 1 to 128.
vlan
vlan_range
Specifies the VLAN type. The VLAN range is from 1 to 3967 and 4048 to 4093.
src_dir (Optional) Source direction. The traffic direction to copy as ingress (tx), egress (tx),
or both. By default, the direction is both.
Release Modification
4.0(1) This command was introduced.