cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
438
Views
0
Helpful
1
Replies

Cisco ISE configuring Command sets for switches

CSCO12190770
Level 1
Level 1

Trying to permit interface range in command set for allowing particular port to be accessed other should be blocked. I Tried 

FastEthernet 0/([1-9]|1[0-9]|2[0-9]|3[0-9]|4[0-7])$

It's not working. Tried to allow show running-config interface 0/1 to 0/47. Interface 0/48 should be blocked. how to write command sets for this.

Advance Thank for your help.

Regards,

naveen.r.b

1 Reply 1

CSCO12190770
Level 1
Level 1

I tried...

Grant               Command                   Arguments

Permit              interface                       fa* [0]/[0-22]

Command authorization failed trying to get to any interface

Grant               Command                   Arguments

Permit              interface                       fa* 0/*

Allows access to any interface

Grant               Command                   Arguments

Permit              interface                       fa* 0/[0-22]

Permit              interface                       fa* 0/0-22

Command authorization failed trying to get to any interface

So if you can point me in the right direction on the wildcards in the arguments statement, if you can provide an example of how you would only allow access to to fa 0/1 - 46 and fa 0/47-48 should be blocked for example...