vlan
To enable a PVST or PVRST VLAN instance on the interface and enter PVSTAG or PVRSTAG VLAN
configuration mode, use the vlan command in PVSTAG or PVRSTAG configuration submode.
vlan vlan-id
Syntax Description
Specifies the VLAN identifier. The range of the VLAN ID is between 1 to 4094.
There is a limit of 200 VLANs per physical interface and 16000 VLANs across
the system.
Note
vlan-id
Command Default
None
Command Modes
PVRSTAG interface configuration, PVSTAG interface configuration
Command History
ModificationRelease
This command was introduced.Release 4.0.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Task ID
OperationsTask ID
read, writeethernet-services
Examples
The following example shows how to enable a VLAN in the PVSTAG configuration mode:
RP/0/RSP0/CPU0:router(config)# spanning-tree pvstag A
RP/0/RSP0/CPU0:router(config-pvstag)# interface GigabitEthernet 0/3/03
RP/0/RSP0/CPU0:router(config-pvstag-if)# vlan 100
RP/0/RSP0/CPU0:router(config-pvstag-if-vlan)#
Related Commands
DescriptionCommand
Enables packet debugging for sent and received PVRSTAG
packets.
debug spanning-tree pvrstag packet, on
page 489
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
639
Multiple Spanning Tree Protocol Commands
vlan