Chapter 43 Configuring Switched Port Analyzer

Configuring SPAN

4.source {interface interface_type slot/port} {vlan vlan_ID} {service instance id interface_type slot/port} [, - rx tx both]

5.destination {interface interface_type slot/port}

6.no shutdown

DETAILED STEPS

 

Command

Purpose

Step 1

 

 

enable

Enables privileged EXEC mode.

 

 

Enter your password if prompted.

 

Example:

 

 

Router> enable

 

Step 2

 

 

configure terminal

Enters global configuration mode.

 

Example:

 

 

Router# configure terminal

 

Step 3

 

 

monitor session {session_number} type local

Specifies the SPAN session number.

 

Example:

 

 

Router(config)# monitor session 1 type local

 

Step 4

 

 

source {interface interface_type slot/port} {vlan

Specifies the source interfaces, VLANs, or service

 

vlan_ID} {service instance id interface_type

instances, and the traffic direction to be monitored.

 

slot/port} [, - rx tx both]

 

 

Example:

 

 

Router(config-mon-local)# source interface

 

 

gigabitethernet 0/8

 

Step 5

 

 

{destination {interface interface_type slot/port}

Specifies the destination interface.

 

Example:

 

 

Router(config-mon-local)# destination interface

 

 

gigabitethernet 0/11

 

Step 6

 

 

no shutdown

Enables the SPAN session using the no shutdown

 

 

command.

 

Example:

 

 

Router(config-mon-local)# no shutdown

 

 

 

 

Removing Sources or Destination from a SPAN Session

To remove sources or destination from a SPAN session, use the following commands beginning in executive mode:

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

 

 

OL-23826-09

 

 

43-5

 

 

 

 

 

Page 869
Image 869
Cisco Systems A9014CFD manual Removing Sources or Destination from a Span Session, 43-5