cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7710
Views
10
Helpful
15
Replies

interface range problem

MZydorczyk2
Level 1
Level 1

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.

15 Replies 15

ankbhasi
Cisco Employee
Cisco Employee

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

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.

Hi Friend,

Are you sure that module 3,5 are gigabit modules? Can you paste the output of "sh mod"?

Regards,

Ankur

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.

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.

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

Yes they are definately gig

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

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.

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 .

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".

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 .

I can post it if you want but I have verified that they are gig blades from directly looking at them.

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 .

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: