cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
196686
Views
6
Helpful
4
Replies

interface ranfe f0/1-24 or interface range fa0/1-24 ?

sarahr202
Level 5
Level 5

Hi every body!

If i have to select 24 fastethernet ports

I can use:

interface range fastethernet 0/1-24

or

But i also encountered this:

interface range fa0/1-24

Can the above command be typed as

" interface range f0/1-24"

thanks a lot!

4 Replies 4

Roberto Salazar
Level 8
Level 8

Yes, you can.

switch(config)#int range f?

FastEthernet >> as you can see there is no other option for anything beginning with "f".

switch(config)#int range f ?

<1-6> FastEthernet interface number

switch(config)#int range f 1/24

switch(config-if-range)#

or

switch(config)#interf r f1/1-24

switch(config-if-range)#

Hello Roberto; I have these interfaces, which is the correct coman to do the range ? thank for your help !!

FastEthernet3/0 unassigned YES unset up up
FastEthernet3/1 unassigned YES unset up up
FastEthernet3/2 unassigned YES unset up up

ESW1(config)#interface range f3/0-2
^
% Invalid input detected at '^' marker.

goulin
Level 1
Level 1

The command f0/1 - 24 will work, as will fa0/1 - 24, as will fastEthernet0/1 - 24. The IOS knows that you are abbreviating FastEthernet by using f or fa (or anything that spells the word out) so it will work, since there are no other interface types that start with f (at least on most switches anyway).

danielmassey
Level 1
Level 1

Hi,

yes this command will also work fine.

Switch(config)#int range f0/1-24

Switch(config-if-range)#

Danny

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: