Cisco Nexus 7000 Series Configuration Manual page 322

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring a SPAN Session
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
294
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
interface ethernet interface slot/port]
Example:
switch(config)# interface
ethernet 2/5
switch(config-if)#
switchport
Example:
switch(config-if)# switchport
switch(config-if)#
switchport mode [access | trunk |
private-vlan]
Example:
switch(config-if)# switchport
mode trunk
switch(config-if)#
switchport monitor [ingress
[learning]]
Example:
switch(config-if)# switchport
monitor
Repeat Steps 2 and 3 to configure
monitoring on additional SPAN
destinations
no monitor session session-number
Example:
switch(config)# no monitor
session 3
Purpose
Enters global configuration mode.
Enters interface configuration mode on the selected slot
and port.
Configures switchport parameters for the selected slot and
port or range of ports.
Configures switchport parameters for the selected slot and
port or range of ports.
• access
• trunk
• private-vlan
Configures the switchport interface as a SPAN destination:
• ingress—
Allows the SPAN destination port to inject packets
that disrupt a certain TCP packet stream, for
example, in networks with IDS.
• ingress learning—
Allows the SPAN destination port to inject packets,
and allows the learning of MAC addresses, for
example, the IDS MAC address.
(Optional)
Clears the configuration of the specified SPAN session.
The new session configuration is added to the existing
session configuration.
Configuring SPAN

Advertisement

Table of Contents
loading

Table of Contents