Switchport Trunk Allowed Vlan - Planet Networking & Communication WSGW-24020 User Manual

24/48-port 10/100/1000mbps with 2/4 shared sfp managed ethernet switch
Table of Contents

Advertisement

User Guidelines
The command automatically removes the port from the previous VLAN, and adds it to the new VLAN.
Example
The following example configures a VLAN ID of 23 to the untagged layer 2 VLAN interface number e8.
Console (config)# interface ethernet e8
Console (config-if)# switchport access vlan 23

5.27.9 switchport trunk allowed vlan

The switchport trunk allowed vlan interface configuration command adds or removes VLANs from a trunk port.
Syntax
switchport trunk allowed vlan {add vlan-list | remove vlan-list}
add vlan-list — List of VLAN IDs to add. Separate non consecutive VLAN IDs with a comma and no spaces. A hyphen
designates a range of IDs.
remove vlan-list — List of VLAN IDs to remove. Separate non consecutive VLAN IDs with a comma and no spaces. A
hyphen designate a range of IDs.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example shows how to add VLANs 2 and 5 to 8 to the allowed list of e8.
Console (config)# interface ethernet e8
Console (config-if)# switchport trunk allowed vlan add 2,5-8
User's Manual of WGSW-24020/WGSW-48040
-33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wsgw-48040

Table of Contents