34 switchport trunk allowed vlan, 34 switchport trunk allowed vlan -53 – PLANET WGSW-52040 User Manual
Page 284

17-53
appropriate. Therefore, add a port as trunk port and does not join any VLANs by default for enabling GVRP on trunk
port is appropriate. It is recommended to configure a port as trunk with this command before enabling GVRP. This
command can also be used when a port has been configured as trunk already, which equals to clearing allow-list and
quits all VLANs.
Parameters:
None
Command Mode:
Port mode
Default:
access mode.
Usage Guide:
Configure the port as trunk, enable it to leave all VLANs and clear allow-list.
Example:
Switch(config-if-ethernet1/1)#switchport mode trunk allow-null
17.1.34 switchport trunk allowed vlan
Command:
switchport trunk allowed vlan {WORD | all | add WORD | except WORD | remove WORD}
no switchport trunk allowed vlan
Function:
Set trunk port to allow VLAN traffic; the “no switchport trunk allowed vlan” command restores the default setting.
Parameter:
WORD: specified VIDs; keyword;
all: all VIDs, the range from 1 to 4094;
add: add assigned VIDs behind allow vlan;
except: all VID add to allow vlan except assigned VIDs;
remove: delete assigned allow vlan from allow vlan list.
Command mode: