beautypg.com

H3C Technologies H3C S12500-X Series Switches User Manual

Page 9

background image

iv

Configuration procedure ······································································································································ 92

 

No Agreement Check configuration example···································································································· 92

 

Configuring protection functions ·································································································································· 93

 

Enabling BPDU guard ··········································································································································· 93

 

Enabling root guard ·············································································································································· 93

 

Enabling loop guard ············································································································································· 94

 

Configuring port role restriction ··························································································································· 95

 

Configuring TC-BPDU transmission restriction ···································································································· 95

 

Enabling TC-BPDU guard······································································································································ 96

 

Displaying and maintaining the spanning tree ··········································································································· 96

 

Spanning tree configuration example ·························································································································· 97

 

Network requirements ··········································································································································· 97

 

Configuration procedure ······································································································································ 98

 

Verifying the configuration ··································································································································· 99

 

Configuring loop detection ····································································································································· 102

 

Overview ······································································································································································· 102

 

Loop detection mechanism ································································································································· 102

 

Loop detection interval ········································································································································ 103

 

Loop protection actions ······································································································································· 103

 

Port status auto recovery ····································································································································· 104

 

Loop detection configuration task list ························································································································· 104

 

Enabling loop detection ·············································································································································· 104

 

Enabling loop detection globally ······················································································································· 104

 

Enabling loop detection on a port ····················································································································· 104

 

Configuring the loop protection action ······················································································································ 105

 

Configuring the global loop protection action ································································································· 105

 

Configuring the loop protection action on a Layer 2 Ethernet interface ······················································· 105

 

Configuring the loop protection action on a Layer 2 aggregate interface ··················································· 105

 

Setting the loop detection interval ······························································································································ 106

 

Displaying and maintaining loop detection ·············································································································· 106

 

Loop detection configuration example ······················································································································· 106

 

Network requirements ········································································································································· 106

 

Configuration procedure ···································································································································· 107

 

Verifying the configuration ································································································································· 108

 

Configuring VLANs ················································································································································· 109

 

Overview ······································································································································································· 109

 

VLAN frame encapsulation ································································································································ 109

 

Protocols and standards ····································································································································· 110

 

Configuring basic VLAN settings································································································································ 110

 

Configuring basic settings of a VLAN interface ······································································································· 111

 

Configuring port-based VLANs ··································································································································· 112

 

Introduction to port-based VLAN ······················································································································· 112

 

Assigning an access port to a VLAN ················································································································ 113

 

Assigning a trunk port to a VLAN······················································································································ 114

 

Assigning a hybrid port to a VLAN ··················································································································· 115

 

Displaying and maintaining VLANs ··························································································································· 116

 

Port-based VLAN configuration example··················································································································· 117

 

Network requirements ········································································································································· 117

 

Configuration procedure ···································································································································· 117

 

Verifying the configuration ································································································································· 118

 

Configuring the private VLAN ································································································································ 119

 

Configuration task list ·················································································································································· 119

 

Configuration guidelines ············································································································································· 120

 

This manual is related to the following products: