R21xx-HP FlexFabric 11900 Layer 2 LAN Switching Configuration Guide

iv
Configuring protection functions ·································································································································· 88
Enabling BPDU guard ··········································································································································· 88
Enabling root guard ·············································································································································· 88
Enabling loop guard ············································································································································· 89
Configuring port role restriction ··························································································································· 89
Configuring TC-BPDU transmission restriction ···································································································· 90
Enabling TC-BPDU guard······································································································································ 90
Displaying and maintaining the spanning tree ··········································································································· 91
Spanning tree configuration example ·························································································································· 92
Network requirements ··········································································································································· 92
Configuration procedure ······································································································································ 92
Configuring loop detection ········································································································································ 96
Overview ········································································································································································· 96
Loop detection mechanism ··································································································································· 96
Loop detection interval ·········································································································································· 97
Loop protection actions ········································································································································· 97
Port status auto recovery ······································································································································· 97
Loop detection configuration task list ··························································································································· 98
Enabling loop detection ················································································································································ 98
Enabling loop detection globally ························································································································· 98
Enabling loop detection on a port ······················································································································· 98
Configuring the loop protection action ························································································································ 99
Configuring the global loop protection action ··································································································· 99
Configuring the loop protection action on a Layer 2 Ethernet interface ························································· 99
Configuring the loop protection action on a Layer 2 aggregate interface ····················································· 99
Setting the loop detection interval ································································································································ 99
Displaying and maintaining loop detection ·············································································································· 100
Loop detection configuration example ······················································································································· 100
Network requirements ········································································································································· 100
Configuration procedure ···································································································································· 100
Verifying the configuration ································································································································· 102
Configuring VLANs ················································································································································· 103
Overview ······································································································································································· 103
VLAN frame encapsulation ································································································································ 103
Protocols and standards ····································································································································· 104
Configuring basic VLAN settings································································································································ 104
Configuring basic settings of a VLAN interface ······································································································· 105
Configuring port-based VLANs ··································································································································· 106
Introduction to port-based VLAN ······················································································································· 106
Assigning an access port to a VLAN ················································································································ 107
Assigning a trunk port to a VLAN······················································································································ 108
Assigning a hybrid port to a VLAN ··················································································································· 109
Displaying and maintaining VLANs ··························································································································· 110
Port-based VLAN configuration example··················································································································· 111
Network requirements ········································································································································· 111
Configuration procedure ···································································································································· 111
Verifying the configuration ································································································································· 112
Configuring QinQ ··················································································································································· 113
Overview ······································································································································································· 113
How QinQ works ················································································································································ 113
Implementations of QinQ ··································································································································· 114
Protocols and standards ····································································································································· 115
Restrictions and guidelines ·········································································································································· 115