cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4128
Views
5
Helpful
4
Replies

Catalyst 3850 - Interface Range - Behaviour

keeganb2000
Level 1
Level 1

I want to select a range of interfaces across 4 switches in a stack.

This command returns with the error "% Invalid input detected at '^' marker."

interface range Gi1/0/2 , Gi1/0/4 , Gi1/0/11 , Gi1/0/13 - 14 , Gi1/0/17, Gi1/0/20 - 21 , Gi1/0/23 , Fa2/0/1 - 2 , Fa2/0/4 - 24 , Fa3/0/1 - 24 , Fa4/0/1 - 5 , Fa4/0/7 - 13 , Fa4/0/15 - 24

I can however break up this string of interfaces into 3 which works, see below. Am I missing some fundamential understanding of how interface range selection works in the above command?

range 01

Gi1/0/2 , Gi1/0/4 , Gi1/0/11 , Gi1/0/13 - 14 , Gi1/0/17

range 02
Gi1/0/20 - 21 , Gi1/0/23 , Fa2/0/1 - 2 , Fa2/0/4 - 24

range 03
Fa3/0/1 - 24 , Fa4/0/1 - 5 , Fa4/0/7 - 13 , Fa4/0/15 - 24

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

The port range is very long, hence, the error message.

View solution in original post

4 Replies 4

Leo Laohoo
Hall of Fame
Hall of Fame

The port range is very long, hence, the error message.

Thanks for the feedback. Do you know what the character limit is?

Not sure.  Could be 32 characters.

Joseph W. Doherty
Hall of Fame
Hall of Fame

I recall many range statements are limited to five arguments (i.e. or four commas).