27 switchport hybrid allowed vlan, 27 switchport hybrid allowed vlan -64 – PLANET XGS3-24042 User Manual

Page 218

Advertising
background image

12-64

leaves these VLANs if it joins them statically, and it sends message to GVRP module to enable

corresponding registered machine of the port to enter forbidden mode.

Example:

Port quits the corresponding VLAN and the corresponding registered machine of GVRP to enter

forbidden mode.

Switch(config-if-ethernet1/0/1)#switchport forbidden vlan all

12.1.27 switchport hybrid allowed vlan

Command:

switchport hybrid allowed vlan {WORD | all | add WORD | except WORD | remove WORD}

{tag | untag}

no switchport hybrid allowed vlan

Function:

Set hybrid port which allow the VLAN to pass with tag or untag method; the “no switchport hybrid

allowed vlan” command restores the default setting.

Parameter:

WORD: Set vlan List to allowed vlan, and the late configuration will cover the previous configuration;

all: Set all VLANs to allowed vlan;

add WORD: Add vlanList to the existent allowed vlanList;

except WORD: Set all VLANs to allowed vlan except the configured vlanList;

remove WORD: Delete the specific VLAN of vlanList from the existent allow vlanList;

tag: Join the specific VLAN with tag mode;

untag: Join the specific VLAN with untag mode.

Command mode:

Port Mode.

Default:

Deny all VLAN traffic to pass.

Usage Guide:

The user can use this command to set the VLANs whose traffic allowed to pass through the Hybrid

port, traffic of VLANs not included are prohibited. The difference between tag and untag mode by

setting allowed vlan: set VLAN to untag mode, the frame sent via hybrid port without VLAN tag; set

VLAN to tag mode, the frame sent via hybrid port with corresponding VLAN tag. The same VLAN

can not be allowed with tag and untag mode by a Hybrid port at the same time. If configure the tag

(or untag) allowed VLAN to untag (or tag) allowed VLAN, the last configuration will cover the before.

Example:

Set hybrid port allowed vlan 1, 3, 5-20 with untag mode and allow vlan 100; 300; 500-2000 with tag

Advertising
This manual is related to the following products: