cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3204
Views
10
Helpful
2
Replies

Syntax of Interface Range

buddhaflow
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

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

View solution in original post

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

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

buddhaflow
Level 1
Level 1

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

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:

Review Cisco Networking products for a $25 gift card