How To Export Users From A Security Rule?

Reply
L4 Transporter

How To Export Users From A Security Rule?

Is there an easy way to export users from a security rule?


Accepted Solutions
Highlighted
L5 Sessionator

Do you have a device that has multi-vsys enabled, if so then you might have to run following commands :

# show vsys vsys1 rulebase security

Thank you.

View solution in original post


All Replies
Highlighted
L5 Sessionator

Hi Lewis,

Could you please explain in detail for your requirement? Do you want to export just the users from an existing policy? One of the way of doing that would be following :

> set cli config-output-format set

> configure

# show rulebase security

This will show you security policy of the device. You can copy the line that refers to user. If you want to modify and import it on a different device, you can do that via a text editor. Hope this helps. Thank you.

Highlighted
L4 Transporter

Basically have a few security rules that have 50 plus users in each and have a request to provide all the users in the rule. Looking for a shortcut instead of manually typing them out.

Highlighted
L5 Sessionator

In that case above steps will help you getting those configs from security policy. Thank you.

Highlighted
L4 Transporter

not having any success with # show rulebase security command. when i type show and type ? there is no rulebase security as an option. Am I missing something?

Highlighted
L5 Sessionator

Do you have a device that has multi-vsys enabled, if so then you might have to run following commands :

# show vsys vsys1 rulebase security

Thank you.

View solution in original post

Highlighted
L4 Transporter

Thanks that is exactly what i needed!

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!