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

3500XL - Set ports globally? 1

Status
Not open for further replies.

cisco8565

MIS
May 3, 2001
23
US
Good morning,

Want to know if I can set ALL ports to 100/full, span tree portfast on a global basis without setting each indiviual interface. (Have about 20 3524/3548 switches to set up). [My fairy godmother found me some capital money to spend!!]

Thanks, Bob
 
Nope, unfortunatly you can't. The only other option is to you the http gui. It slow and cumbersome, but it works.
 
Ahhh--- excuse me :) but there is a * method* to do this.. sort of.. dont you just love qualified answers..

Get a copy of the config of the switch..

Make your edits to reflect what you want changed..

log back into the switch.. go to config t

paste in the new config

Takes less then 10 seconds to apply the changes.

A real time saver when you have more then one to lock down.

Dont forget to save the config if needed.

MikeS
Find me at
"The trouble with giving up civil rights is that you never get them back"
 
hahahaa...you got me!! True true, you can just cut and paste the setting.
 
You can also use the "interface range" command.
USE WITH CAUTION !!!

To configure a bunch of interfaces with some global parameters use “interface range” from global configure mode.

e.g.

to enable spanning-tree portfast on all fast ethernet ports on a 3548, use the command

switch(config)# interface range fast 3/1 –48
switch(config-if)# spanning-tree portfast

done!! NB. The space before the dash is required.

You can also do it across multiple type of interface – up to 5 comma seperated interface ranges, e.g. shutdown loadsa ports on a 6509…

switch(config)# interface range fast 3/1 –48, gig 8/1 –8, gig 9/1 -8
switch(config-if)# shutdown

SO USE WITH CAUTION!!!

Cheers
Phil. If everything is coming your way then you're in the wrong lane.
 
Fynx,

Is 'interface range' something specific to a 3548? I looked into a 3524 and this choice is not available.. Bob
 
To all,

I answered my own question:
Interface range is available in IOS as of version 12.1(7)XE and later.....


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top