02-16-2009 06:41 PM - edited 03-06-2019 04:04 AM
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!
02-16-2009 06:56 PM
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)#
03-17-2017 12:51 PM
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.
02-16-2009 09:19 PM
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).
02-16-2009 10:44 PM
Hi,
yes this command will also work fine.
Switch(config)#int range f0/1-24
Switch(config-if-range)#
Danny
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide