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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New (used) Cisco 2950

Status
Not open for further replies.

TVIPEng

Technical User
Joined
Jun 13, 2005
Messages
4
Location
US
I have a 2590 and no info on it. When I connect to the Console port I'm prompted for a username. Anyone know how to reset the config without actuall being able to login?
 
Thanks that worked great.

I'm not doing anything special with this box. I have 2 vlan's configured and a couple of interfaces in each, but when I do a no shut on one vlan the other one get's shutdown. Any ideas?


2950#sh run
Building configuration...

Current configuration : 1821 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 2950
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/5
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 3
switchport mode access
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
switchport access vlan 3
switchport mode access
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan2
description Broadbus_Mgt
no ip address
no ip route-cache
shutdown
!
interface Vlan3
description Streaming
no ip address
no ip route-cache
!
ip http server
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
!
end

2950#sh vlan

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gi0/1, Gi0/2
2 VLAN0002 active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
3 VLAN0003 active Fa0/9, Fa0/16
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1005 trnet 101005 1500 - - - ibm - 0 0

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------

2950#
 
The 2950 is only a Layer-2 switch and cannot route between VLAN's like a Layer-3 switch can such as a 3550. Therefore only one Layer-3 Interface (interface vlan x) can be active as you have seen. This interface is used for management of the switch.
If you need to route between the VLAN's then you either need an external router or a Layer-3 switch.

Andy
 
I'm not doing any layer 3 at all. Not doing any routing between vlan's. Just have two layer2 vlans set up with a couple of ports in each vlan. Each one of those vlans connects to an upstream router.

if ya can't do more then one layer 2 vlan's then what's the point of having the switch do vlan's at all... :-)
 
No you have misunderstood.

You can create up to 250 Layer-2 VLAN's on a 2950 (64 for the SI-only capable models). Depending on whether you are running VTP or not you create these VLAN's in global config:

switch#conf t<cr>
switch(config)#vlan 10
switch(config-vlan)# exit
switch(config)#vlan 20
switch(config-vlan)# exit
switch(config)#vlan 30
switch(config-vlan)# exit
switch(config)#vlan 40
switch(config-vlan)# exit
switch(config)#exit
switch#

That will create 4 Layer-2 VLAN's - 10, 20, 30 & 40. You can then assign ports to any of these VLAN's:

switch(config)#interface fastethernet0/1
switch(config-if)#switchport access vlan 10
switch(config)#interface fastethernet0/2
switch(config-if)#switchport access vlan 20
switch(config)#interface fastethernet0/3
switch(config-if)#switchport access vlan 30
switch(config)#interface fastethernet0/4
switch(config-if)#switchport access vlan 40

That is it as far as your Layer-2 setup is concerned; all ports in a particular VLAN will be able to communicate, but they will not be able to communicate with devices in other VLANs withought a Layer-3 device.


If you wish to manage the switch remotely via telnet, HTTP or SNMP then you can create a SINGLE Layer-3 interface:

switch(config)#interface vlan 10
switch(config-if)#ip address 10.1.1.1 255.255.255.0
switch(config-if)#no shut

Although you are allowed to create multiple Layer-3 VLAN Interfaces, only one can be active. If you activate one of these (no shut) it automatically shuts down the previously active one, this doesn't change the Layer-2 operation though.

On the Catalyst 3550 (and others) you can have lots of Layer-3 VLAN interfaces active simultaneously, when this is the case it acts as a Layer-3 router (as long as IP Routing is enabled in global config).

Hope this makes sense.

Andy



 
Ah, yeah, mis read that. Ok got it all working.

Thanks a lot for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top