Switch Configuration Using VLAN ID (VID)

Referring to a VLAN by VID and specifying lists of VIDs is a useful shortcut that can greatly reduce the number of commands required to configure the switch.

For example consider a scenario where two ports should be added to four tagged VLANs. Previously, this required four commands:Assuming the tags for the VLANs are 100, 200, 300, 400 respectively this configuration can be accomplished with a single command:
Note

Note

commands enhanced with VID list support operate in a “best effort” fashion. If one of the VIDs in a VID list do not exist the command is still executed for all of the VIDs in the list that do exist. No error or warning is displayed for the invalid VIDs unless all of the specified VIDs are in valid.