Lab 3. SPAN (Switch Port Analyzer)
R1
R1(config)#interface FastEthernet0/0
R1(config)#ip address 192.168.10.1 255.255.255.0
R1(config)#exit
SW 1
SW1(vlan)#vlan 10
VLAN 10 modified:
SW1(vlan)#vlan 10 name SPAN
VLAN 10 modified:
Name: SPAN
SW1(vlan)#exit
SW1(config)#int f1/0
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 10
SW1(config-if)#exit
SW1(config)#int vlan 10
SW1(config-if)#no shutdown
SW1(config-if)#ip add 192.168.10.2 255.255.255.0
SW1(config-if)#exit
SW1(config)# #monitor session 1 source vlan 10
SW1(config)# monitor session 1 destination interface e0/1
SW 1
SW(config)#do show monitor session 1
Session 1
---------
Type : Local Session
Source VLANs :
Both : 10
Destination Ports : Et0/1
Encapsulation : Native
SW 1
SW#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 = 1/3/5 ms
Tidak ada komentar:
Posting Komentar