cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1362
Views
0
Helpful
3
Replies

Cisco ISE command sets Regex query

sondevi
Cisco Employee
Cisco Employee

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

Craig Hunt
Level 1
Level 1

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

sondevi
Cisco Employee
Cisco Employee

Any input here, please

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.

Craig Hunt
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: