Link to home
Start Free TrialLog in
Avatar of jibranilyas
jibranilyas

asked on

Cisco Switch - spanning tree command

I have two of the same switches
Cisco Catalayst 2950

One of them takes the following commands, while the other one doesn't

spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id

I get the following error on switch 2, which is supposed to work as the backup for switch1

Switch2(config)#spanning-tree mode pvst
                                               ^
% Invalid input detected at '^' marker.

Please tell me how I can issue the three spanning-tree commands to the second switch.
Thanks,
Avatar of RPPreacher
RPPreacher
Flag of United States of America image

Can you do a 'show version' command on both switches?

Please post here.
Avatar of jibranilyas
jibranilyas

ASKER

switch1 is IOS ver 12.1
switch2 is IOS ver 12.0

Switch1:
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(20)EA1a, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 19-Apr-04 20:58 by yenanh
Image text-base: 0x80010000, data-base: 0x805A8000

Switch2:
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-C3H2S-M), Version 12.0(5.3)WC(1), MAINTENANCE INTERIM SOFTWARE
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Mon 30-Apr-01 07:56 by devgoyal
Image text-base: 0x80010000, data-base: 0x8031A000

So, upgrading is the only way out?
ASKER CERTIFIED SOLUTION
Avatar of RPPreacher
RPPreacher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The Cisco Network Assistant is a very intuitive GUI for upgrading your model of switch.  Point and click.

http://www.cisco.com/en/US/customer/products/ps5931/products_getting_started_guide_chapter09186a00802b7d9d.html
thanks guys,

Here is what i did

Step1 - loaded tftp server on my machine
Step2 - copied the flash image of switch1 on tftp server

Step 3 - logged in to switch 2
Step 4 - pulled the flashimage of switch1 from tftp server (Step 2)

now, i want to use the new image (c2950-i6q4l2-mz.121-20.EA1a.bin) on my switch... how do i do that?
Here is the output of "show flash" command

(Directory of flash:/

  2  -rwx     1674921   May 01 2001 01:09:51  c2950-c3h2s-mz.120-5.3.WC.1.bin
  3  -rwx         241   Jan 01 1970 11:01:06  env_vars
  4  drwx       10176   Jan 01 1970 11:01:43  html
  5  -rwx     3036020   Mar 01 1993 12:11:00  c2950-i6q4l2-mz.121-20.EA1a.bin
165  -rwx          25   Mar 01 1993 11:10:09  snmpengineid
166  -rwx        2833   Mar 01 1993 11:10:15  config.text
7741440 bytes total (1740800 bytes free)
from the command line

switch(config)# boot system flash:c2950-i6q4l2-mz.121-20.EA1a.bin
^ that worked...  
I am all set now

the commands worked on the second switch after the upgrade.

Thank you