interface range command

Answered Question
Feb 11th, 2009
User Badges:
  • Bronze, 100 points or more

Hi every body!


Let say i have a switch with 48 ports. if i want to select all of them for common configurations, how do i select them? My cisco book shows

interface range fastethernet 1/0-48

The question is why the book is considering the first port as 0?


if i have to select ports from fa0/1-24, how can i use the "interface range" to select this range?


thanks a lot!


Correct Answer by Edison Ortiz about 8 years 4 months ago

The question is why the book is considering the first port as 0?


Port 1/0 can be a valid switchport in some modules.


Just understand what the command does and you can change that variable to accommodate your goal.


The important aspect is to understand that you can group a bunch of switchports and make changes to all of them at once. The switchport numbering may not always be the same depending on the platforms. You should also consider other type of interfaces such as; Ethernet, GigaEthernet and TenGigaEthernet.


if i have to select ports from fa0/1-24, how can i use the "interface range" to select this range?


interface range fa0/1-24




HTH,


__


Edison.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Edison Ortiz Wed, 02/11/2009 - 12:35
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

The question is why the book is considering the first port as 0?


Port 1/0 can be a valid switchport in some modules.


Just understand what the command does and you can change that variable to accommodate your goal.


The important aspect is to understand that you can group a bunch of switchports and make changes to all of them at once. The switchport numbering may not always be the same depending on the platforms. You should also consider other type of interfaces such as; Ethernet, GigaEthernet and TenGigaEthernet.


if i have to select ports from fa0/1-24, how can i use the "interface range" to select this range?


interface range fa0/1-24




HTH,


__


Edison.

Rick Morris Wed, 02/11/2009 - 13:33
User Badges:
  • Silver, 250 points or more

Props Edison!!!

Great answer.


Rating for you!

Actions

This Discussion