VLAN Configuration
3-1213
•Mode – Indicates VLAN membership mode for an interface. (Default: 1Q Trunk)
-1Q Trunk – Specifies a port as an end-point for a VLAN trunk. A trunk is a direct
link between two switches, so the port transmits tagged frames that identify the
source VLAN. Note that frames belonging to the port’s default VLAN (i.e.,
associated with the PVID) are also transmitted as tagged frames.
-Hybrid – Specifies a hybrid VLAN interface. The port may transmit tagged or
untagged frames.
•Trunk Member – Indicates if a port is a member of a trunk. To add a trunk to the
selected VLAN, use the last table on the VLAN Static Table page.
Web – Click VLAN, 802.1Q VLAN, Port Configuration or VLAN Trunk Configuration.
Fill in the required settings for each interface, click Apply.
Figure3-67 VLAN Port Configuration
CLI – This example sets port 3 to accept only tagged frames, assigns PVID 3 as the
native VLAN ID, enables GVRP, sets the GARP timers, and then sets the switchport
mode to hybrid.
Console(config)#interface ethernet 1/3 4-123
Console(config-if)#switchport acceptable-frame-types tagged 4-174
Console(config-if)#switchport ingress-filtering 4-174
Console(config-if)#switchport native vlan 3 4-175
Console(config-if)#switchport gvrp 4-185
Console(config-if)#garp timer join 20 4-186
Console(config-if)#garp timer leave 90 4-186
Console(config-if)#garp timer leaveall 2000 4-186
Console(config-if)#switchport mode hybrid 4-173
Console(config-if)#