35.3.1 Set Port VID
Syntax:
pvid <VID>
where
<VID> | = Specifies the VLAN number between 1 and 4094. |
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.
sysname (config)# interface
35.3.2 Set Acceptable Frame Type
Syntax:
where |
|
<alltagged | = Specifies all Ethernet frames (tagged and untagged), only tagged |
untagged> | Ethernet frames or only untagged Ethernet frames. |
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.
sysname (config)# interface
35.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.
sysname (config)# interface
274 | Chapter 35 IEEE 802.1Q Tagged VLAN Commands |