VLAN
&
VLAN Trunking Protocol
(VTP)
on
2950 Switch
Objective
Understanding the VLAN operation in switched environment.The major concerns are,
- To make Vlan’s on 2950 switches & Vlan membership assignments to the ports.
- VLAN Trunking Protocol (VTP).
i. VLAN
Diagram
Procedure
- Connecting PC with 2950 switches and verified by Commands.
- Display the results that all ports are the members of the native VLAN.
- Create a VLAN # 2 on 2950 Switch.
- Assign a VLAN Member-ship for a Port on 2950 Switch.
- Verification of VLAN # 2.
Configuration
Step 1(A): Connecting PC with 2950 switch and verified by the Interface
Command.
2950-SWA#sh interfaces fastEthernet 0/1
FastEthernet0/1 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 000b.5f03.f9c1 (bia 000b.5f03.f9c1)
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s
input flow-control is off, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
<Output Omitted>
Step 1(B): Connecting PC with 2950 switch and verified by the MAC Address
Table Command.
2950-SWA#show mac address-table dynamic
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
----- ------------------- -------------- -----
1 0001.0262.fcc4 DYNAMIC Fa0/1
Total Mac Addresses for this criterion: 1
Step 2: Display the results that all ports are the members of the native VLAN.
2950-SWA#show vlan
OR
2950-SWA#show vlan id 1
VLAN Name Status Ports
-------- -------------------------- --------- ---------------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/2
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
-------- ------ --------- ------ ------- -------- ----------- ---- ------------ -------- ------
1 enet 100001 1500 - - - - - 0 0
<Output Omitted>
Step 3(A): Create a VLAN # 2 on 2950 Switch by VLAN Database command.
2950-SWA#vlan database
2950-SWA(vlan)#vlan 2 name cttc
VLAN 2 added:
Name: cttc
2950-SWA(vlan)#exit
APPLY completed.
Exiting....
Step 3(B): Create a VLAN # 2 on 2950 Switch by VLAN command.
2950-SWA(config)#vlan 2
2950-SWA(config-vlan)#name cttc
Step 4: Assign a VLAN Member-ship for a Fast Ethernet Port 0/1 on 2950 Switch.
2950-SWA(config)#interface fastEthernet 0/1
2950-SWA(config-if)#switchport mode access
2950-SWA(config-if)#switchport access vlan 2
Step 5: Verification of VLAN # 2.
2950-SWA#show vlan
OR
2950-SWA#sh vlan id 2
VLAN Name Status Ports
-------- -------------------------------- --------- -------------------------------
2 cttc active Fa 0/1
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
-------- ------ --------- ------ ------- -------- ----------- ---- ------------ -------- ------
2 enet 100002 1500 - - - - - 0 0
<Output Omitted>
No comments:
Post a Comment