cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
392
Views
0
Helpful
2
Replies

ACS matching too much on shell command sets

Brian M
Level 1
Level 1

I have a problem with ACS, I only want to give users access to gig1/0/1 but ACS matches 1/0/10, 1/0/11, 1/0/12...1/0/19 in my command set (the statement is set to permit GigabitEthernet 1/0/1). How do I tell it to match only 1/0/1 and nothing else?

Thanks!!

2 Replies 2

Premdeep Banga
Level 7
Level 7

interface--------permit GigabitEthernet [1] [0] [1]

Or

interface--------permit GigabitEthernet [1][0][1]

Regards,

Prem

Please rate if it helps!

ahh, I didn't know you could do a regex with ACS. Actually what I did was permit ^GigabitEthernet 1/0/1$ and that seemd to work.

Thanks for the response, I'm gonna test the regex now.