cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Announcements
Choose one of the topics below to view our ISE Resources to help you on your journey with ISE

This community is for technical, feature, configuration and deployment questions.
For production deployment issues, please contact the TAC! We will not comment or assist with your TAC case in these forums.
Please see How to Ask the Community for Help for other best practices.

323
Views
0
Helpful
3
Replies
Highlighted
Cisco Employee

Cisco ISE command sets Regex query

Hi Team,

 

regex for command sets, having a query: In command set, configuring as below:

Command: undo

Arguments: ospf bgp mpls

requirement is to put the regex in argument so user should not be able to run the "undo ospf" or "undo bgp" or "undo mpls" commands. 

I tried with [ospf bgp mpls] but i think it differentiate the character only. not the alphabets.

Any input please.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Beginner

Re: Cisco ISE command sets Regex query

Have you tried using the pipe character ( | ) in between each one?  This is often used for 'or'.

Grant: DENY

Command: undo

Arguments: ospf|bgp|mpls

View solution in original post

3 REPLIES 3
Highlighted
Cisco Employee

Re: Cisco ISE command sets Regex query

Any input here, please

Highlighted
Beginner

Re: Cisco ISE command sets Regex query

Hi,

 

this have to be three different arguments added in the command reference

undo mpls

undo ospf

undo bgp

 

it wont work as what you are trying to do.

 

The commands have to be same as what you are entering the cli.

Highlighted
Beginner

Re: Cisco ISE command sets Regex query

Have you tried using the pipe character ( | ) in between each one?  This is often used for 'or'.

Grant: DENY

Command: undo

Arguments: ospf|bgp|mpls

View solution in original post