VLAN Commands
switchport trunk allowed vlan
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 490
34
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
switchport trunk allowed vlan
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
vlan-list
| remove
vlan-list
}
Parameters
add
vlan-list —
List of VLAN IDs to be added. Separate nonconsecutive
VLAN IDs with a comma and no spaces. A hyphen designates a range of
IDs.