Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Configure all ports on a switch with one statement?

Is there a way on a 3500 series switch (IOS) to configure all the ports with 1 interface command...ie, setting ST-Portfast on ports 1-24, with something like

config t --> interf faste 0/1-24

Thanks for any replies

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Configure all ports on a switch with one statement?

Yes, you can with the int range command.

SW1-3550#config t

SW1-3550(config)#int range f0/1 - 24

SW1-3550(config-if-range)#spanning-tree portfast

HTH,

Sundar

2 REPLIES

Re: Configure all ports on a switch with one statement?

Yes, you can with the int range command.

SW1-3550#config t

SW1-3550(config)#int range f0/1 - 24

SW1-3550(config-if-range)#spanning-tree portfast

HTH,

Sundar

New Member

Re: Configure all ports on a switch with one statement?

Thank you very much!!!

167
Views
0
Helpful
2
Replies