Sunfire B1600 Switch User Manual


 
Chapter 3 General Management of the Switch 3-117
Scroll down to the VLAN membership table, and configure the VLANs required for
the selected interface.
FIGURE 3-38 The Up Links VLANs Window (cont’d)
3.4.4.2 Command-line Interface: Configuring VLAN Behavior for
Interfaces
This example sets port NETP4 to accept only tagged frames, assigns PVID 4 as the
native VLAN ID, enables GVRP, sets the GARP timers, and then sets the switchport
mode to hybrid.
Console(config)#interface ethernet NETP4
Console(config-if)#switchport acceptable-frame-types tagged
Console(config-if)#no switchport ingress-filtering
Console(config-if)#switchport allowed vlan add 4 tagged
Console(config-if)#switchport native vlan 4
Console(config-if)#switchport gvrp
Console(config-if)#garp timer join 10
Console(config-if)#garp timer leave 90
Console(config-if)#garp timer leaveall 2000
Console(config-if)#switchport mode hybrid
Console(config-if)#switchport forbidden vlan add 3
Console(config-if)#