I apologize in advance for what probably is very basic questions. I am new to Cisco and the network side of things
I have a 2950 24 port switch and I wanted to practice updating it's IOS using my TFTP server. It has no config on it currently, I gave vlan1 an IP address and subnet mask. I couldn't ping it after I put it on the network I am wondering if there's anything else I need to configure for my to just get it on the network so that I may play around with it? Also, I'm assuming there's a way to copy the old IOS using a console cable I haven't been able to find anything yet on how to do this I would like to learn that as well if someone could point me in that direction as well.
You can copy the IOS using the console cable, however this procedure is so slow that you might want to copied through TFTP.
Anyways here's the procedure how to copy using the console cable.
In regards to the connectivity problem,
- Is your PC in the same vlan as the 2950?
- Is you PC able to ping other devices in the same vlan where the 2950 is configured?
- If they are not in the same vlan.. Did you configure a default gateway in the 2950?
- Are you able to ping the default gateway of the 2950 from your PC?
- Are you able to ping the default gateway of the 2950 from the 2950 itself.
Thanks for the quick reply. To give a little more background of how my lab is setup. The switch in question I have plugged into my core switch. I did change vlan 1 on my test switch to be in the same vlan as my pc. My pc is plugged into my core switch as well.
I can ping other devices from my pc just fine. I configured the default-gateway to be the same as my pc's gateway.
I can ping the default-gateway from my pc just fine. I cannot ping the gateway from the switch itself and I still cannot ping the switch from my pc. I am probably missing someting very simple.
It seems the switch doesn't have any connectivity at all, make sure the port connected to the Core switch is properly configured and also that it's in spanning-tree forwarding.
When I do a show IP int bri it shows that my vlan73 is down down and my uplink port 24 is up up. I am not sure how to enable vlan73 other than going into that interface and typing no shutdown which I have done.
You have to make sure "int vlan 1" is shutdown . You can only have a single active management address on a Layer 2 switch and i'm suspecting vlan 1 is the current active interface. Shutdown vlan 1 and then do a no shut on vlan 73 if that's what youi have chosen to use.
Hi, have you verified if the port that connects both switches are trunking correctly?
Use you a crossover UTP to the uplink?
The interface VLAN1 is up?
There's not a lot to it.
Current configuration : 1250 bytes
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
no logging console
ip domain-name test.local
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
switchport mode trunk
no ip address
no ip route-cache
ip address 10.1.1.2 255.255.255.0
no ip route-cache
ip default-gateway 10.1.1.1
ip http server
line con 0
line vty 5 15
Do you have the layer 2 vlan for vlan 73 created ? Do a show vlan and see if it shows up . Unless you are using a client /server setup make vtp transparent so you can see the vlans in your config.
When I do a show vlan I do not see vlan 73. Not sure, I understand your question about " Do you have the layer 2 vlan for vlan 73 created ?" I went ahead and made the vtp transparent.
vlan 73 exit
then check your network.
You have not created the layer 2 vlan for vlan 73. All you created is the layer 3 SVI for managing the switch. So you have no path across your trunk for vlan 73 because the vlan is not created.
Your switch is a VTP client? VLAN 73 are created on the server?
If the switch is in Server or Transparent mode you need to create the interface VLAN and the Layer2 VLAN in orden to properly function.
switch(config)#name Adm-VLAN (per example)
ok, I gave vlan 73 a name and now when I do show vlan it shows up and is active. We don't use VTP because were not all cisco shop. Not sure if you read all the post but this switch is hooked into a HP switch. I still cannot ping it or from it. I am thinking it has to do with cisco to HP.
I think you have a trunk config issue on the HP side. I would check to see if vlan 73 is allowed on the trunk on the HP side . On your cisco side you are allowing all vlans so you don't have a restriction there.
Try adding this:
switch(config-if)#switchport trunk native-vlan 73
After this try the command show inter trunk and you can see the status of your trunk port, the encapsulation mode and the native vlan.
ok, I made that change and I can see the encapsulation 802.1q and stauts is trunking and the native vlan is 73. sill cannot ping it or ping from switch.
The uplink port to the Cisco switch in the HP switch is in trunk mode and function properly?
Maybe you can configure both ports in access mode, not trunk, on VLAN 73.
Ok, I got it working. We implemented port security and I forgot to take out the port that the switch is plugged into. Thanks for the responses I did learn some other things though.