12-30-2013 05:09 AM - edited 03-07-2019 05:18 PM
Hi, I have a Catalyst 2950. I wanted to use the Interface Range function.
However, I couldn't get it to work.
I want to apply to all ports. So I type:
enable
configure terminal
interface range fast FastEthernet 0/0-23
But, it complains..pointing either at the F or the -
What in the world is the problem? Is my syntax incorrect?
Thank you!
Sasha Shepherd
Solved! Go to Solution.
12-30-2013 06:31 AM
Sasha,
The Catalyst 2950 series (and the 3550 as well, I believe) has a limitation in their command parser that requires exactly one whitespace around the dash or comma symbol in the interface range command, e.g.:
interface range fa0/1 - 5
or
interface range fa0/1 , fa0/3 , fa0/10 - 15
I haven't seen this in more recent Catalyst switches. Admittedly, it is annoying.
Best regards,
Peter
12-30-2013 06:31 AM
Sasha,
The Catalyst 2950 series (and the 3550 as well, I believe) has a limitation in their command parser that requires exactly one whitespace around the dash or comma symbol in the interface range command, e.g.:
interface range fa0/1 - 5
or
interface range fa0/1 , fa0/3 , fa0/10 - 15
I haven't seen this in more recent Catalyst switches. Admittedly, it is annoying.
Best regards,
Peter
12-30-2013 09:08 PM
Thanks! I had actually tried a space...but I had only tried it with interface range FastEthernet0/1 -5.
interface range fa0/1 - 5 worked
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