beautypg.com

Creating an rspan destination session – IBM 12.1(22)EA6 User Manual

Page 347

background image

18-15

Cisco Systems Intelligent Gigabit Ethernet Switch Modules for the IBM BladeCenter, Software Configuration Guide

24R9746

Chapter 18 Configuring SPAN and RSPAN

Configuring RSPAN

This example shows how to clear any existing RSPAN configuration for session 1, configure RSPAN
session 1 to monitor multiple source interfaces, and configure the destination RSPAN VLAN and the
reflector-port.

Switch(config)# no monitor session 1

Switch(config)# monitor session 1 source interface gigabitethernet0/17 tx

Switch(config)# monitor session 1 source interface gigabitethernet0/18 rx

Switch(config)# monitor session 1 source interface gigabitethernet0/19 rx

Switch(config)# monitor session 1 source interface port-channel 102 rx

Switch(config)# monitor session 1 destination remote vlan 901 reflector-port

gigabitethernet0/14

Switch(config)# end

Creating an RSPAN Destination Session

Beginning in privileged EXEC mode, follow these steps to create an RSPAN destination session and to
specify the source RSPAN VLAN and the destination port:

This example shows how to configure VLAN 901 as the source remote VLAN and port 17 as the
destination interface:

Switch(config)# monitor session 1 source remote vlan 901

Switch(config)# monitor session 1 destination interface gigabitethernet0/17

Switch(config)# end

Command

Purpose

Step 1

configure terminal

Enter global configuration mode.

Step 2

monitor session session_number source
remote vlan vlan-id

Specify the RSPAN session and the source RSPAN VLAN.

For session_number, specify the session number identified with this
RSPAN session.

For vlan-id, specify the source RSPAN VLAN to monitor.

Step 3

monitor session session_number
destination interface interface-id
[encapsulation {dot1q}]

Specify the RSPAN session and the destination interface.

For session_number, specify.

For interface-id, specify the destination interface.

(Optional) Specify the encapsulation header for outgoing packets. If
not specified, packets are sent in native form.

dot1q—Use IEEE 802.1Q encapsulation.

Step 4

end

Return to privileged EXEC mode.

Step 5

show monitor [session session_number]

Verify your entries.

Step 6

copy running-config startup-config

(Optional) Save your entries in the configuration file.