Sunfire B1600 Switch User Manual


 
3-52 Sun Fire B1600 Blade System Chassis Switch Administration Guide June 2003
FIGURE 3-18 The Switch Config VLANs Window
Command-line Interface: Adding Ports Manually to a VLAN
The following example adds two ports to VLAN 3 (named R&D), forbids server
blade port SNP13 from joining the VLAN dynamically (using GVRP), and finally
displays the VLAN’s membership:
Console(config)#interface ethernet NETP1
Console(config-if)#switchport allowed vlan add 3 tagged
Console(config-if)#exit
Console(config)#interface ethernet NETP2
Console(config-if)#switchport allowed vlan add 3 untagged
Console(config-if)#exit
Console(config)#interface ethernet SNP13
Console(config-if)#switchport forbidden vlan add 3
Console(config-if)#end
Console#show vlan id 3
VLAN Type Name Status Ports/Channel groups
---- ------- ---------------- --------- -------------------------
3 Static R&D Active NETP1 NETP2
Console#