Lab 4. RSPAN ( Remote SPAN)
SW 1
SW-1(config)#do show run | i
monitor monitor session 1
source vlan 10
monitor session 1 destination interface Et0/1
SW-1(config)#no monitor session 1 source vlan 10
SW-1(config)#no monitor session 1 destination interface Et0/1
Kita tambah vlan 100
SW 1
SW-1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW-1(config)#vlan 100
SW-1(config-vlan)#name RSPAN
SW-1(config-vlan)#exit
SW-1(config)#interface e0/1
SW-1(config-if)#switchport trunk encapsulation dot1q
SW-1(config-if)#switchport mode trunk
SW-1(config-if)#exit
SW-1(config)#monitor session 1 source vlan 10
SW-1(config)#monitor session 1 destination remote vlan 100
SW 2
SW-2(config)#vlan 10
SW-2(config-vlan)#name PC
SW-2(config-vlan)#interface e0/1
SW-2(config-if)#switchport mode access
SW-2(config-if)#switchport access vlan 10
SW-2(config)#vlan 100
SW-2(config-vlan)#name RSPAN
SW-2(config-vlan)#monitor session 1 destination interface e0/1
SW-2(config)#monitor session 1 source remote vlan 100
Kita tes ping ke R1
SW 1
SW-1#ping 192.168.10.1
source vlan 10
Type escape sequence to
abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2
seconds: Packet sent with a source address of 192.168.10.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/8/12 ms
Tidak ada komentar:
Posting Komentar