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

Non-continuous bulk changes in IOS

Hey,

I am attempting to make changes on a bunch of IOS switches and wanted to know if there was anyway to make bulk changes to a number of ports if they happen to be non-continuous (eg. 1,5,8 etc.). I do know about the range command but as I understand it that is only applicable to continuous ports.

Thanks a bunch.

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Non-continuous bulk changes in IOS

The below example uses a range command to configure the ports, Fa 1/0/1, Fa1/0/5, Gi 1/0/1 and Gi 1/0/2 which are discontiguous.

Switch(config)#int range fa 1/0/1 , fa 1/0/5 , gi 1/0/1 - 2

More Info:

http://www.cisco.com/en/US/docs/ios/12_1t/12_1t4/feature/guide/range.html

Cisco Employee

Re: Non-continuous bulk changes in IOS

You can also use the smartport macro feature on the switches. You can make a sample config for the ports that you want to configure and then attach it to the specific ports.

http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_44_se/configuration/guide/swmacro.html#wp1162957

-amit singh

3 REPLIES

Re: Non-continuous bulk changes in IOS

The below example uses a range command to configure the ports, Fa 1/0/1, Fa1/0/5, Gi 1/0/1 and Gi 1/0/2 which are discontiguous.

Switch(config)#int range fa 1/0/1 , fa 1/0/5 , gi 1/0/1 - 2

More Info:

http://www.cisco.com/en/US/docs/ios/12_1t/12_1t4/feature/guide/range.html

Cisco Employee

Re: Non-continuous bulk changes in IOS

You can also use the smartport macro feature on the switches. You can make a sample config for the ports that you want to configure and then attach it to the specific ports.

http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_44_se/configuration/guide/swmacro.html#wp1162957

-amit singh

New Member

Re: Non-continuous bulk changes in IOS

Thanks a bunch guys. That helped a lot.

154
Views
0
Helpful
3
Replies