Configuring Source Ports - Cisco Nexus 3548 series Configuration Manual

Nx-os system management, release 7.x
Hide thumbs Also See for Nexus 3548 series:
Table of Contents

Advertisement

Configuring SPAN
Example
The following example shows how to configure an Ethernet SPAN destination port (HIF):
switch# configure terminal
switch(config)# interface ethernet100/1/24
switch(config-if)# switchport monitor
switch(config-if)# exit
switch(config)# monitor session 1
switch(config-monitor)# destination interface ethernet100/1/24
switch(config-monitor)#
The following example shows how to configure a virtual ethernet (VETH) SPAN destination port:
switch# configure terminal
switch(config)# interface vethernet10
switch(config-if)# switchport monitor
switch(config-if)# exit
switch(config)# monitor session 2
switch(config-monitor)# destination interface vethernet10
switch(config-monitor)#

Configuring Source Ports

Source ports can only be Ethernet ports.
Procedure
Step 1
Step 2
Step 3
Command or Action
Command or Action
switch# configure terminal
switch(config) # monitor session
session-number
switch(config-monitor) # source interface type
slot/port [rx | tx | both]
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x

Configuring Source Ports

Purpose
To enable the virtual ethernet port
Note
as destination interface in the
monitor configuration, you can use
the destination interface vethernet
slot/port command.
Purpose
Enters global configuration mode.
Enters monitor configuration mode for the
specified monitoring session.
Adds an Ethernet SPAN source port and
specifies the traffic direction in which to
duplicate packets. You can enter a range of
Ethernet, Fibre Channel, or virtual Fibre
Channel ports. You can specify the traffic
direction to duplicate as ingress (Rx), egress
(Tx), or both. By default, the direction is both.
139

Advertisement

Table of Contents
loading

Table of Contents