Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
6-150
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 6 Security 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
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
4.0(0)N1(1a) 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.