SOURCECODEBD.NET

Live Experience

10. CONFIGURE SPAN

HOW TO CONFIGURE SPAN
 
Task 1 
 
Create VLAN 10 and assign to ports fa0/1 & fa0/5 on SW1. 
Configure SW1 to redirect all traffic from VLAN 10 to port fa0/3. 
Enable R1 for debug process.
 
Switch1 
 
Vlan 10 
 
Int range fa0/1, fa0/5 
Switchport mode access 
Switchport access vlan 10 
 
Monitor session 1 source vlan 10 rx 
Monitor session 1 destination interface 
fa0/3 
 
Int fa0/3 
Switchport mode access
 
Router1 
 
Int e0/0 
Ip add 1.2.3.4 255.0.0.0 
No shutdown
 
 
Verification : 
 
R1#debug ip packet 
 
Now ping from PC1: 
 
PC 1 > Ping 255.255.255.255.
 
The output displays source ip 10.1.1.11 and destination ip as 255.255.255.255. 
The second message displays, source ip 1.2.3.4 and destination ip as 10.1.1.11. 
Thus, R1 receives packets sent from R2 even through they are not in the same VLAN. 
 
 
Task 2
 
Scenario
 
Configure dot1q encapsulation on port fa 0/9 of SW1 to become trunk. 
Configure SPAN monitoring on port fa 0/9 of SW2 and also configure dot1q 
encapsulation of port fa 0/9 of SW2.
 
Switch1 
 
Int fa0/9 
Switchport trunk encapsulation dot1q 
Switchport mode trunk 
 
Switch2 
 
Int fa0/9 
Switchport trunk encapsulation dot1q 
Switchport mode trunk 
 
Monitor session 1 source vlan1 rx 
Monitor session 1 destination interface 
fa0/9
 
Verification : 
 
SW1#show interfaces trunk
 
The output displays port fa0/9 as dot1q trunk 
 
SW2#show interfaces trunk 
 
The output doesn’t display anything as there is no trunk established on port fa0/9 of SW2. 
 
SW2#show int fa0/9
You are here: Home / Switching / HOW TO CONFIGURE SPAN