Today I started on my switching lab. The lab was written for two 2950 switches, however I have a 2971XL switch with an IOS that is a little older than on the lab. I was able to do just about everything in the lab, however some changes were needed in the commands to get things to work correctly. I actually liked it this way as I had to work harder at making it happen and seeing how it all came together. I’ll more than likely get a 2950 switch pair as well so I can try it out on those as well.
The first issue I ran into was after setting up VTP. I joined both switches to the vtp domain CCNA and gave them the password CISCO, set both to pruning. I change switch 2 to client mode and left switch 1 on server mode. I then setup vlan 23, which had to be done differently on my switch. The lab calls for doing it in conf t. Instead I had to go into vlan database and set up my vlans there. After creating my vlan 23 on the server switch I noticed that vlan 23 wasn’t showing up on the client side. Turns out that trunking isn’t setup by default on this IOS. No problem, I just had to do some research and configured trunking manually. I ended up using:
switchport trunk encapsulation dot1q
switchport mode trunk
I did this also for fa0/22, fa0/23, and fa0/24 (I had four crossover cables so I figured why not). Once I did that vlan 23 showed up on the client side, and the two routers I put into the vlan were able to ping themselves.
The last item I worked on was setting up an etherchannel on my trunk ports. Normally you would use channel-group 1 mode on, however no such command existed for me. So did more digging around on cisco and and looking in IOS help and I found that I could just type:
port group 1
I did this for all four ports on both switch one and two. After I did that they showed as one port set for forwarding with a sh spanning vlan 23 command. Next I’m going to be working on a Frame Relay lab. I’m going to wait a few days and go over my training material on switching as I’m waiting for another DCE/DTE cable that I’ll need for my labs. This will be a direct serial connection between router 1 and 2, which bypasses the frame relay cloud I have setup.