cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6237
Views
5
Helpful
2
Replies

interface range command

sarahr202
Level 5
Level 5

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!

1 Accepted Solution

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

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.

View solution in original post

2 Replies 2

Edison Ortiz
Hall of Fame
Hall of Fame

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.

Props Edison!!!

Great answer.

Rating for you!