11-06-2007 08:25 AM - edited 03-03-2019 05:41 AM
I am trying to use the interface range command on a 4500 switch and it is refusing to take it. I would able to use the command just a couple months ago but I dont remember what I exactly typed in.
I tried typing:
interface range gig 5/1 - 48,gig 6/1 - 48,gig 7/1 - 48
I even tried to use ? to help guide me but nothing will work. Any suggestions?
Thanks.
11-06-2007 08:41 AM
Hi Friend,
It should work. Can you run that command again and paste the output with error message. I mean where it shows you carrot sign notifying wrong input?
Regards,
Ankur
11-06-2007 08:51 AM
Here is the entire ouput:
**It does not appear to format it right, but the carret is under the "g" in the first "gig" in the command.
PL_4510R_2100A_02(config)#interface range gig 3/1-48, gig 5/1-48, gig 7/1-48
^
% Invalid input detected at '^' marker.
PL_4510R_2100A_02(config)#interface range ?
FastEthernet FastEthernet IEEE 802.3
GigabitEthernet GigabitEthernet IEEE 802.3z
Loopback Loopback interface
Port-channel Ethernet Channel of interfaces
Tunnel Tunnel interface
Vlan Catalyst Vlans
macro macro keyword
PL_4510R_2100A_02(config)#interface range Giga 3/1-48, gig 5/1-48, gig 7/1-48
^
% Invalid input detected at '^' marker.
PL_4510R_2100A_02(config)#interface range GigabitEthernet 3/1-48, gig 5/1-48,
gig 7/1-48
^
% Invalid input detected at '^' marker.
PL_4510R_2100A_02(config)#interface range
% Incomplete command.
PL_4510R_2100A_02(config)#interface range?
range
PL_4510R_2100A_02(config)#interface range ?
FastEthernet FastEthernet IEEE 802.3
GigabitEthernet GigabitEthernet IEEE 802.3z
Loopback Loopback interface
Port-channel Ethernet Channel of interfaces
Tunnel Tunnel interface
Vlan Catalyst Vlans
macro macro keyword
PL_4510R_2100A_02(config)#help interface range
^
% Invalid input detected at '^' marker.
PL_4510R_2100A_02(config)#interface range GigabitEtherne ?
<1-10> GigabitEthernet interface number
PL_4510R_2100A_02(config)#interface range 3/1-48
^
% Invalid input detected at '^' marker.
PL_4510R_2100A_02(config)#interface range 3 ?
% Unrecognized command
PL_4510R_2100A_02(config)#interface range gig 3 ?
% Unrecognized command
PL_4510R_2100A_02(config)#interface range gig ?
<1-10> GigabitEthernet interface number
PL_4510R_2100A_02(config)#interface range gig 5
% Incomplete command.
PL_4510R_2100A_02(config)#interface range gig 5/1-48
^
% Invalid input detected at '^' marker.
PL_4510R_2100A_02(config)#interface range gig 5 ?
% Unrecognized command
PL_4510R_2100A_02(config)#interface range gig 5
% Incomplete command.
PL_4510R_2100A_02(config)#interface range gig 5,7
^
% Invalid input detected at '^' marker.
PL_4510R_2100A_02(config)#
I actually did not run the commands myself unfortuneately but I believe my director also ran the command with a space between the port and the hyphen, which I instructed him to do.
11-06-2007 09:07 AM
Hi Friend,
Are you sure that module 3,5 are gigabit modules? Can you paste the output of "sh mod"?
Regards,
Ankur
11-06-2007 09:28 AM
Yes I have just looked directly on the modules to be sure that they are indeed gig.
And yes I also put the spaces between the ports as I showed in my original message.
11-06-2007 09:14 AM
You need to have a space between the number and the dash between the numbers
int range g3/1 - 48,g4/1 - 48 etc.... Also make sure it is a gig module and not just a 10/100 module . Do show int status to determine what is installed.
11-06-2007 09:18 AM
Hi Glen,
The carrot sign when he gets an error message is not on dash sign but on gig sign so this makes me believe he is entering a wrong interface type, not sure though. Also in his original post he has entered the spaces.
Regards,
Ankur
11-06-2007 09:29 AM
Yes they are definately gig
11-06-2007 06:42 PM
This works on our 4506 and we have a gig module which is a 16 port module or I would try to recreate the entire command.
int range fa4/45 - 48, gi5/3 - 7, gi5/11 - 13
11-08-2007 12:22 PM
That's very odd.
Do you think the problem could be the fact that I used "gig" instead of "gi". I mean it really shouldn't because all it is is an abbreviation. And I know it's not a new feature.
11-08-2007 12:26 PM
Try not using the abreviation as you start to type fas or gig just hit the tab key and it will finish the word then you put the actual interface slot/port after that .
11-08-2007 12:43 PM
From looking at the different attempts that we tried I see we used
interface range Gigabitethernet mod/port, gig mod/port...
but it still gave us the carrot under the G in "Gigabitethernet".
11-08-2007 05:32 PM
Please post a "show mod" or a "show interface status " . If the cards are actually gig i have never heard or seen of the int range command being a problem .
11-09-2007 12:20 PM
I can post it if you want but I have verified that they are gig blades from directly looking at them.
11-10-2007 05:04 PM
Still think it is a syntax problem , use this int range gigabitethernet 5/1 - 48 . Enter . there has to be a space between the 1 and the dash and between the dash and the 48 . If that doesn't work try again without the space in there some of the newer codes do not need the space as cisco has changed this , it has to be one or the other . If neither works then you will have to open a TAC case to have them look at this . Have never seen a problem like this on any IOS switch .
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