Configuring Span Sampling - Cisco Nexus 3548 series Configuration Manual

Nx-os system management, release 7.x
Hide thumbs Also See for Nexus 3548 series:
Table of Contents

Advertisement

Configuring SPAN
switch(config-monitor)#
The following example shows how to configure a VLAN-based SPAN filter for a local session:
switch# configure terminal
Enter configuration commands, one per line.
switch(config)# monitor session 3
switch(config-monitor)# source vlan 200
switch(config-monitor)# destination interface Ethernet 1/4
switch(config-monitor)# no shut
switch(config-monitor)#

Configuring SPAN Sampling

You can configure sampling for local and ERSPAN-source sessions only.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Example
The following example shows how to configure sampling on a VLAN for a local session:
switch# configure terminal
Enter configuration commands, one per line.
switch(config)# monitor session 1
switch(config-monitor)# source vlan 100
switch(config-monitor)# sampling 10
switch(config-monitor)# destination interface ethernet 1/48
switch(config-monitor)# no shut
switch(config-monitor)# show monitor session 1
session 1
---------------
type
state
Command or Action
switch# configure terminal
switch(config)# monitor session
session-number
switch(config-monitor)# source {interface
{port-channel} channel-number [rx | tx | both]
| vlan vlan-range}
switch(config-monitor)# sampling
sampling-range
switch(config-monitor)# destination interface
ethernet slot/port
: local
: up
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x

Configuring SPAN Sampling

End with CNTL/Z.
Purpose
Enters global configuration mode.
Enters monitor configuration mode for the
specified SPAN session.
Configures port channel or VLAN sources. For
VLAN sources, the monitored direction is
implicit.
Configures a range for spanning packets. If the
range is defined as n, every nth packet will be
spanned.
The sampling range is between 2 and 1023.
Configures the Ethernet SPAN destination port.
End with CNTL/Z.
143

Advertisement

Table of Contents
loading

Table of Contents