role-policy

Creates a role-based firewall policy and enters its configuration mode

Supported on the following devices:

Syntax

role-policy <ROLE-POLICY-NAME>

Parameters

role-policy <ROLE-POLICY-NAME>
<ROLE-POLICY-NAME> Specify the role policy name. If a policy with the specified name does not exist, it is created.

Examples

nx9500-6C8809(config)#role-policy role1
nx9500-6C8809(config-role-policy-role1)#?
Role Policy Mode commands:
  default-role     Configuration for Wireless Clients not matching any role
  ldap-deadperiod  Ldap dead period interval
  ldap-query       Set the ldap query mode
  ldap-server      Add a ldap server
  ldap-timeout     Ldap query timeout interval
  no               Negate a command or set its defaults
  user-role        Create a role

  clrscr           Clears the display screen
  commit           Commit all changes made in this session
  do               Run commands from Exec mode
  end              End current mode and change to EXEC mode
  exit             End current mode and down to previous mode
  help             Description of the interactive help system
  revert           Revert changes
  service          Service Commands
  show             Show running system information
  write            Write running configuration to memory or terminal

nx9500-6C8809(config-role-policy-role1)#

Related Commands

no Removes an existing role policy
Note

Note

For more information on Role Policy commands, see ROLE-POLICY.