
GSWB
CHAPTER 8 CLI Operations
(2) Options
z
Specifies the VLAN ID of the VLAN that transmits/receives traffic in the VLAN tag format on an interface.
The format of
-all: Specifies all VLANs (default).
-add: Adds the VLAN specified in
-remove: Deletes VLAN specified in
-
Specifies, using a hyphen, the VLAN IDs of a range of consecutive VLANs. No space before or after the hyphen is allowed.
Any leading 0 is not permitted. |
|
Example: |
|
Single VLAN | 101 |
List of | 10,12,14,16,18 |
Consecutive VLAN range | |
List of consecutive VLAN ranges |
List of
(3)Command mode
Interface
(4)See also
vlan
switchport mode
switchport native vlan