sampling : 10
source intf :
rx : Eth1/3 Eth1/7
tx :
both :
source VLANs :
rx : 100
destination ports : Eth1/48
Legend: f = forwarding enabled, l = learning enabled
The following example shows how to configure sampling on an Ethernet interface for a local session:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# monitor session 3
switch(config-monitor)# source interface ethernet 1/8
switch(config-monitor)# sampling 20
switch(config-monitor)# destination interface ethernet 1/4
switch(config-monitor)# show monitor session 3
session 3
---------------
type : local
state : down (No operational src/dst)
sampling : 20
source intf :
rx : Eth1/8
tx : Eth1/8
both : Eth1/8
source VLANs :
rx : 200
destination ports : Eth1/4
Legend: f = forwarding enabled, l = learning enabled
Configuring SPAN Truncation
You can configure truncation for local and ERSPAN-source sessions only.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enters monitor configuration mode for the
specified SPAN session.
switch(config)# monitor session
session-number
Step 2
Configures port channel or VLAN sources. For
VLAN sources, the monitored direction is
implicit.
switch(config-monitor) # source {interface
{port-channel} channel-number [rx | tx | both]
| vlan vlan-range}
Step 3
Configures the MTU size for truncation. Any
SPAN packet that is larger than the configured
switch(config-monitor) # mtu size
Step 4
MTU size is truncated to the configured size
with a 4-byte offset.
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
144
Configuring SPAN
Configuring SPAN Truncation