- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2019 12:17 AM
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.
Solved! Go to Solution.
- Labels:
-
Identity Services Engine (ISE)
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2020 07:25 AM - edited 03-27-2020 07:27 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2019 01:04 AM
Any input here, please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2019 01:42 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2020 07:25 AM - edited 03-27-2020 07:27 AM
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
