ZyXEL Communications ES-2024 Switch User Manual


 
ES-2024 Series User’s Guide
243 Chapter 34 IEEE 802.1Q Tagged VLAN Commands
34.3.1 Set Port VID
Syntax:
pvid <VID>
where
This command sets the default VLAN ID on the port(s).
The following example sets the default VID to 200 on ports 1 to 5.
34.3.2 Set Acceptable Frame Type
Syntax:
frame-type <all|tagged>
where
This command sets the specified port to accept all Ethernet frames or only those with an IEEE
802.1Q VLAN tag.
The following example sets ports 1 to 5 to accept only tagged frames.
34.3.3 Enable or Disable Port GVRP
Use the gvrp command to enable GVRP on the port(s). Use the no gvrp command to disable
GVRP.
The following example turns off GVRP for ports 1 to 5.
<VID>
= Specifies the VLAN number between 1 and 4094.
sysname(config)# interface port-channel 1-5
sysname(config-interface)# pvid 200
<all|tagged>
= Specifies all Ethernet frames (both tagged and untagged) or just
tagged Ethernet frames .
sysname(config)# interface port-channel 1-5
sysname(config-interface)# frame-type tagged
sysname(config)# interface port-channel 1-5
sysname(config-interface)# no gvrp