CIsco | SPAN Switch Analyzer Part-1
1. SPAN
R1
interface Ethernet0/0
ip address 192.168.10.1 255.255.255.0
no shut
SW1
interface Ethernet0/0
switchport access vlan 10
no shut
exit
!
interface Vlan10
ip address 192.168.10.2 255.255.255.0
exit
!
monitor session 1 source vlan 10
monitor session 1 destination interface Et0/1
!
PASTIKAN SUDAH BSA PING DARI SWITCH KE ROUTER(ini yg penting)nspy dicapture trafik )
ping 192.168.10.1 source vlan 10
SW1#sh monitor session 1
SW1#sh run | inc monitor
LALU, Klik Kanan Switch nya,
Hasil Capture Wireshak
=============================================================
2. RSPAN
==== Config SW1=====
interface Ethernet0/1
switchport mode access
switchport access vlan 10
no shut
exit
!
interface Vlan10
no shut
ip address 172.16.10.253 255.255.255.0
exit
!
vlan 100
remote-span
exit
!
interface Ethernet0/0
no shut
switch trunk encap dot1q
switch mode trunk
exit
!
monitor session 1 destination remote vlan 100
monitor session 1 source remote vlan 10
!
==== Config SW2=====
vlan 10
name PC
exit
!
int e0/2
no shut
switch mode access
desc LINK-to-PC
sw acc vlan 10
exit
!
int e0/3
no shut
switch mode access
desc LINK-TO-SPAN
sw acc vlan 10
exit
!
int e0/0
no shut
desc LINK-SW1
switch trunk encap dot1q
switch mode trunk
exit
!
vlan 100
name remote-span
exit
!
monitor session 1 source remote vlan 100
monitor session 1 destination interface e0/3
!
======VERIFIKASI =====
SW-1
ping 172.16.10.254 source vlan 10
PC
ping 172.16.10.253
ping 172.16.10.254
dan jalankan WIRESHAK di PC-XP
SW2
show monitor session 1
interface Ethernet0/1
switchport mode access
switchport access vlan 10
no shut
exit
!
interface Vlan10
no shut
ip address 172.16.10.253 255.255.255.0
exit
!
vlan 100
remote-span
exit
!
interface Ethernet0/0
no shut
switch trunk encap dot1q
switch mode trunk
exit
!
monitor session 1 destination remote vlan 100
monitor session 1 source remote vlan 10
!
==== Config SW2=====
vlan 10
name PC
exit
!
int e0/2
no shut
switch mode access
desc LINK-to-PC
sw acc vlan 10
exit
!
int e0/3
no shut
switch mode access
desc LINK-TO-SPAN
sw acc vlan 10
exit
!
int e0/0
no shut
desc LINK-SW1
switch trunk encap dot1q
switch mode trunk
exit
!
vlan 100
name remote-span
exit
!
monitor session 1 source remote vlan 100
monitor session 1 destination interface e0/3
!
======VERIFIKASI =====
SW-1
ping 172.16.10.254 source vlan 10
PC
ping 172.16.10.253
ping 172.16.10.254
dan jalankan WIRESHAK di PC-XP
SW2
show monitor session 1
Posting Komentar untuk "CIsco | SPAN Switch Analyzer Part-1"