User’s Manual of WGSD-1022/WGSD-8000
- 350 –
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.
Syntax
switchport trunk native vlan vlan-id
no switchport trunk native vlan
vlan-id
— Valid VLAN ID of the active VLAN.
Default Configuration
VLAN ID=1
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
This command has the following consequences: incoming untagged frames are assigned to this VLAN and outgoing traffic in
this VLAN on this port is sent untagged (despite the normal situation where traffic sent from a trunkmode port is all tagged).
The command adds the port as a member in the VLAN. If the port is already a member in the VLAN (not as a native), it should
be first removed from the VLAN.
Example
The following example e8, in trunk mode, is configured to use VLAN number 123 as the "native" VLAN.
Console (config)#
interface ethernet e8
Console (config-if)#
switchport trunk native vlan
123
5.27.11 switchport general allowed vlan
The
switchport general allowed vlan
interface configuration command adds or removes VLANs from a general port.
Syntax
switchport general allowed vlan add vlan-list
[
tagged
|
untagged
]
switchport general allowed vlan 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 designates a range of IDs.
Содержание WGSD-1022
Страница 136: ...User s Manual of WGSD 1022 WGSD 8000 136 ...
Страница 152: ...User s Manual of WGSD 1022 WGSD 8000 152 Figure 4 82 Flash Logs screen ...
Страница 200: ...User s Manual of WGSD 1022 WGSD 8000 200 ...