Permit Vlan - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Chapter 6
Security Commands
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

permit vlan

To add VLANs for a user role VLAN policy, use the permit vlan command. To remove VLANs, use the
no form of this command.
Syntax Description
vlan-list
Command Default
All VLANs
Command Modes
VLAN policy configuration
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
For permit vlan statements to work, you need to configure a command rule to allow VLAN access, as
shown in the following example:
switch(config-role)# rule number permit command configure terminal ; vlan *
Examples
This example shows how to configure a range of VLANs for a user role VLAN policy:
switch(config)# role name MyRole
switch(config-role)# vlan policy deny
switch(config-role-vlan)# permit vlan 1-8
This example shows how to configure a list of VLANs for a user role VLAN policy:
switch(config)# role name MyRole
switch(config-role)# vlan policy deny
switch(config-role-vlan)# permit vlan 1, 10, 12, 20
This example shows how to remove a VLAN from a user role VLAN policy:
switch(config)# role name MyRole
switch(config-role)# vlan policy deny
switch(config-role-vlan)# no permit vlan 2
OL-16599-01
permit vlan vlan-list
no permit vlan
List of VLANs that the user role has permission to access.
Modification
This command was introduced.
Cisco Nexus 5000 Series Command Reference
permit vlan
6-77

Advertisement

Table of Contents
loading

Table of Contents