Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 2950 switch - initial config 3

Status
Not open for further replies.

Zelandakh

MIS
Mar 12, 1999
12,173
GB
Got a new Cisco 2950 with 2 x GBIC fibre uplink modules. All I want to do is give the switch an IP address so I can http to it and set it all up. I've never used a 2950 before, only 2924 and 2912.

I follow the instructions and go to config-if then type
ip address 192.168.0.1 mask 255.255.255.0
but I get an error

It seems to have set the IP address I want to use as the IP of VLAN1. Simple problem, urgent timeframe...

I'll even consider taking a handful of lines of a config script and uploading them if I knew how to do that.
 
If you have done

conf t
interface vlan1
ipaddress 192.168.0.1 255.255.255.0
exit

Then the IP address of VLAN1 on the switch is indeed 192.168.0.1, and all the ports on the switch are by default part of that VLAN. Connecting any of the ports to a LAN with a subnet address of 192.168.0.0 will allow devices on that subnet to telnet to the switch.

Telnet will need to be enabled with something like this

Conf t
Line vty 0 4
login
exit

If you want http access you will also have to enable the http server on the switch with the commands

conf t
ip http server
exit

If you want the management VLAN to be separate you might want remove all ports bar one from VLAN1, and create a new one, such as VLAN2, with a different IP address on the switch with the remainder of the ports in that.

Have a look on for some example configs.

EB
 
I've done what I said above, but I can't even PING the switch so I guess I did something wrong - I'll check the interface vlan1 again and make sure I've set it right.
 
Zelandakh,
Is your ip interface shutdown?

conf t
inter vlan xxx
ip address 192.168.0.1 255.255.255.0
no shut
exit

Todd

 
<Zel puts hands in the air and announces he's retiring from IT>

I'd done everything right up to a point - RoguePacket was right on the nose. IP Interface wasn't up.

Thanks Todd, have a star on me.
 
heh. I'll never forget the first time I was configuring a cisco router and the interface was down because of the shutdown command.

I lost so much hair that night. :)

-Bad Dos
 
ok, next part....

I've now got the 2950 working so that anyone on the switch can pink to anyone else on the switch. I need to connect the GBIC fibre uplink to the fibre uplink of a 2912MF-XL. I put the cable in both ends and get no link lights. The 2912 is only 100mb/s but they should AUTO speed shouldn't they?

Have I done something similar with this too?

2950 port 25 is GBIC fibre.
Status - enable
Portfast: Disable (but have tried enable too)
VLAN mode - Trunk Desirable
Assigned VLANs (greyed out)

I've tried 2 cables and its not that.

What can I check next?
 
Zel-- just wait till you plunk a switch into the network without clearing the VTP rev level and watch all your VLAN info go away [shocked]

MikeS Find me at
&quot;Take advantage of the enemy's unreadiness, make your way by unexpected routes, and attack unguarded spots.&quot;
Sun Tzu
 
Mike, that made no sense to me :)

extract from &quot;show config&quot;
---------------------------------
no service pad
spanning-tree extend system-id
spanning-tree uplinkfast max-update-rate 100
spanning tree uplinkfast
no spanning-tree vlan1

all interface fastethernet0/xx are:
no ip address
speed 100
spanning-tree portfast trunk

interface gigabitethernet0/1
switchport access vlan dynamic
no ip address
spanning-tree portfast trunk

interface gigabitethernet0/2
no ip address
spanning-tree portfast trunk

interface vlan1
ip address 192.168.1.18 255.255.255.0
no ip route-cache
-------------------------------

I am sure I'm missing something obvious, but what is it?
 
Think I may have cracked it - anyone know if the GBIC modules ONLY support gigabit or are they 10/100/1000?

Cos at the other end its 100...

Doh!
 
Well, a GBIC is 1000Mbit only. And btw. it's Ethernet. (Don't laugh - i've seen people connect FDDI to a GBIC &quot;because it's fibre&quot;...).

Cheers *Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top