Switchport Trunk Allowed Vlan; Switchport Trunk Native Vlan - Planet WGSD-1022 User Manual

8-port 10/100mbps + 2 gigabit tp/sfp combo managed ethernet switch
Hide thumbs Also See for WGSD-1022:
Table of Contents

Advertisement

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

5.27.10 switchport trunk native vlan

The switchport trunk native vlan interface configuration command defines the port as a member of the
specified VLAN, and the VLAN ID as the "port default VLAN ID (PVID)". To configure the default VLAN ID,
use the no form of this command.

Advertisement

Table of Contents
loading

Table of Contents