C
ONFIGURING
THE
S
WITCH
3-154
CLI – The following example adds tagged and untagged ports to
VLAN 2.
Adding Static Members to VLANs (Port Index)
Use the VLAN Static Membership by Port menu to assign VLAN groups
to the selected interface as a tagged member.
Command Attributes
• Interface – Port or trunk identifier.
• Member – VLANs for which the selected interface is a tagged
member.
• Non-Member – VLANs for which the selected interface is not a
tagged member.
Console(config)#interface ethernet 1/1 4-168
Console(config-if)#switchport allowed vlan add 2 tagged 4-239
Console(config-if)#exit
Console(config)#interface ethernet 1/2
Console(config-if)#switchport allowed vlan add 2 untagged
Console(config-if)#exit
Console(config)#interface ethernet 1/9
Console(config-if)#switchport allowed vlan add 2 tagged