Table of Contents

Cisco SPAN & RSPAN Configuration Examples



Note

Commands

Show

Operation Command
Display of monitor status Switch#show monitor session
Display of monitor status in detail Switch#show monitor session SESSION NUMBER detail
Switch#show monitor session 1 detail

Setting

Operation Command
Source port settings Switch(config)#monitor session SESSION NUMBER source interface INTERFACE OPTION
Switcht(config)# monitor session 1 source interface FastEthernet 0/10
Destination port settings Switch(config)#monitor session SESSION NUMBER destination interface INTERFACE OPTION
Switcht(config)# monitor session 1 destination interface FastEthernet 0/24
Release the monitor Switch(config)#no monitor session SESSION NUMBER
Switch(config)#no monitor session 1


Example

Local Span

Source Interface

Catalyst(config)# monitor session 1 source interface FastEthernet 0/10
Catalyst(config)# monitor session 1 destination interface FastEthernet 0/24
Catalyst(config)#monitor session 1 source interface f0/1 - 2
Catalyst(config)#monitor session 1 destination interface f0/3

Source VLAN

Catalyst(config)# monitor session 1 source vlan 10
Catalyst(config)# monitor session 1 destination interface FastEthernet 0/24

Source rx only

RX:Receiver, TX:Transmitter (X is abbr.)

Catalyst(config)#monitor session 1 source interface f0/1 rx
Catalyst(config)#monitor session 1 destination interface f0/2

Remote SPAN

SW1(config)# vlan 999
SW1(config-vlan)# remote-span

SW1(config)# monitor session 1 source interface FastEthernet 0/10
SW1(config)# monitor session 1 destination remote vlan 999
SW2(config)# vlan 999
SW2(config-vlan)# remote-span

SW2(config)# monitor session 1 source remote vlan 999
SW2(config)# monitor session 1 destination interface FastEthernet 0/24