beautypg.com

12 switchport general pvid, Default configuration, Command mode – Planet Technology WGSW-48040 User Manual

Page 340: User guidelines, Example, Syntax

background image

User’s Manual of WGSW-24020/WGSW-48040

-34

ƒ

tagged — Sets the port to transmit tagged packets for the VLANs. If the port is added to a VLAN without specifying

tagged or untagged the default is tagged.

ƒ

untagged — Sets the port to transmit untagged packets for the VLANs.

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, 5, and 6 to the allowed list.

Console (config)# interface ethernet e8

Console (config-if)# switchport general allowed vlan add 2,5,6 tagged

5.27.12 switchport general pvid

The switchport general pvid interface configuration command configures the PVID when the interface is in general mode. To

configure the default value, use the no form of this command.

Syntax

switchport general pvid vlan-id

no switchport general pvid

ƒ

vlan-id — PVID (Port VLAN ID). The vlan-id may belong to a non-existent VLAN.

Default Configuration

VLAN ID=1

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 configure the PVID for e8, when the interface is in general mode.

This manual is related to the following products: