1112
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter M Commands
monitor session
Examples
This example shows how to create a SPAN session:
switch#
configure terminal
switch(config)#
monitor session 2
switch(config)#
This example shows how to enter the monitor configuration mode for configuring SPAN session number
9 for analyzing traffic between ports:
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
This example shows how to configure any SPAN destination interfaces as Layer 2 SPAN monitor ports
before activating the SPAN session:
switch(config)#
interface ethernet 1/2
switch(config-if)#
switchport
switch(config-if)#
switchport monitor
switch(config-if)#
no shutdown
This example shows how to configure a typical SPAN destination trunk interface:
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
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
description (SPAN,
ERSPAN)
Adds a description to identify the SPAN session.
destination (ERSPAN)
Configures the destination IP port for an ERSPAN packet.
erspan-id (ERSPAN)
Sets the flow ID for an ERSPAN session.
ip dscp (ERSPAN)
Sets the DSCP value for an ERSPAN packet.
ip prec (ERSPAN)
Sets the IP precedence value for an ERSPAN packet.
ip ttl (ERSPAN)
Sets the time-to-live (TTL) value for an ERSPAN packet.
mtu (ERSPAN)
Sets the maximum transmission value (MTU) for ERSPAN packets.
show monitor session
Displays SPAN session configuration information.
source (SPAN,
ERSPAN)
Adds a SPAN source port.
Содержание Nexus 5500 Series
Страница 4: ...4 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 6: ...18 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 36: ...130 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands connect ...
Страница 50: ...144 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter D Commands dvs name ...
Страница 124: ...1118 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr type ...
Страница 126: ...1120 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr vlan ...
Страница 131: ...1125 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 132: ...1126 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 158: ...1152 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter R Commands revision ...
Страница 438: ...1432 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter U Commands udld Ethernet ...