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

Release
Modification
4.0(0)N1(1a)
This command was introduced.

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
Description
role name
Creates or specifies a user role and enters user role configuration mode.
show role
Displays user role information.