Configuring Source Ports
Procedure
Step 1
Step 2
Step 3
Step 4
This example shows how to limit the bandwidth on Ethernet interface 1/2 to 1 Gbps:
switch(config)# interface ethernet 1/2
switch(config-if)# switchport monitor rate-limit 1G
switch(config-if)#
Configuring Source Ports
Procedure
Step 1
Step 2
Step 3
The following example shows how to configure an Ethernet SPAN source port:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface ethernet 1/16
switch(config-monitor)#
The following example shows how to configure a virtual Fibre Channel SPAN source port:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface vfc 129
switch(config-monitor)#
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
184
Command or Action
switch# configure terminal
switch(config)# interface ethernet
slot/port
switch(config-if)# switchport monitor
rate-limit 1G
switch(config-if)# exit
Command or Action
switch# configure terminal
switch(config) # monitor session
session-number
switch(config-monitor) # source
interface type slot/port [rx | tx |
both]
Purpose
Enters global configuration mode.
Enters interface configuration mode for the
specified Ethernet interface selected by the slot
and port values.
Specifies that the rate limit is 1 Gbps.
Reverts to global configuration mode.
Purpose
Enters global configuration mode.
Enters monitor configuration mode for the specified
monitoring session.
Adds an Ethernet SPAN source port and specifies the traffic
direction in which to duplicate packets. You can enter a
range of Ethernet, Fibre Channel, or virtual Fibre Channel
ports. You can specify the traffic direction to duplicate as
ingress (Rx), egress (Tx), or both. By default, the direction
is both.
Configuring SPAN
OL-31641-01