Cisco Nexus 3548 Command Reference Manual page 98

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

Advertisement

monitor session
switch# configure terminal
switch(config)# monitor session 9 type local
switch(config-monitor)# description A Local SPAN session
switch(config-monitor)# source interface ethernet 1/1
switch(config-monitor)# destination interface ethernet 1/2
switch(config-monitor)# no shutdown
switch(config-monitor)#
This example shows how to configure any SPAN destination interfaces as Layer 2 SPAN monitor ports
before activating the SPAN session:
switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# switchport
switch(config-if)# switchport monitor
switch(config-if)# no shutdown
switch(config-if)#
This example shows how to configure a typical SPAN destination trunk interface:
switch# configure terminal
switch(config)# interface Ethernet1/2
switch(config-if)# switchport
switch(config-if)# switchport mode trunk
switch(config-if)# switchport monitor
switch(config-if)# switchport trunk allowed vlan 10-12
switch(config-if)# no shutdown
switch(config-if)#
This example shows how to create an ERSPAN session:
switch# configure terminal
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)#
Related Commands
Command
description (SPAN,
ERSPAN)
destination (ERSPAN) Configures the destination IP port for an ERSPAN packet.
ip dscp (ERSPAN)
ip ttl (ERSPAN)
mtu (ERSPAN)
show monitor session
source (SPAN,
ERSPAN)
Cisco Nexus 3548 Switch NX-OS System Management Command Reference
88
Description
Adds a description to identify the SPAN session.
Sets the DSCP value for an ERSPAN packet.
Sets the time-to-live (TTL) value for an ERSPAN packet.
Sets the maximum transmission value (MTU) for ERSPAN packets.
Displays SPAN session configuration information.
Adds a SPAN source port.
System Management Commands
OL-27851-02

Advertisement

Table of Contents
loading

Table of Contents