Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ACS matching too much on shell command sets

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

Re: ACS matching too much on shell command sets

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

Or

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

Regards,

Prem

Please rate if it helps!

New Member

Re: ACS matching too much on shell command sets

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.

142
Views
0
Helpful
2
Replies