ACS matching too much on shell command sets

Unanswered Question
Sep 10th, 2008
User Badges:

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!!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Premdeep Banga Wed, 09/10/2008 - 09:01
User Badges:
  • Gold, 750 points or more

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


Or


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


Regards,

Prem


Please rate if it helps!

BrianMitchellTX Wed, 09/10/2008 - 09:03
User Badges:

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.

Actions

This Discussion