iiiProtocols and standards ······································································································································· 72MSTP configuration task list ·········································································································································· 72Configuring MSTP ·························································································································································· 73Configuring an MST region ································································································································· 73Configuring the root bridge or a secondary root bridge·················································································· 74Configuring the work mode of an MSTP device ································································································ 75Configuring the priority of a device ···················································································································· 76Configuring the maximum hops of an MST region ··························································································· 76Configuring the network diameter of a switched network ················································································ 77Configuring timers of MSTP·································································································································· 77Configuring the timeout factor ····························································································································· 78Configuring the maximum port rate ···················································································································· 79Configuring ports as edge ports·························································································································· 79Configuring path costs of ports···························································································································· 80Configuring port priority······································································································································· 82Configuring the link type of ports ························································································································ 83Configuring the mode a port uses to recognize/send MSTP packets ····························································· 84Enabling the output of port state transition information ···················································································· 84Enabling the MSTP feature ··································································································································· 85Performing mCheck ··············································································································································· 85Configuring Digest Snooping······························································································································· 86Configuring No Agreement Check······················································································································ 88Configuring protection functions·························································································································· 90Displaying and maintaining MSTP······························································································································· 93MSTP configuration example ········································································································································ 94BPDU tunneling configuration ···································································································································99Introduction to BPDU tunneling ····································································································································· 99Background···························································································································································· 99BPDU tunneling implementation·························································································································100Configuring BPDU tunneling ·······································································································································101Configuration prerequisites ································································································································101Enabling BPDU tunneling····································································································································102Configuring destination multicast MAC address for BPDUs ···········································································102BPDU tunneling configuration examples····················································································································103BPDU tunneling for STP configuration example ·······························································································103BPDU tunneling for PVST configuration example·····························································································104VLAN configuration ················································································································································ 106Introduction to VLAN ···················································································································································106VLAN overview····················································································································································106VLAN fundamentals·············································································································································107Types of VLAN ·····················································································································································108Configuring basic VLAN settings································································································································108Configuring basic settings of a VLAN interface ·······································································································109Port-based VLAN configuration ··································································································································110Introduction to port-based VLAN ·······················································································································110Assigning an access port to a VLAN ················································································································111Assigning a trunk port to a VLAN······················································································································112Assigning a hybrid port to a VLAN···················································································································113Port-based VLAN configuration example··········································································································114MAC-based VLAN configuration································································································································116Introduction to MAC-based VLAN ·····················································································································116Configuring MAC-based VLAN ·························································································································117MAC-based VLAN configuration example ·······································································································120