361
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter       V Commands
vlan policy deny
vlan policy deny
To enter VLAN policy configuration mode for a user role, use the vlan policy deny command. To revert 
to the default VLAN policy for a user role, use the no form of this command.
vlan policy deny
no vlan policy deny
Syntax Description This command has no arguments or keywords.
Command Default All VLANs
Command Modes User role configuration mode
Command History
Examples This example shows how to enter VLAN policy configuration mode for a user role:
switch(config)# role name MyRole 
switch(config-role)# vlan policy deny 
switch(config-role-vlan)# 
This example shows how to revert to the default VLAN policy for a user role:
switch# configure terminal 
switch(config)# role name MyRole 
switch(config-role)# no vlan policy deny 
Related Commands
Release Modification
5.2(1)N1(1) This command was introduced. 
Command Description
role name Creates or specifies a user role and enters user role configuration mode.
show role Displays user role information.