Configuring Span Sampling - Cisco Nexus 3548 Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Configuring SPAN Sampling

Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
The following example shows how to configure an IP-based SPAN filter for a local session:
switch# configure terminal
Enter configuration commands, one per line.
switch(config)# monitor session 1
switch(config-monitor)# source interface Ethernet 1/7 rx
switch(config-monitor)# filter ip 10.1.1.1 255.255.255.255 20.1.1.1 255.255.255.255
switch(config-monitor)# destination interface Ethernet 1/48
switch(config-monitor)# no shut
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
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
150
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)# filter {ip
source-ip-address source-ip-mask
destination-ip-address destination-ip-mask}
switch(config-monitor)# destination interface
ethernet slot/port
Command or Action
switch# configure terminal
switch(config)# monitor session
session-number
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.
Creates a SPAN filter.
Configures the Ethernet SPAN destination
port.
End with CNTL/Z.
End with CNTL/Z.
Purpose
Enters global configuration mode.
Enters monitor configuration mode for the
specified SPAN session.
Configuring SPAN

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Nexus 3548 and is the answer not in the manual?

Table of Contents

Save PDF