SPAN

Switched Port Analyser (SPAN) ou Port monitoring

SPAN permet d’effectuer la copie d’un port ou d’un vlan de façon transparente afin d’analyser de trafic

Configuration

SW1#conf t
SW1(config)#monitor session 1 source interface fa0/1 both
SW1(config)#monitor session 1 destination interface fa0/10

 

RSPAN permet de rediriger la copie vers un autre switch

SW1#conf t
SW1(config)#vlan 99
SW1(config-vlan)#remote-span
SW1(config-vlan)#exit
SW1(config)#monitor session 2 source interface fastEthernet 0/2
SW1(config)#monitor session 2 destination remote vlan 99 reflector-port fa0/1

SW2(config)#monitor session 1 source remote vlan 99
SW2(config)#monitor session 1 destination interface fastEthernet 0/10

Vérifications

SW1#show monitor
Session 1
---------
Type                   : Local Session
Source Ports           :
    Both               : Fa0/1
Destination Ports      : Fa0/10
    Encapsulation      : Native
          Ingress      : Disabled

Session 2
---------
Type                   : Remote Source Session
Source Ports           :
    Both               : Fa0/2
Reflector Port         : Fa0/11
Dest RSPAN VLAN        : 99
This entry was posted in L2 Bridging & Switching. Bookmark the permalink.

Comments are closed.