To manually bind ports, use the commands:
configure
stpd stpd_name
add
vlan
vlan_name
ports [all | port_list] {[dot1d | emistp | pvst-plus]}
configure
vlan vlan_name
add
ports [all | port_list] {tagged {} | untagged} stpd
stpd_name {[dot1d | emistp | pvst-plus]}
The first command adds all ports or a list of
ports within the specified VLAN to an STPD. For EMISTP and PVST+,
the carrier VLAN must already exist on the same set of ports. The second command adds all
ports or a list of ports to the specified VLAN and STPD at the same time. If the ports are
added to the VLAN but not to the STPD, the ports remain in the VLAN.
For EMISTP and PVST+, if the specified VLAN is
not the carrier VLAN and the specified ports are not bound to the carrier VLAN, the system
displays an error message. If you configure MSTP on your
switch, MSTP does not need carrier VLANs.
Note
The carrier VLAN's ID must be identical to the ID
of the
STP domain.
If you add a protected VLAN or port,
that addition inherits the carrier VLAN‘s encapsulation mode, unless you specify the
encapsulation mode when you execute the
configure
stpd add vlan or
configure vlan add ports
stpd commands. If you specify an encapsulation mode (dot1d, emistp, or
pvst-plus), the STP port mode is changed to match; otherwise, the STP port inherits either
the carrier VLANs encapsulation mode on that port or the STPD‘s default encapsulation
mode.
For MSTP, you do not need carrier a VLAN. A CIST controls the
connectivity of interconnecting MSTP regions and sends BPDUs across the regions to
communicate region status. You must use the dot1d encapsulation mode in an MSTP
environment. For more information about MSTP, see the section Multiple Spanning Tree Protocol.