cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Cloud



Etc


Reference














.

hardware:cisco:span.html



Cisco SPAN & RSPAN Configuration Examples

Note

  • SPAN & RSPAN (Switched Port Analyzer)
  • You must be a destination port to SPAN port only.
  • You may not be allocated an IP address to the network analyzer.

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




hardware/cisco/span.html.txt ยท Last modified: 2019/06/08 by admin

Page Tools