EasyManua.ls Logo

Cisco Nexus 3548 series - Configuring SPAN Sampling

Cisco Nexus 3548 series
230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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. End with CNTL/Z.
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
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 a range for spanning packets. If the
range is defined as n, every nth packet will be
spanned.
switch(config-monitor)# sampling
sampling-range
Step 4
The sampling range is between 2 and 1023.
Configures the Ethernet SPAN destination port.switch(config-monitor)# destination interface
ethernet slot/port
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. End with CNTL/Z.
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 : local
state : up
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
143
Configuring SPAN
Configuring SPAN Sampling

Table of Contents

Related product manuals