Allied Telesis AT-9000/28POE Switch User Manual


  Open as PDF
of 1480
 
Chapter 48: Port-based and Tagged VLAN Commands
724
Ports can be tagged members of more than one VLAN at a time.
The specified VLANs must already exist. To create VLANs, see
“VLAN” on page 728.
Adding a port as a tagged member of a VLAN does not change its
other tagged and untagged VLAN assignments, because ports can
be tagged members of more than one VLAN at a time. For
instance, if you add port 6 as a tagged port to a new VLAN, there is
no change to the port’s other tagged and untagged VLAN
memberships.
Here are the guidelines to removing tagged ports from VLANs:
Removing a tagged port from a VLAN does not change any of its
other tagged and untagged VLAN assignments.
Ports that are set to the authenticator or supplicant role for 802.1x
port-based network access control must be changed to the 802.1x
none role before they can be removed from a VLAN. You can
reassign their roles after you change their VLAN assignments.
Confirmation Command
“SHOW VLAN” on page 716
Examples of Adding Tagged Ports to VLANs
This example designates port 5 as a tagged port and adds it to the VLAN
with a VID of 22:
awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.5
awplus(config-if)# switchport mode trunk
awplus(config-if)# switchport trunk allowed vlan add 22
This example designates ports 18 to 21 as tagged ports and adds them to
the VLANs with VIDs of 7 and 9:
awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.18-port1.0.21
awplus(config-if)# switchport mode trunk
awplus(config-if)# switchport trunk allowed vlan add 7,9
This example adds port 15 as a tagged port to all the VLANs. It assumes
that the port is already designated as a tagged port:
awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.15
awplus(config-if)# switchport trunk allowed vlan all