78 C HAPTER 4: V IRTUAL LAN S (VLAN S )The following Switch 9100 example creates a VLAN named sales, withthe VLANid 120. The VLAN uses both tagged and untagged ports. Ports 1through 3 are tagged, and ports 4 and 7 are untagged. Note that whennot explicitly specified, ports are added as untagged.create vlan salesconfig sales tag 120config sales add port 1-3 taggedconfig sales add port 4,7The following Switch 9100 example creates a protocol-based VLANnamed ipsales. Ports 1, 3, and 6 through 8 are assigned to the VLAN.create vlan ipsalesconfig ipsales protocol ipconfig ipsales add port 1,3,6-8The following Switch 9100 example defines a protocol filter, myprotocoland applies it to the VLAN named myvlan. This is an example only, andhas no real-world application.create protocol myprotocolconfig protocol myprotocol add etype 0xf0f0config protocol myprotocol add etype 0xffffcreate vlan myvlanconfig myvlan protocol myprotocolDisplaying VLANSettingsTo display VLAN settings, use the following command:show vlan {}The show command displays summary information about each VLAN, andincludes the following:n Namen VLANidn How the VLAN was created (manually or by GVRP)n IP addressn STPD informationn Protocol informationn QoS profile information