[c-nsp] vlan groups ???

Jeff Fitzwater jfitz at princeton.edu
Fri Apr 22 15:12:37 EDT 2011


I am trying to find a way to configure groups of vlans so that I can configure the "switchport trunk allow vlan" of up to a 100 ports, with the vlan a group which will automatically get the new vlan when I add it to the group.


I found this command but cannot find any other command that it is used for....


Anybody out their have any ideas on this issue?


Jeff Fitzwater
OIT Network Systems
Princeton Univesity


-------------------------------


vlan group

To create or modify a VLAN group, use the vlan group command in global configuration mode. To remove a VLAN list from the VLAN group, use the no form of this command.
vlan group group-name vlan-list vlan-list
no vlan group group-name vlan-list vlan-list
Syntax Description

group-name
VLAN group name.
vlan-list
VLAN list name. See the "Usage Guidelines" section for additional information about the vlan-list argument.

Defaults

This command has no default settings.
Command Modes

Global configuration (config)
Command History

Release
Modification
12.2(33)SXI1
This command was introduced.

Usage Guidelines

The VLAN group name may contain up to 32 characters and must begin with a letter.
The vlan-list argument can be a single VLAN ID, a list of VLAN IDs, or VLAN ID ranges (vlan-id-vlan-id). Multiple entries are separated by a hyphen (-) or a comma (,).
If the named VLAN group does not exist, the vlan group command creates the group and maps the specified VLAN list to the group. If the named VLAN group exists, the specified VLAN list is mapped to the group.
The no form of the vlan group command removes the specified VLAN list from the VLAN group. When you remove the last VLAN from the VLAN group, the VLAN group is deleted.
A maximum of 100 VLAN groups can be configured, and a maximum of 4094 VLANs can be mapped to a VLAN group.
Examples

This example shows how to map VLANs 7 through 9 and 11 to a VLAN group:
Router(config)# vlan group ganymede vlan-list 7-9,11 


----------------------------


More information about the cisco-nsp mailing list