Chapter
V Commands
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.
Syntax Description
This command has no arguments or keywords.
Command Default
All VLANs
Command Modes
User role configuration mode
Command History
Release
5.2(1)N1(1)
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
Command
role name
show role
OL-27883-02
vlan policy deny
no vlan policy deny
Modification
This command was introduced.
Description
Creates or specifies a user role and enters user role configuration mode.
Displays user role information.
Cisco Nexus 5500 Series NX-OS Security Command Reference
vlan policy deny
361