no (role-policy-config-mode-command)

Negates a command or resets settings to their default. When used in the config role policy mode, the no command removes or resets the role policy settings.

Supported in the following platforms:

Syntax

no [default-role|ldap-deadperiod|ldap-query|ldap-server <1-2>|ldap-timeout|user-role]
no [ldap-deadperiod|ldap-query|ldap-server <1-2>|ldap-timeout]
no default-role use [ip-access-list|ipv6-access-list|mac-access-list]
no default-role use [ip-access-list|ipv6-access-list|mac-access-list] [in|out] 
<IP/IPv6/MAC-ACCESS-LIST-NAME> precedence <1-100>
no user-role <ROLE-NAME>

Parameters

no <PARAMETERS>
no <PARAMETERS> Negates a command or resets settings to their default. When used in the config role policy mode, the no command removes or resets the role policy settings.

Examples

The following example shows the role policy ‘test‘ setting before the ‘no‘ commands are executed:

nx9500-6C8809(config-role-policy-test)#show context
role-policy test
 default-role use ip-access-list in test precedence 1
 ldap-query self
 ldap-timeout 1
 ldap-deadperiod 100
 ldap-server 1 host 192.168.13.7 bind-dn CN=Adminstrator,CN=Users,DC=TechPub,DC=com base-dn 
CN=Administrator,CN=Users,DC=com bind-password 0 superuser port 2

nx9500-6C8809(config-role-policy-test)#
nx9500-6C8809(config-role-policy-test)#no ldap-deadperiod
nx9500-6C8809(config-role-policy-test)#no ldap-timeout
nx9500-6C8809(config-role-policy-test)#no ldap-server 1

The following example shows the role policy ‘test‘ setting after the ‘no‘ commands are executed:

nx9500-6C8809(config-role-policy-test)#show context
role-policy test
 default-role use ip-access-list in test precedence 1
 ldap-query self
nx9500-6C8809(config-role-policy-test)#