H3C Technologies H3C S5560 Series Switches User Manual

Page 10

Advertising
background image

iv

Configuring the timeout factor ······································································································································ 84

 

Configuring the BPDU transmission rate ······················································································································ 85

 

Configuring edge ports ················································································································································· 85

 

Configuration restrictions and guidelines ··········································································································· 85

 

Configuration procedure ······································································································································ 85

 

Configuring path costs of ports ···································································································································· 86

 

Specifying a standard for the device to use when it calculates the default path cost ··································· 86

 

Configuring path costs of ports ···························································································································· 89

 

Configuration example ········································································································································· 89

 

Configuring the port priority ········································································································································· 89

 

Configuring the port link type ······································································································································· 90

 

Configuration restrictions and guidelines ··········································································································· 90

 

Configuration procedure ······································································································································ 90

 

Configuring the mode a port uses to recognize and send MSTP packets ······························································· 91

 

Enabling outputting port state transition information ·································································································· 91

 

Enabling the spanning tree feature ······························································································································ 92

 

Enabling the spanning tree feature in STP/RSTP/MSTP mode ········································································· 92

 

Enabling the spanning tree feature in PVST mode····························································································· 92

 

Performing mCheck ························································································································································ 93

 

Configuration restrictions and guidelines ··········································································································· 93

 

Configuration procedure ······································································································································ 93

 

Configuring Digest Snooping ······································································································································· 94

 

Configuration restrictions and guidelines ··········································································································· 94

 

Configuration procedure ······································································································································ 94

 

Digest Snooping configuration example ············································································································· 95

 

Configuring No Agreement Check ······························································································································ 96

 

Configuration prerequisites ·································································································································· 97

 

Configuration procedure ······································································································································ 97

 

No Agreement Check configuration example···································································································· 98

 

Configuring TC Snooping ············································································································································· 98

 

Configuration restrictions and guidelines ··········································································································· 99

 

Configuration procedure ······································································································································ 99

 

Configuring protection functions ································································································································ 100

 

Enabling BPDU guard ········································································································································· 100

 

Enabling root guard ············································································································································ 100

 

Enabling loop guard ··········································································································································· 101

 

Configuring port role restriction ························································································································· 102

 

Configuring TC-BPDU transmission restriction ·································································································· 102

 

Enabling TC-BPDU guard···································································································································· 103

 

Enabling BPDU drop ··········································································································································· 103

 

Displaying and maintaining the spanning tree ········································································································· 104

 

Spanning tree configuration example ························································································································ 104

 

MSTP configuration example ····························································································································· 104

 

PVST configuration example ······························································································································ 108

 

Configuring loop detection ····································································································································· 112

 

Overview ······································································································································································· 112

 

Loop detection mechanism ································································································································· 112

 

Loop detection interval ········································································································································ 113

 

Loop protection actions ······································································································································· 113

 

Port status auto recovery ····································································································································· 114

 

Loop detection configuration task list ························································································································· 114

 

Enabling loop detection ·············································································································································· 114

 

Enabling loop detection globally ······················································································································· 114

 

Enabling loop detection on a port ····················································································································· 115

 

Advertising