Chapter 34 IEEE 802.1Q Tagged VLAN Commands

Figure 162 port default vid Command Example

sysname(config)# interface port-channel 1-5 sysname(config-interface)# pvid 200

34.5.2 Set Acceptable Frame Type

Syntax:

frame-type <alltagged>

where

<alltagged> = Specifies all Ethernet frames (tagged and untagged) or only tagged 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.

Figure 163 frame type Command Example

sysname(config)# interface port-channel 1-5 sysname(config-interface)# frame-type tagged

34.5.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.

Figure 164 no gvrp Command Example

sysname(config)# interface port-channel 1-5 sysname(config-interface)# no gvrp

34.5.4 Modify Static VLAN

Use the following commands in the config-vlan mode to configure the static VLAN table.

 

261

GS-3012/GS-3012F User’s Guide