VLAN Commands
switchport trunk allowed vlan
switchport trunk allowed vlan
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
Parameters
•
vlan-id
— Specifies the ID of the VLAN to which the port is configured.
Default Configuration
The configuration is disabled.
Command Mode
Interface configuration (Ethernet, port-channel) mode
User Guidelines
The user cannot transmit Multicast transmissions on the Multicast TV VLAN.
Example
The following example adds VLANs 2,5-6 to the allowed list.
console(config-if)# switchport trunk allowed vlan add 2,5-6
The switchport trunk allowed vlan Interface Configuration (Ethernet, port-channel)
mode command adds or removes VLANs to or from a trunk port.
Syntax
switchport trunk allowed vlan {add
Parameters
•
vlan-list —
add
VLAN IDs with a comma and no spaces. A hyphen designates a range of
IDs.
vlan-list
List of VLAN IDs to be added. Separate nonconsecutive
vlan-list
| remove
}
34
490