Bulk Changes in IOS

Answered Question
Mar 4th, 2008

I remember in catOS you could make changes to multiple ports with a single command. for e.g.

set vlan 99 2/1-6 etc.

So using the above as an example how would i do this in IOS?

Thanks a bunch.

Correct Answer by lamav about 8 years 11 months ago

interface range gigabitethernet 1/1 - 48

The spaces between the dash and numbers is necessary.

HTH

If so, pelase rate this post.

Victor

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
lamav Tue, 03/04/2008 - 07:35

interface range gigabitethernet 1/1 - 48

The spaces between the dash and numbers is necessary.

HTH

If so, pelase rate this post.

Victor

american1 Tue, 03/04/2008 - 08:18

Also:

-create a macro

Define interface-range int_range g1/1 - 48

-use the macro you created

Interface range macro int_range

Int_range represents a word describing the macro you created. The macro is saved in the run/start config.

ece344609_2 Tue, 03/04/2008 - 08:28

Thaks guys. I am assuming the macro is set per switch, would that be correct?

Actions

This Discussion