S Series Switch Feature Start-Loop Prevention V1.0 D
-
Upload
astro-sutradhar -
Category
Documents
-
view
217 -
download
0
Transcript of S Series Switch Feature Start-Loop Prevention V1.0 D
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 1/300
S Series Switch
Feature Start - Loop PreventionFeatures
Issue 01
Date 2013-10-30
HUAWEI E!H"#L#$IES !#%& LD%
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 2/300
!op'ri(ht ) Huawei echno*o(ies !o%& Lt+% 2013% A** ri(hts reserve+%
No part of this document may be reproduced or transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.
ra+e,ars an+ Per,issions
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
"otice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. nless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided !A" #"! without warranties, guaranteesor representations of any kind, either e$press or implied.
The information in this document is sub%ect to change without notice. &very effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, e$press or implied.
Huawei Technologies Co., Ltd.
Address' Huawei #ndustrial (ase
(antian, Longgang
"hen)hen *++-
/eople0s 1epublic of China
2ebsite' http'33enterprise.huawei.com
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
i
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 3/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 'out This ou*ent
About This Document
OverviewThis dou*ent o*pares ad&antages and disad&antages of loop pre&ention features supported
y Huawei $ series swithes! It also pro&ides suggestions for using +thernet ring networ,s
and +thernet loop pre&ention tehnologies in &arious senarios!This dou*ent desries the trouleshooting of $+P" $TP" PP" $*art #in," +P$" and
other loop pre&ention features" inluding ele*entary ,nowledge" onfiguration guide"deploy*ent preautions" trouleshooting proedures" trouleshooting ases" and %'.s!
Intended Audience
This dou*ent is intended for/
Tehnial support engineers
aintenane engineers
Symbol ConventionsThe sy*ols that *ay e found in this dou*ent are defined as follows/
Symbol Description
'lerts you to a high ris, haard that ould" if not a&oided"
result in serious inury or death!
'lerts you to a *ediu* or low ris, haard that ould" if not
a&oided" result in *oderate or *inor inury!
'lerts you to a potentially haardous situation that ould" if
not a&oided" result in euip*ent da*age" data loss" perfor*ane deterioration" or unantiipated results!
Indiates a tip that *ay help you sol&e a prole* or sa&e your
ti*e!
Pro&ides additional infor*ation to e*phasie or supple*ent
i*portant points in the *ain te4t!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
ii
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 4/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 'out This ou*ent
Change HistoryChanges etween dou*ent issues are u*ulati&e! The latest dou*ent issue ontains all thehanges *ade in earlier issues!
Issue 01 !01"#10#"0$
This is the first offiial release!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
iii
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 5/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures Contents
Contents
About This Document%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ii
1 Overview%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%1
1!1 Introdution to #oop Pre&ention Tehnologies!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!1
1!2 Co*parison 5etween +thernet #oop Pre&ention Tehnologies!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !21!3 $enario $uggestions!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!6
1!3!1 7sage $uggestions for +thernet #oop Pre&ention Tehnologies!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!6
1!3!2 +4a*ple $enario 1/ $+P!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!6
1!3!3 +4a*ple $enario 2/ PP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!8
1!3!9 +4a*ple $enario 3/ $TP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:
1!3!6 +4a*ple $enario 9/ $+P;$TP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!<
1!3!8 +4a*ple $enario 6/ $+P;$*art #in,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=
! S&'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%11
2!1 >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11
2!1!1 %eature esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11
2!1!1!1 $+P ?or,ing Priniple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!11
2!1!1!2 $+P Conepts!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!12
2!1!1!3 $+P I*ple*entation!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!16
2!1!2 @ersion ifferene!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:
2!2 Configuration Auide!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !2<
2!2!1 $enario 1/ $+P >pen ing Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2<
2!2!1!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2<
2!2!1!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2<2!2!1!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2=
2!2!2 $enario 2/ $+P Closed ing Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!39
2!2!2!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!39
2!2!2!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!36
2!2!2!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!36
2!2!3 $enario 3/ Hyrid Betwor,ing of $+P and $*art #in,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!90
2!2!3!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!90
2!2!3!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!91
2!2!3!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!92
2!2!9 $enario 9/ Hyrid Betwor,ing of $+P and $TP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!9:
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
i&
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 6/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures Contents
2!2!9!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!9:
2!2!9!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!9<
2!2!9!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!9=
2!2!6 $enario 6/ Hyrid Betwor,ing of $+P and PP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!66
2!2!6!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!66
2!2!6!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!68
2!2!6!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!6:
2!3 Trouleshooting!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8<
2!3!1 Trouleshooting >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8<
2!3!2 %ault 1/ Traffi %orwarding %ails on $+P #in,s!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8<
2!3!2!1 %ault esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8<
2!3!2!2 Trouleshooting oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8<
2!3!2!3 Trouleshooting %lowhart!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8<
2!3!2!9 Trouleshooting Proedure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8=
2!3!3 Infor*ation Colletion ethods!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:1
2!3!3!1 Betwor, Topology!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:1
2!3!3!2 #ist of the display Co**ands!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:1
2!9 Trouleshooting Cases!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:2
2!9!1 Case 1/ 'fter the $+P Configuration on a %aulty Port Is eleted" a e&ie Cannot 5e anaged!!!!!!!!!!!!!!!!!!!!!!!! !!!:2
2!9!1!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:2
2!9!1!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:3
2!9!1!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:3
2!9!1!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:32!9!1!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:9
" ST'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%()
3!1 >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:6
3!1!1 %eature esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:6
3!1!1!1 5a,ground!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:6
3!1!1!2 Introdution to $TP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:6
3!1!1!3 $TP Conepts!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:8
3!1!1!9 $TP Protetion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:=
3!1!1!6 $TP Con&ergene +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<0
3!1!2 @ersion ifferene!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<1
3!1!3 I*ple*entation on e&ies of >ther @endors!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!<2
3!1!3!1 H3C!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<2
3!1!3!2 Ciso!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<2
3!2 Configuration Auide!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !<9
3!2!1 $enario 1/ Configuring 5asi $TP %untions!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<9
3!2!1!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<9
3!2!1!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<9
3!2!1!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<6
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
&
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 7/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures Contents
3!2!2 $enario 2/ Configuring 5asi $TP %untions!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<:
3!2!2!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<:
3!2!2!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<<
3!2!2!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<=
3!2!3 $enario 3/ Configuring Huawei $withes to Co**uniate ?ith a Ciso $with!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!=6
3!2!3!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=6
3!2!3!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=8
3!2!3!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=8
3!2!9 eploy*ent Preautions!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111
3!2!9!1 Is the pdu enale Co**and Configured on the +th-Trun, 'fter $TP Is +naled on 5o4 $withes!!!!!!!!!!!!!!!111
3!2!9!2 'fter $TP Is +naled on an +th-Trun," Change the Cost of the +th-Trun, to 5e $*aller than the Cost of
Physial Ports!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!112
3!3 Trouleshooting!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!112
3!3!1 Trouleshooting >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!1123!3!2 %ault 1/ Traffi Cannot 5e Trans*itted $taly on the $TP Betwor,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!113
3!3!2!1 %ault esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!113
3!3!2!2 Trouleshooting oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!119
3!3!2!3 Trouleshooting %lowhart!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!116
3!3!2!9 Trouleshooting Proedure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!118
3!3!3 %ault 2/ ' Port Cannot Con&erge apidly!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!11=
3!3!3!1 %ault esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11=
3!3!3!2 Trouleshooting oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11=
3!3!3!3 Trouleshooting %lowhart!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!120
3!3!3!9 Trouleshooting Proedure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!121
3!3!9 %ault 3/ CP7 7sage Is High on an $TP-enaled e&ie!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!123
3!3!9!1 %ault esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!123
3!3!9!2 Trouleshooting oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!123
3!3!9!3 Trouleshooting %lowhart!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!129
3!3!9!9 Trouleshooting Proedure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!129
3!3!6 Infor*ation Colletion ethods!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!12=
3!3!6!1 Betwor, Topology!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!12=
3!3!6!2 #ist of the display Co**ands!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!12=
3!9 Trouleshooting Cases!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!131
3!9!1 Case 1/ 'fter an $TP-enaled Port Is $hut own and estored" $TP Cannot Con&erge .ui,ly!!!!!!!!!!!!!!!!!! !!131
3!9!1!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!131
3!9!1!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!131
3!9!1!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!131
3!9!1!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!132
3!9!1!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!132
3!9!2 Case 2/ e*er Ports of an +th-Trun, 're own and $er&ies 're Interrupted!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!! !132
3!9!2!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!132
3!9!2!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!133
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
&i
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 8/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures Contents
3!9!2!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!133
3!9!2!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!139
3!9!2!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!139
3!9!3 Case 3/ ifferent $TP egion Configurations esult in the $a*e Con&ergene of ultiple Instanes!!!!!!!!!!!!!139
3!9!3!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!139
3!9!3!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!136
3!9!3!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!136
3!9!3!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!136
3!9!3!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!138
3!9!9 Case 9/ Pa,ets Trigger oot Protetion and $er&ies 're Interrupted!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!138
3!9!9!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!138
3!9!9!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!138
3!9!9!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!138
3!9!9!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!13:
3!9!9!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!13:
* ++''%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%1",
9!1 PP >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!13<
9!1!1 %eature esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!13<
9!1!1!1 5asi PP Conepts!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!13<
9!1!1!2 PP Pa,ets!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!190
9!1!1!3 PP ?or,ing Priniples!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!191
9!2 Configuration Auide!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !199
9!2!1 $enario 1/ Configuring $ingle PP ing with a $ingle Instane!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!199
9!2!1!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!199
9!2!1!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!196
9!2!1!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!196
9!2!2 $enario 2/ Configuring Interseting PP ings with a $ingle Instane!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !160
9!2!2!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!160
9!2!2!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!161
9!2!2!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!161
9!2!3 $enario 3/ Configuring Interseting PP ings with ultiple Instanes!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!181
9!2!3!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!181
9!2!3!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!183
9!2!3!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!189
9!2!9 eploy*ent Preautions!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1:=
9!2!9!1 Che, that 'll $withes on the PP ing Ha&e the $a*e ?or,ing ode!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1:=
9!2!9!2 $uppression of 7n,nown 7niast Traffi Cannot 5e Configured on Trans*it Bodes of the P ing!!!!!!!!!! !!1<0
9!2!9!3 #TD#5T and PP Cannot 5e Configured $i*ultaneously on the $a*e Port!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<0
9!3 Trouleshooting!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<0
9!3!1 Trouleshooting >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<0
9!3!2 'n PP Te*porary #oop >urs!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
&ii
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 9/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures Contents
9!3!2!1 %ault esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<1
9!3!2!2 Trouleshooting oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<1
9!3!2!3 Trouleshooting %lowhart!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<2
9!3!2!9 Trouleshooting Proedure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<2
9!3!3 Infor*ation Colletion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<6
9!3!3!1 Betwor, Topology!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<6
9!3!3!2 display Co**and #ist!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<6
9!9 Trouleshooting Cases!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<8
9!9!1 $with Ports Eoin @#'B 1 y efault! @#'B 1 Is Bot Configured as Proteted @#'B ?hen PP ulti-
Instane Is Configured" Causing an PP Te*porary #oop!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!1<8
9!9!1!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<8
9!9!1!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<8
9!9!1!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<:
9!9!1!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<:9!9!1!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<<
9!9!2 ulti-Instane Configuration Causes an PP #oop!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<<
9!9!2!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<<
9!9!2!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<<
9!9!2!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1<=
9!9!2!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=0
9!9!2!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=0
9!9!3 'C 'ddress %orwarding +ntries and 'P +ntries Cannot 5e 7pdated 5eause PP aster Bode and
Trans*it Bodes ?or, in ifferent odes!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!1=1
9!9!3!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=1
9!9!3!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=1
9!9!3!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=1
9!9!3!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=2
9!9!3!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=2
) Smart -in.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%1/"
6!1 $*art #in, >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=3
6!1!1 %eature esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=3
6!1!1!1 5asi Priniples and Conepts!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=3
6!1!1!2 Charateristis!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=3
6!1!2 @ersion ifferene!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=9
6!2 Configuration Auide!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !1=9
6!2!1 $enario 1/ Configuring #oad 5alaning 5etween 'ti&e and $tandy #in,s of a $*art #in, Aroup!!!!!!!!! !!!!!!!!1=9
6!2!1!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=9
6!2!1!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=6
6!2!1!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1=6
6!2!2 $enario 2/ Configuring 'ssoiation 5etween onitor #in, and $*art #in,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!! !1==
6!2!2!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1==
6!2!2!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!200
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
&iii
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 10/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures Contents
6!2!2!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!200
6!2!3 eploy*ent Preautions!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!206
6!2!3!1 'll Ports on the $*art #in, ing ust 5e +naled to eei&e %lush Pa,ets!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!206
6!3 Trouleshooting!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!206
6!3!1 Trouleshooting >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!206
6!3!2 'ti&eD$tandy #in, $witho&er %ails in a $*art #in, Aroup!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!206
6!3!2!1 %ault esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!206
6!3!2!2 Trouleshooting oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!206
6!3!2!3 Trouleshooting %lowhart!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!208
6!3!2!9 Trouleshooting Proedure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!20:
6!3!3 onitor #in, Aroup $tatus Is Inorret!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!20<
6!3!3!1 %ault esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!20<
6!3!3!2 Trouleshooting oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!20<
6!3!3!3 Trouleshooting %lowhart!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!20=
6!3!3!9 Trouleshooting Proedure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!20=
6!3!9 Infor*ation Colletion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!210
6!3!9!1 Betwor, Topology!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!210
6!3!9!2 display Co**and #ist!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!210
6!9 Trouleshooting Cases!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!211
6!9!1 $*art #in, ulti-Instane Is Configured to 5alane #oad! 'fter that" 'n +rror >urs ?hen the $TP egion Is
odified!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!211
6!9!1!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !211
6!9!1!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!211
6!9!1!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!212
6!9!1!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!212
6!9!1!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!213
6!9!2 $er&ies 're Interrupted 'fter an 'ti&eD$tandy #in, $witho&er >urs in the $*art #in, Aroup!!!!!!!!!!!!!!!!!!213
6!9!2!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!213
6!9!2!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!219
6!9!2!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!219
6!9!2!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!219
6!9!2!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!219
&+'S Overview%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%!1)
8!1 Introdution to +P$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!216
8!1!1 +P$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!216
8!1!1!1 5asi +P$ Conepts!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!216
8!1!1!2 +P$ $ingle-ring Priniple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !220
8!1!1!3 +P$ ulti-ring Priniple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!226
8!1!1!9 +P$ ulti-instane!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!22<
8!1!2 @ersion ifferene!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!230
8!2 Configuration Auide!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !231
8!2!1 $enario 1/ Configuring a $ingle +P$ Instane!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!231
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
i4
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 11/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures Contents
8!2!1!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!231
8!2!1!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!232
8!2!1!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!233
8!2!2 $enario 2/ Configuring +P$ ulti-instane!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!23:
8!2!2!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!23:
8!2!2!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!23<
8!2!2!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!23=
8!2!3 eploy*ent Preautions!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!298
8!2!3!1 'ssoiate +thernet C% with +P$ ?hen an Inter*ediate Trans*ission e&ie Is eployed on an +P$ ing
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!298
8!3 Trouleshooting!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!29:
8!3!1 Trouleshooting >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!29:
8!3!2 Traffi %orwarding %ails on an +P$ #in,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!29:
8!3!2!1 %ault esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!29:8!3!2!2 Trouleshooting oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!29:
8!3!2!3 Trouleshooting %lowhart!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!29:
8!3!2!9 Trouleshooting Proedure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!29<
8!3!3 Infor*ation Colletion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!260
8!3!3!1 Betwor, Topology!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!260
8!3!3!2 display Co**and #ist!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!260
8!9 Trouleshooting Cases!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!262
8!9!1 +P$ Cannot ?or, Properly ?hen the $with Connets to an TB e&ie!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!262
8!9!1!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!262
8!9!1!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!262
8!9!1!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!262
8!9!1!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!263
8!9!1!6 $u**ary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!263
( -DT-2DT%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%!)*
:!1 #TF#5T >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!269
:!1!1 #oop etetion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!269
:!1!2 #oopa, etetion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!266
:!1!3 @ersion ifferene!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!26<:!2 Configuration Auide!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !26=
:!2!1 Configuring #oop etetion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!26=
:!2!1!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!26=
:!2!1!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!26=
:!2!1!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!26=
:!2!2 Configuring #oopa, etetion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!280
:!2!2!1 Betwor,ing esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!280
:!2!2!2 Configuration oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!281
:!2!2!3 Configuration +4a*ple!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!281
:!2!3 eploy*ent Preautions!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!282
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
4
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 12/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures Contents
:!2!3!1 o Bot Configure the 5lo, or $hutdown 'tion for the 7plin, Interfae ?hen #oop etetion Is +naled! !282
:!2!3!2 $et the eo&ery Ti*e of the 5lo,ed Interfae and Configure the Trap %untion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!283
:!3 Trouleshooting!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!289
:!3!1 Trouleshooting >&er&iew!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!289
:!3!2 Chassis $with Configured with #oop etetion Cannot etet #oops!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!289
:!3!2!1 %ault esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!289
:!3!2!2 Trouleshooting oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!289
:!3!2!3 Trouleshooting %lowhart!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!286
:!3!2!9 Trouleshooting Proedure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!286
:!3!3 $with Configured with #oopa, etetion Cannot etet #oops!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!288
:!3!3!1 %ault esription!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!288
:!3!3!2 Trouleshooting oad*ap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!288
:!3!3!3 Trouleshooting %lowhart!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!28:
:!3!3!9 Trouleshooting Proedure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!28:
:!3!9 Infor*ation Colletion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!28<
:!3!9!1 Betwor, Topology!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!28<
:!3!9!2 display Co**and #ist!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!28<
:!9 Trouleshooting Cases!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:0
:!9!1 $2:00$I Configured with #oopa, etetion Cannot etet #oops!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:0
:!9!1!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:0
:!9!1!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:0
:!9!1!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:0
:!9!1!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:0:!9!2 $6:00 Configured with #oopa, etetion in 7ntagged ode Cannot etet #oops!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:0
:!9!2!1 $y*pto* and Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:0
:!9!2!2 oot Cause!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:1
:!9!2!3 Identifiation ethod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:1
:!9!2!9 $olution!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:1
, 3A4%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%!(!
<!1 ?hat Is the estination 'C 'ddress of $+P Pa,ets!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!2:2
<!2 ?hih Interfae 5lo,ing odes oes $+P $upport!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!2:2
<!3 'fter the $+P Topology Changes" ?hih Protools Can 5e Instruted to 7pdate %orwarding +ntries!!!!!!!!!!!!! !!!!!2:2
<!9 ?hat Is the ifferene 5etween pdu enale and pdu ridge enale on the Chassis $with Interfae!!!!!!!!!!!!!!!!!2:3
<!6 ?hy the $with Is Bot the oot 5ridge 'fter stp root pri*ary Is Configured Aloally!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!2:3
<!8 ?hat oes the essage 'ge %ield in $TP 5P7s epresent and How Is This %ield 7sed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!2:3
<!: How oes a $with Interfae Conneted to a Bon-Huawei e&ie Proess the eei&ed 5P7 in a ifferent
%or*at!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:9
<!< Can $ $eries $withes Transparently Trans*it 5P7s 5y efault!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!2:6
<!= Can $ $eries $withes Transparently Trans*it Ciso P@$T; Pa,ets 5y efault!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!! !2:6
<!10 o 5P7s $ent y $ $eries $withes Carry @#'B Tags 5y default" and How o $ $eries $withes Proess
Tagged 5P7s!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!2:6
<!11 ?hat Is the estination 'C 'ddress of PP Pa,ets!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!! !!2:6
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
4i
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 13/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures Contents
<!12 ?hat 're the Preautions for Configuring PP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!2:8
<!13 How oes PP I*ple*ent %ast $withing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:8
<!19 ?hy $tatistis on Health Pa,ets Cannot 5e isplayed on the PP Transit Bode!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:8
<!16 How Is #oad 5alaning I*ple*ented ?hen PP Is eployed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2::
<!18 ?hat Is the a4i*u* Bu*er of e&ies That Can e Configured on an PP ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!2::
<!1: Can $*art #in, and onitor #in, 5e Configured on an +th-Trun,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2::
<!1< Can onitor #in, 5e 7sed $eparately!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2::
<!1= ?hat Is +P$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2::
<!20 ?hat Is the estination 'C 'ddress of 'P$ P7s!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2::
<!21 Can +P$-enaled $ $eries $withes Connet to Bon-Huawei e&ies!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!2:<
<!22 o $ $eries $withes $upport $urings!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!2:<
<!23 oes +P$ on $ $eries $withes $upport #oad 5alaning!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:<
<!29 Can +P$ 5e 7sed with >ther ing Betwor, Protools on the $a*e Betwor,ing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:<
<!26 Can +P$ 5e Configured on an +th-Trun,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:<
<!28 ?hat Is the ifferene 5etween #oopa, etetion and #oop etetion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:<
<!2: ?hat Is the Inter&al for $ending #oopa, etetion Pa,ets on an Interfae and ?hat Is the ifferene 5etween
the #oopa, etetion Pa,ets $ent y Two Interfaes!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:=
<!2< 'fter #oop etetion or #oopa, etetion etets #oops" the Interfae Is 5lo,ed! oes the $with Continue to
$end Protool Pa,ets!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2:=
/ Switch -ogs and Diagnosis -ogs%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%!,0
10 ebugging Command Reference%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%!,!
10!1 $+P eugging Co**and eferene!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2<2
10!2 $TP eugging Co**and eferene!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2<3
10!3 PPP eugging Co**and eferene!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!2<3
10!9 $*art #in, eugging Co**and eferene!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2<3
10!6 +P$ eugging Co**and eferene!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !2<9
A Acronyms and Abbreviations%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%!,)
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
4ii
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 14/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
1 Overview
1%1 Introduction to -oop 'reventionTechnologies
Aenerally" redundant lin,s are used on an +thernet swithing networ, to enhane networ,
reliaility! Howe&er" the use of redundant lin,s *ay produe loops and ause looping of data
or protool pa,ets! This results in roadast stor*s and affets nor*al ser&ies! Therefore"
roadast stor*s aused y #ayer 2 loops *ust e pre&ented on +thernet networ,s!
In addition to the firstly used I+++ <02!1 $TP" *ultiple +thernet #ayer 2 loop pre&ention
and diagnosis tehnologies are de&eloped! Currently" Huawei +thernet swithes support loop pre&ention tehnologies inluding $+P" $TP" PP" $*art #in," loopa, detetion" loop
detetion" #P" and stor* ontrol! These tehnologies are used to re*o&e redundant loopson +thernet networ,s" diagnose faults aused y loops" or redue i*pat of loops!
This dou*ent analyes ad&antages" disad&antages" and usage senarios of &arious loop
pre&ention and diagnosis tehnologies to help networ, planning and *aintenane engineers
understand harateristis and usage senarios of these tehnologies! etailed priniples ofeah protool and tehnology are desried in hapters 2 to :!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 15/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
1%! Comparison 2etween &thernet -oop'revention Technologies
Table 1.1 Co*parison etween protetion protools of +thernet ring networ,s
'rotection'rotocol
Advantage Disadvantage
$+P Pro&ides a fast on&ergene speed!
+nsures that the on&ergene ti*e
is unrelated to the nu*er ofnodes on a ring networ,!
$upports open ring" losed ring"
and o*ple4 *ulti-ring!
?or,s with other +thernet ring protools!
Pro&ides easy *aintainaility and
logial topology display!
$upports easy onfiguration anddeploy*ent!
Pre&ents traffi fro* eing
swithed a, after lin, reo&ery!
Pro&ides fle4ile seletion poliy
of the lo,ed point and etter
supports traffi load alaning!
Pro&ides good roustness and doesnot ause roadast stor*s in
anor*al situations!
etets unidiretional lin,s
diretly!
$+P is the latest Huawei proprietary
protool and is not supported ynon-Huawei de&ies!
$TP Pro&ides good interoperaility as
an I+++ standard protool!
Pro&ides good physial topology
adaptaility and supports o*ple4topologies!
$upports senarios in whihnetwor, ales are onneted
inorretly and ales are
onneted efore onfiguration!
Pro&ides enhaned funtions thatan detet TG-G loopa, on
ports!
$TP on&ergene ti*e is long
(se&eral seonds)!
' larger networ, radius indiates
a longer on&ergene ti*e! It isreo**ended that the networ,
dia*eter should e s*aller than:!
$TP supports load alaning only
when $TP *ulti-instane isused!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 16/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
'rotection'rotocol
Advantage Disadvantage
PP Pro&ides a fast on&ergene speed!
The on&ergene ti*e an e asshort as 60 *s!
+nsures that the on&ergene ti*eis irrele&ant to the nu*er of
nodes on a ring networ, and the
networ, sale!
PP supports only single ring
topology and *aor ringDsu-ring topology!
PP annot e used with $TP properly!
PP has poor roustness and
*ay ause roadast stor*s in
anor*al situations!
PP annot e used to detetunidiretional lin, faults!
+ah ring *ust use a uniue
ontrol @#'B! any @#'Bs
are oupied when *ultiple
rings are deployed!
PP is a Huawei proprietary protool and is not supported y
non-Huawei de&ies!
The onfiguration is o*ple4!
$*art #in, Pro&ides a faster on&ergenespeed than $TP! The fastest speed
an e 60 *s!
Pro&ides easier onfiguration than
PP! $upports @#'B-ased load
alaning!
$*art #in, does not ha&e its ownhearteat pa,et detetion
*ehanis* and annot protet
lin,s aross de&ies!
$*art #in, is a lightweight protool that protets only
uplin,s and does not pro&ide
redundant protetion for the
upper-layer networ,!
#oop
etetion
%untions as a single-node
tehnology that does not reuire the
ooperation of other nodes!
'fter loop detetion is enaled on
*e*er ports of @#'Bs" the
deploy*ent of other ringnetwor, protetion protools is
restrited!
?hen loop detetion is enaled
on *any @#'Bs or *e*er ports of @#'Bs" the syste*CP7 is urdened!
etetion fra*es are roadast to
the entire networ," affeting the
networ,!
The syste* tra&erses all ports and
@#'Bs for loop detetion" andthe detetion speed is slow!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
3
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 17/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
'rotection'rotocol
Advantage Disadvantage
#oopa,
etetion
$upports independent deploy*ent
without using other protools!
etets loops on a port aused y
inorret optial fier onnetionor a hu fault!
etets loops on the networ,
onneted to a port!
?or,s with other ring networ,
protools ($TPDPPD$*art#in,D$+P) on the sa*e port!
etetion pa,ets are sent in
loopa, detetion! ?hen alarge nu*er of ports and
@#'Bs are deteted" the syste*
CP7 is urdened!
Tagged detetion fra*es are
roadast to the entire networ,!The networ, is affeted when
loopa, detetion is enaled on
*any ports!
#oopa, detetion annot e
used to detet loops on the
networ, onneted to a port in.in. senarios" inluding dot1
tunnel and seleti&e .in.!
#oopa, detetion annot eonfigured on an +th-Trun, or
its *e*er interfaes!
The detetion period is long!
#P etets inorret optial fieronnetions!
etets unidiretional lin, faults!
?or,s with ring networ, protetion protools to i*pro&e the fault
tolerane apaility of the
networ,!
#P is a Huawei proprietary protool and is not supported y
non-Huawei de&ies!
$tor*
Control
Bo detetion pa,et is sent and the
tehnology is si*ple and reliale!
Pre&ents #ayer 2 roadast stor*s
fro* affeting the entire networ,!$tor* ontrol has a good
adaptaility and no @#'B needs
to e speified! It supports the
aess port" trun, port" hyrid port" .in. port" and fle4ile
.in. loop detetion!
$tor* ontrol only suppresses
roadast stor*s ut annot detet
the fault point!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
9
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 18/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
1%" Scenario Suggestions
1%"%1 5sage Suggestions 6or &thernet -oop
'revention TechnologiesTale 1!1 lists suggestions for using +thernet loop pre&ention tehnologies in &arious
senarios!
Table 1.1 7sage suggestions for +thernet loop pre&ention tehnologies
Scenario Suggestion
Highly reliale and redundant
+thernet networ,s
$TP and $+P are preferential!
$TP/ suitale for o*ple4 #ayer 2 networ,s that
reuire low on&ergene perfor*ane and high
protool interoperaility!
$+P/ suitale for well-planned #ayer 2 networ,s that
reuire high on&ergene perfor*ane!
$enarios in whih a de&ie is
onneted to the networ,
through two uplin,s
$*art #in, is reo**ended!
$enarios in whih anor*al
loops *ust e pre&ented
$tor* ontrol an e deployed to pre&ent anor*al loops
fro* ausing roadast stor*s and affeting the entire
networ,! It is reo**ended that stor* ontrol edeployed on aess ports or on downlin, ports of
aggregation de&ies!
Inorret optial fieronnetions in networ,
deploy*ent and *aintenane
senarios
#P an e deployed to detet inorret optial fieronnetions!
Inorret optial fier
onnetions or hardware faults
on ports in networ,deploy*ent and *aintenane
senarios
If $TP is enaled on ports" it diretly detets TG-G
loopa, on the ports!
If $TP is not enaled on ports" loop detetion or
loopa, detetion is reo**ended to detet TG-Gloopa, on ports!
1%"%! &7ample Scenario 18 S&'
's shown in %igure 1!1" #$?1 to #$?19 for* *ultiple rings #$?1 to #$?6 are deployed
at the aggregation layer #$?8 to #$?19 are deployed at the aess layer! #ayer 2
forwarding is onfigured at the aess layer and aggregation layer!
$+P supports open ring" losed ring" and o*ple4 *ulti-ring! It pro&ides a fast on&ergene
speed" fle4ile networ,ing" and easy operation and *aintenane (>F)! $+P an e
deployed at the aess layer and aggregation layer to i*ple*ent lin, redundany! If thetopology of the aess layer hanges" the related de&ie in the $+P seg*ent sends %lush-%5
pa,ets to notify other de&ies so that these de&ies an update their 'C address tales and
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
6
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 19/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
'P tales! The edge de&ies of the $+P seg*ent send TC pa,ets to notify de&ies on theupper-layer networ, of the topology hange in the $+P seg*ent!
Figure 1.1 $+P *ulti-ring networ,ing
1%"%" &7ample Scenario !8 ++''' two-layer ring networ, arhiteture is often used on a etro +thernet! >ne layer is theaess layer" whih is loated etween P+-'AAs and 7P+s" suh as PP o*ain 2 and
PP o*ain 3 in %igure 1!1! The other layer is the aggregation layer" whih is loated
etween aggregation de&ies P+-'AAs" suh as PP o*ain 1 in %igure 1!1!
The networ, arhiteture has two reuire*ents! ?hen the ring networ, is o*plete" the
networ, is loop-free! ?hen the ring networ, is faulty" the networ, on&erges ui,ly torestore o**uniation etween nodes on the ring networ,! PP supports typial networ,ing
of one *aor ring and *ultiple su-rings" *eeting the two reuire*ents! PP rings an e
onfigured at oth the aggregation layer and aess layer! The two layers are tangent"
si*plifying the networ, onfiguration!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
8
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 20/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 PP *aor ring and su-ring networ,ing
1%"%* &7ample Scenario "8 ST'
To i*ple*ent redundany on a o*ple4 networ," networ, designers tend to deploy *ultiple
physial lin,s etween two de&ies" one of whih is the pri*ary lin, and the others are the
a,up lin,s! #oops our in this situation" ausing roadast stor*s or da*aging 'Caddress entries!
$TP o*plies with I+++ standards and enales Huawei de&ies to o**uniate with non-
Huawei de&ies! $TP has good physial topology adaptaility" supports o*ple4 topologies"and pre&ents loops when $TP is deployed on the networ,! 's shown in %igure 1!1" $TP is
enaled on the swithes and loops e4ist on the networ,! The swithes e4hange 5P7s to
diso&er loops on the networ, and seleti&ely lo, a redundant port to prune the networ,into a loop-free tree networ,! $TP pre&ents infinite looping of pa,ets to ensure pa,et
proessing apailities of de&ies!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 21/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 Typial $TP networ,ing
1%"%) &7ample Scenario *8 S&'9:ST'
's shown in %igure 1!1" *ultiple #ayer 2 swithing de&ies are deployed at the aess layer
and *ultiple #ayer 3 de&ies for* a ring networ, at the aggregation layer! $TP is deployed
at the aggregation layer to eli*inate redundant lin,s! In networ, apaity e4pansionsenarios" $+P an e deployed at the aess layer eause $+P supports open ring and has a
good on&ergene perfor*ane!
?hen a lin, on the ring networ, fails" $+P an fast restore o**uniation etween nodes on
the ring networ,! Betwor, topology hange notifiation an e deployed on edge de&ies in
the $+P seg*ent so that the $TP networ, an ,now topology hanges of the $+P networ,
in real ti*e! 'fter reei&ing TC pa,ets fro* the $+P networ," edge de&ies on the $TPnetwor, send TC pa,ets to notify other de&ies on the networ, of the topology hange! Then
all the de&ies delete the original 'C addresses and learn new 'C addresses to ensure
fast user traffi switho&er!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 22/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 Typial networ,ing of $+P and $TP
1%"% &7ample Scenario )8 S&'9Smart -in.
5oth $+P and $*art #in, ha&e a fast on&ergene speed! Therefore" the hyrid networ,ing of $+P and $*art #in, is often used in *ediu*-sied networ, en&iron*ents that ha&e high
perfor*ane reuire*ents on aess and aggregation de&ies! 's shown in %igure 1!1"*ultiple #ayer 2 swithing de&ies are deployed at the aess layer! $*art #in, is enaled on
the de&ies! ' de&ie has a *aster port and a sla&e port in a $*art #in, group and isonneted to the upper-layer networ, through two uplin,s! ultiple #ayer 2 de&ies for* a
ring at the aggregation layer and are enaled with $+P!
e&ies in the $+P seg*ent are enaled to proess $*art #in, %lush pa,ets! 'fter reei&ing
%lush pa,ets sent y de&ies on the lower-layer $*art #in, networ," edge de&ies on the
upper-layer $+P networ, send TC pa,ets to notify other de&ies in the $+P seg*ent of the
lower-layer networ, topology hange! Then all the de&ies delete the original 'C addressesand learn new 'C addresses to ensure uninterrupted traffi trans*ission!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 23/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 Typial networ,ing of $+P and $*art #in,
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
10
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 24/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
! S&'
!%1 Overview
!%1%1 3eature Description
The $*art +thernet Protetion ($+P) protool is a ring networ, protool applied to the lin,
layer of an +thernet networ,! $+P eli*inates loops on a #ayer 2 networ, y lo,ingredundant lin,s to pre&ent infinite pa,et trans*ission! This pre&ents roadast stor*s on the
networ,!
$+P has the following ad&antages/
Pro&ides a fast on&ergene speed!
$upports &arious types of o*ple4 networ,s! %or e4a*ple" a networ, running $+P an e onneted to an upper-layer networ, running $TP" $TP" $TP" or PP! $+P
supports networ,s with any topology and an display topologies! The displayed
topologies help users ui,ly find lo,ed ports and rapidly loate faults" i*pro&ing
*aintainaility!
+nales a de&ie on the +thernet networ, to seleti&ely lo, ports so that traffi is load
alaned!
Pre&ents traffi fro* eing swithed a, after lin, reo&ery" i*pro&ing networ,
staility!
!%1%1%1 S&' ;or.ing 'rinciple
$+P is a ring protool applied to the lin, layer of an +thernet networ,! $+P wor,s on the asis
of $+P seg*ents! ' *a4i*u* of two ports on a swithing de&ie an e added to the sa*e$+P seg*ent!
The loop protetion *ehanis* an e used in an $+P seg*ent to lo, a ertain port toeli*inate loops on the +thernet networ,! ?hen a lin, on the ring networ, fails" the de&ie
running $+P i**ediately unlo,s lo,ed ports and perfor*s lin, switho&er to restore
o**uniation etween nodes on the ring networ,!
>n a o**on $+P networ," a physial ring an only ha&e one $+P seg*ent onfigured and
one lo,ed port speified! ?hen the $+P seg*ent is in Co*plete state" the lo,ed port
prohiits all user pa,ets fro* passing through! Then all user pa,ets are only trans*ittedalong one path in the $+P seg*ent! 's a result" the lin, at the seondary edge port side
eo*es idle" wasting andwidth!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
11
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 25/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
To sol&e the andwidth wasting prole* and i*ple*ent load alaning" Huawei datao*de&ies pro&ide $+P *ulti-instane! $+P *ulti-instane allows a physial ring to e
onfigured with two logial rings" that is" two $+P seg*ents! +ah $+P seg*ent
independently detets the integrity of the physial ring and lo,s or unlo,s portsaordingly! The two $+P seg*ents do not affet eah other!
%or details aout $+P *ulti-instane" see $+P ulti-instane in setion 2!1!1!3$+PI*ple*entation!
!%1%1%! S&' Concepts
S&' <etwor. Architecture
's shown in %igure 1!1" the C+ is dual-ho*ed to the #ayer 2 networ, through #$?1 to
#$?6! The two edge de&ies #$?1 and #$?6 are not diretly onneted to eah other!
#$?1 to #$?6 for* an open ring networ,! This aess *ode will ause loops on the entirenetwor,! To pre&ent loops on the networ, and ensure lin, onneti&ity" you need to use a loop
protetion *ehanis*! %igure 1!1 shows a typial $+P-enaled open ring networ,! $+Ponepts are introdued ased on the figure!
Figure 1.1 $+P open ring networ,ing
$+P seg*ent
$+P wor,s on the asis of $+P seg*ents! 'n $+P seg*ent onsists of *ultipleinteronneted #ayer 2 swithing de&ies with the sa*e $+P seg*ent I and the sa*e
ontrol @#'B I!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
12
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 26/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
'n $+P seg*ent physially orresponds to a ring or linear +thernet topology! +ah $+Pseg*ent ontains a ontrol @#'B" edge ports" and o**on ports!
Control @#'B
In an $+P seg*ent" the ontrol @#'B is only used to trans*it $+P pa,ets!
+ah $+P seg*ent *ust e onfigured with a ontrol @#'B! 'fter a port is added to an$+P seg*ent onfigured with a ontrol @#'B" the port is auto*atially added to theontrol @#'B!
ifferent $+P seg*ents an use the sa*e ontrol @#'B!
7nli,e ontrol @#'Bs" data @#'Bs are used to trans*it data pa,ets!
Bode
' node refers to a #ayer 2 swithing de&ie added to an $+P seg*ent! +ah node an
ha&e no *ore than two ports that elong to the sa*e $+P seg*ent!
Port roles
's defined in the $+P protool" ports are lassified into nor*al ports and edge ports" as
desried in Tale 1!1!
Bor*ally" an edge port and a no-neighor edge port elong to different $+P seg*ents!
Table 1.1 Port roles
'ort Sub#port Description
+dge port Pri*ary edge port
'n $+P seg*ent has only one pri*ary edge port" whih isdeter*ined y the onfiguration and pri*ary edge port
eletion! The pri*ary edge port initiates pree*ption of the
lo,ed port" ter*inates pa,ets" and sends topology hange
notifiation *essages to other networ,s!
$eondary
edge port
'n $+P seg*ent has only one seondary edge port" whih is
deter*ined y the onfiguration and seondary edge porteletion! The seondary edge port ter*inates pa,ets and
sends topology hange notifiation *essages to other
networ,s!
Bo-neighor
pri*ary edge
port
The port on the edge of an $+P seg*ent is a no-neighor
edge port" whih is deter*ined y the onfiguration and no-
neighor edge port eletion! The no-neighor pri*ary edge
port ter*inates pa,ets and sends topology hangenotifiation *essages to other networ,s! The no-neighor
pri*ary edge port is usually used to o**uniate withde&ies of other &endors or Huawei de&ies that do notsupport $+P!
Bo-neighor
seondaryedge port
'n $+P seg*ent has only one no-neighor seondary edge
port" whih is deter*ined y the onfiguration and no-neighor seondary edge port eletion! The no-neighor
seondary edge port ter*inates pa,ets and sends topology
hange notifiation *essages to other networ,s! The no-neighor seondary edge port is usually used to o**uniate
with de&ies of other &endors or Huawei de&ies that do not
support $+P!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
13
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 27/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
'ort Sub#port Description
Co**on
port
- In an $+P seg*ent" all ports e4ept edge ports are o**on
ports!
' o**on port *onitors the status of the diretly onnetedlin, enaled with $+P" and sends *essages aout lin, status
hanges to the neighoring port! The neighoring port thenforwards the notifiation *essage to other ports in the $+P
seg*ent! %inally" the *essage reahes the pri*ary edge port!
The pri*ary edge port deter*ines how to proess thenotifiation *essage!
5lo,ed port
In an $+P seg*ent" so*e ports are lo,ed to pre&ent loops!
'ny port in an $+P seg*ent *ay e lo,ed if no lo,ed port is speified! ?hen an$+P seg*ent wor,s nor*ally" there is only one lo,ed port in the $+P seg*ent!
$tate of an $+P-enaled port
In an $+P seg*ent" an $+P-enaled port has two states" as desried in Tale 1!2!
Table 1.2 $tate of an $+P-enaled port
State Description
%orwarding ' port in %orwarding state not only forwards user traffi ut also sends and
reei&es $+P pa,ets!
isarding ' port in isarding state reei&es and sends $+P pa,ets!
The port state does not depend on the port role! ' port *ay e in %orwarding or isardingstate regardless of its role!
S&' 'ac.ets
Tale 1!3 desries the types of $+P pa,ets!
Table 1.3 $+P pa,et types
'ac.etType
Sub#type Description
Hello - The neighor negotiation *ehanis* is started after ports are added to an $+P seg*ent! 5y e4hanging
Hello pa,ets" a port sets up the neighor relationship
with the neighoring port! 'fter the neighor
negotiation sueeds" the ports ontinue to e4hangeHello pa,ets to detet the neighor status!
#$' #$' reuest
pa,et
'fter a port is enaled with $+P" the port periodially
sends #in, $tatus 'd&ertise*ent (#$') pa,ets to its
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
19
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 28/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
'ac.etType
Sub#type Description
neighoring port! 'fter the state *ahine of theneighoring port goes 7p" the two ports update their
#$5s! 'll the lin, topology infor*ation stored on the
port is updated!
#$' reply pa,et
TC - ?hen the topology of the loal $+P seg*ent hanges" a
Topology Change (TC) pa,et is sent to notify the
upper-layer networ, that the topology of the lower-layer
networ, has hanged! 'fter reei&ing the pa,et" nodeson the upper-layer networ, need to update their 'C
address forwarding tales and 'P tales! TC pa,ets
are sent y the edge de&ie etween the loal $+Pseg*ent and the upper-layer networ,!
A - ?hen the loal de&ie perfor*s an ati&eDstandyswitho&er" the de&ie sends an $+P Araeful estart(A) pa,et! The A pa,et is used to notify other
nodes to prolong the aging ti*e in #$' infor*ation of
the loal de&ie! 'fter the loal de&ie o*pletes theati&eDstandy switho&er" the de&ie needs to resend a
A pa,et to notify other nodes to restore the nor*al
aging ti*e in #$' infor*ation of the loal de&ie!
Pa,et for
pri*ary
edge port
eletion
- 'fter $+P is enaled on a port" the port onsiders itself
as the pri*ary edge port if it is ualified for the pri*ary
edge port eletion! In addition" the port periodially
sends pa,ets for pri*ary edge port eletion and does
not need to wait until the neighor negotiation sueeds!The pa,ets for pri*ary edge port eletion ontain the
port role (pri*ary edge port" seondary edge port" oro**on port)" ridge 'C address of the port" port I"
and integrity of the topology dataase!
Pree*ption pa,et
Pree*ptionreuest pa,et
The pree*ption pa,et is used to lo, a speified port!
Pree*ption pa,ets are sent y the eleted pri*ary edge port or the rother port of the no-neighor pri*ary edge
port!Pree*ption reply
pa,et
!%1%1%" S&' Implementation
<eighbor <egotiation :echanism
The neighor negotiation *ehanis* is started after ports are added to an $+P seg*ent! 5y
e4hanging Hello pa,ets" a port sets up the neighor relationship with the neighoring port!
'fter the neighor negotiation sueeds" the ports ontinue to e4hange Hello pa,ets todetet the neighor status!
Beighor negotiation pre&ents unidiretional lin,s eause neighor negotiation is
idiretional! Ports at oth ends of a lin, send Hello pa,ets to eah other! If a port does not
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
16
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 29/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
reei&e any Hello pa,et fro* the neighoring port" it onsiders that the neighoring port isown!
Beighor negotiation pro&ides neessary infor*ation for otaining the $+P seg*ent topology!Ports estalish neighor relationships through neighor negotiation and lin,s for* a o*plete
$+P seg*ent! The topology of the $+P seg*ent an e displayed!
S&' -in. Status Synchroni=ation and Topology Display
#in, status synhroniation
'fter neighor negotiation is o*plete" lin,s in an $+P seg*ent enter the lin, statesynhroniation stage! Bodes in the $+P seg*ent periodially send #$' pa,ets! 'fter
reei&ing #$' pa,ets fro* other nodes" all nodes update their lin, state dataases
(#$5s)! In this way" all nodes in the $+P seg*ent *aintain the sa*e #$5!
If the loal de&ie does not reei&e any #$' pa,et fro* its peer de&ie or other de&ies
in the $+P seg*ent within the period three ti*es as long as the period for sending #$' pa,ets" the #$5 sa&ing lin, status infor*ation of other de&ies on the loal de&ie
ages out!
?hen a faulty node in an $+P seg*ent reo&ers" the node needs to otain topology
infor*ation of all nodes in the $+P seg*ent in real ti*e! The node sends #$' reuest
pa,ets to a neighoring port! 'fter reei&ing the pa,ets" the neighoring port sends#$' 'CJ reply pa,ets to notify the reo&ered node of the latest lin, status!
Topology display
?ith the topology display funtion" you an &iew the topology with the highest networ,
onneti&ity on any de&ie in an $+P seg*ent! 'fter lin, status synhroniation" allde&ies display the sa*e topology!
Tale 1!1 desries $+P topology types!
Table 1.1 $+P topology type
Topology Type
Description +estriction Conditions
ing
topology
+ah port in the $+P
seg*ent has a
neighoring port in 7p
state and a rother port!That is" eah node has
two ports in the $+P
seg*ent!
If the pri*ary edge port is eleted on the ring"
the pri*ary edge port is listed first in the
topology infor*ation displayed on eah port!
If the pri*ary edge port is not eleted ut the
seondary edge port is eleted" the seondaryedge port is listed first in the topology
infor*ation displayed on eah port!
#inear
topology
'll topologies e4ept
ring topologies are
linear topologies!
%ind the two ports at oth ends of the lin,!
If one of the two ports is the pri*ary edge port"
the pri*ary edge port is listed first in the
topology infor*ation displayed on eah port!
If the pri*ary edge port does not e4ist ut the
seondary edge port e4ists" the seondaryedge port is listed first in the topology
infor*ation displayed on eah port!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
18
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 30/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
estrition onditions in Tale 1!1 ensure that all the nodes on a ring or linear topology display the sa*etopology infor*ation!
'rimary &dge 'ort &lection>nly ports that are onfigured as no-neighor edge ports" pri*ary edge ports" and seondaryedge ports an ta,e part in the pri*ary edge port eletion!
If only one port on a node is enaled with $+P" you *ust run a related o**and to set the port role toedge so that the port an funtion as an edge port!
's shown in %igure 1!2" when no lin, is faulty on the networ, and a port is enaled with $+P/
If the port is a o**on port" it does not ta,e part in the pri*ary edge port eletion! That
is" only P1 ports on #$?1 and #$?6 ta,e part in the pri*ary edge port eletion!
If roles of P1 ports on #$?1 and #$?6 are the sa*e" the port with a larger 'C
address is eleted as the pri*ary edge port!
'fter the pri*ary edge port is eleted" the port periodially sends pa,ets for pri*ary edge
port eletion and does not need to wait until the neighor negotiation sueeds! The pa,etsfor pri*ary edge port eletion ontain the port role (pri*ary edge port" seondary edge port"
or o**on port)" ridge 'C address of the port" port I" and integrity of the topology
dataase!
Figure 1.2 Pri*ary edge port eletion
's shown in %igure 1!2" if a lin, in the $+P seg*ent fails" P1 ports on #$?1 and #$?6
reei&e fault notifiation pa,ets or the P1 port on #$?6 does not reei&e any pa,et for
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 31/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
pri*ary edge port eletion after ti*eout! The P1 port on #$?1 eo*es the seondary edge port" and two seondary edge ports e4ist in the $+P seg*ent!
5oth the two seondary edge ports periodially send pa,ets for pri*ary edge port eletion!?hen all lin, faults in the $+P seg*ent are retified" the two seondary edge ports an
reei&e pa,ets for pri*ary edge port eletion sent y the peer end! They elet a new pri*aryedge port within an inter&al (1s y default)!
3le7ibly Speci6ying the 2loc.ed 'ort
Aenerally" a lo,ed port is one of the two ports that o*plete neighor negotiation last!
$o*eti*es" the negotiated lo,ed port *ay not e the e4peted one! Kou an fle4ily speify
a lo,ed port! The speified port is not lo,ed i**ediately! The lo,ed port will e*o&ed fro* the urrent lo,ed point to the speified point only after the pree*ption
*ehanis* wor,s!
Port lo,ing *odes
Kou an onfigure port lo,ing *odes to speify the loation of the lo,ed port! Tale2!1 desries the port lo,ing *odes supported y $+P!
Table 2.1 $+P port lo,ing *odes
:ode Description
$peifying the port
with the highest
priority as the lo,ed port
$+P o*pares port priorities as follows/
Co*pares onfigured port priority &alues! ' larger &alue indiates
a higher priority!
Co*pares the ridge 'C addresses of ports if their priority
&alues are the sa*e! ' s*aller ridge 'C address indiates a
higher priority! Co*pares port nu*ers if their ridge 'C addresses are the
sa*e! ' s*aller port nu*er indiates a higher priority!
$peifying the port
in the *iddle of the$+P seg*ent as the
lo,ed port
-
$peifying the lo,ed port
aording to the
onfigured hopounts of the ports
The hop ount of the pri*ary edge port is 1 and the hop ount of theneighoring port of the pri*ary edge port is 2! Hop ounts of other
ports inrease at a step of 1 in the downstrea* diretion of the
pri*ary edge port!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 32/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
:ode Description
$peifying the
lo,ed port
aording to thede&ie na*e and
port nu*er
'fter $+P is enaled" the port to e lo,ed is deter*ined y the
de&ie na*e and port na*e! 5efore speifying the lo,ed port"
you an use the display o**and to &iew details aout the urrentring topology" otain infor*ation aout all ports in the topology"
and speify the de&ie na*e and port na*e!
If the ring ontains se&eral de&ies with the sa*e de&ie na*e and
port na*e" the lo,ed port searhes these de&ies fro* the pri*ary
edge port and lo,s the first searhed de&ie with the de&ie na*eand port na*e!
If you hange the de&ie na*e or port na*e after speifying the port to e
lo,ed" the port annot pree*pt to e the lo,ed port!
Pree*ption funtion
'fter the port lo,ing *ode is speified" two pree*ption *odes deter*ine whether the lo,ed port is *o&ed fro* the urrent point to the speified point! The two *odes are
the pree*ption *ode and non-pree*ption *ode" as desried in Tale 2!2!
Table 2.2 $+P pree*ption *odes
'reemption:ode
Description
Bon-pree*ption In this *ode" when all lin, faults are retified or the last two ports
enaled with $+P o*plete the neighor negotiation" ports send
lo,ing status pa,ets to eah other! Then the port with the highest priority is lo,ed" and the other ports enter the %orwarding state!
Pree*ption
Pree*ption an e
perfor*ed only on
the de&ie where the
pri*ary edge port or
no-neighor pri*ary
edge port resides!
This *ode is lassified into the delayed pree*ption *ode and*anual pree*ption *ode!
elayed pree*ption
?hen the last faulty port reo&ers" the edge ports do not reei&e
any fault notifiation pa,et! If the pri*ary edge port does not
reei&e fault notifiation pa,ets within 3 seonds" it
i**ediately starts the delay ti*er! 'fter the delay ti*er e4pires"nodes in the $+P seg*ent start pree*ption of the lo,ed port!
anual pree*ptionIn this *ode" if the lin, status data of the pri*ary edge port and
seondary edge port is integrated" the pri*ary edge port or the
rother port of the no-neighor pri*ary edge port sends
pree*ption pa,ets to lo, the speified port! The porti**ediately sends a pa,et to ad&ertise its status after eing
lo,ed! The original lo,ed port enters the %orwarding state!
anual pree*ption is o*plete!
' de&ie an ha&e at *ost two ports in the sa*e $+P seg*ent! If one port is
the no-neighor pri*ary edge port" the other port is the rother port of the
no-neighor pri*ary edge port!
The sending of pree*ption pa,ets is deter*ined y whether the rother port
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 33/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
'reemption:ode
Description
of the no-neighor pri*ary edge port is the lo,ed port!
If the lo,ed port is the rother port of the no-neighor pri*ary edge
port" no pree*ption pa,et needs to e sent!
If the lo,ed port is not the rother port of the no-neighor pri*ary edge
port" the rother port of the no-neighor pri*ary edge port sends
pree*ption pa,ets!
Topology Change <oti>cation
Tale 2!3 desries the situations in whih the topology of the $+P-enaled networ, hanges!
Table 2.3 $+P topology hange notifiations
S&' TopologyChange<oti>cation
Description
Port faults ' port in a o*plete $+P seg*ent fails" as shown in %igure 1!3!
' port fault an e a lin, fault or the inorret neighor status on a port!
>ther ports in the $+P seg*ent reei&e the fault notifiation pa,et!
If the de&ie on whih the faulty port is loated has a port in
%orwarding state" the port sends %lush-%5 (%orwarding ataase)
pa,ets to other nodes to notify the* of the topology hange!
Port faults are
retified and lo,ed port
pree*ption ta,es
effet
%aults our in an $+P seg*ent! ?hen all faulty ports reo&er"
pree*ption of the lo,ed port is triggered!
Pree*ption of the lo,ed port is triggered y the pri*ary edge port! ?hen other ports in the $+P seg*ent reei&e pree*ption
pa,ets fro* the pri*ary edge port" they send %lush-%5 pa,ets to
other nodes in the $+P seg*ent to notify these nodes of the
topology hange!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
20
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 34/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.3 $+P topology hange notifiation
The funtion of ad&ertising $+P topology hanges is onfigured on a de&ie that is onneted to oth
upper-layer and lower-layer networ,s so that when the topology of either of the networ,s hanges" the
de&ie an infor* the other networ, of the hange!
Tale 3!1 desries topology hange notifiations!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
21
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 35/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Table 3.1 $+P topology hange notifiations
TopologyChange<oti>catio
n
Scenario Description Solution
%ro* a lower-
layer networ,
to an upper-layer networ,
' networ,
running $+P
is onnetedto an upper-
layer networ,
running other
protools!
The protoolsinlude $+P"
$TP" and
PP!
?hen the lo,ed port is *anually
hanged on the lower-layer $+P-
enaled networ," the topology of the$+P seg*ent hanges! 's the upper-
layer networ, annot detet the
topology hange" traffi is interrupted!
?hen a port is faulty on the lower-
layer $+P-enaled networ, and ausestopology hange" the upper-layer
networ, annot detet the topology
hange! 's a result" traffi isinterrupted!
Configure
$+P topology
hangenotifiation!
' host is
onneted to
an $+P-enaled
networ, using
a $*art #in,group!
?hen an ati&eDstandy lin,
switho&er is perfor*ed in the $*art
#in, group" the $*art #in, groupsends $*art #in, %lush pa,ets to the
re*ote de&ie in the $+P seg*ent! If
the de&ie in the $+P seg*ent annotidentify $*art #in, %lush pa,ets" the
de&ie annot detet the lower-layer
networ, topology hange! 's a result"
traffi is interrupted!
+nale
de&ies in the
$+P seg*entto proess
$*art #in,
%lush pa,ets!
%ro* an upper-
layer networ,to a lower-layer
networ,
' networ,
running $+Pis onneted
to an upper-
layer networ,
that isdeployed with
the C%
funtion!
?hen a fault ours on the upper-layer
networ, and auses topology hange"the lower-layer $+P-enaled networ,
annot detet the topology hange! 's
a result" traffi is interrupted!
Configure
assoiation etween $+P
and C%! 's
shown in
%igure 1!9" onfigure
assoiation
etween $+Pand C% on
#$?1!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
22
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 36/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.4 'ssoiation etween $+P and C%
's shown in %igure 1!9" assoiation etween $+P and C% is onfigured on #$?1! ?henC% detets a fault on the upper-layer networ," #$?1 notifies the >' *anage*ent
*odule of the fault y sending a C% pa,et to swith the $+P status of the port ound to
C% to own!
?hen the port on #$?1 ound to C% eo*es own" a port on #$?2 that is the
downstrea* peer de&ie of #$?1 needs to send %lush-%5 pa,ets to report the topology
hange to other nodes in the $+P seg*ent! 'fter other de&ies in the $+P seg*ent reei&e%lush-%5 pa,ets" the lo,ed port in the $+P seg*ent swithes to the %orwarding state and
sends %lush-%5 pa,ets to trigger other nodes in the $+P seg*ent to update their 'C
address tales and 'P tales! The lower-layer networ, then an detet faults on the upper-layer networ," ensuring reliale ser&ie trans*ission!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
23
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 37/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
S&' Topology Change Suppression
?hen the topology of an $+P seg*ent hanges" ports in the seg*ent send pa,ets to notifyde&ies in other seg*ents or the upper-layer networ,! Howe&er" ports in an $+P seg*ent *ay
generate a lot of topology hange (TC) notifiation pa,ets in the following situations/
#in, interruption
aliious topology hange atta,s
ulti-layer $+P networ,ing
's shown in 2!2!2!1!1$tep 1%igure 1!1" the $+P networ,ing ontains three layers of $+P
seg*ents! ?hen the topology of $+P seg*ent 3 hanges and $+P TC notifiation pa,ets
pass through #$?9 or #$?8" the nu*er of TC notifiation pa,ets is *ultiplied y two"
and the pa,ets are e4panded to $+P seg*ent 2! $i*ilarly" when $+P TC notifiation pa,ets pass through an $+P seg*ent" the nu*er of pa,ets is *ultiplied y two!
Figure 1.5 ulti-layer $+P networ,ing
TC notifiation pa,ets sent freuently redue the CP7 proessing apaility and *a,e
de&ies in $+P seg*ents freuently send %lush-%5 pa,ets" oupying andwidth! TCnotifiation pa,ets *ust e suppressed to pre&ent the situation! The suppression *easures are
as follows/
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
29
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 38/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
$uppress the soure ased on the topology hange! The TC notifiation pa,ets sent y
the sa*e soure port are not proessed repeatedly!
Configure de&ies to proess a ertain nu*er of TC notifiation pa,ets within a
speified ti*e (the ti*e is onfigurale)! 5y default" a de&ie proesses three TC
notifiation pa,ets fro* different soures in 2s! '&oid deploying an $+P networ,ing that ontains too *any layers (*ore than three
layers) of $+P seg*ents!
S&' :ulti#instance
's shown in %igure 1!8" on a o**on $+P networ," a physial ring an only e onfiguredwith one $+P seg*ent and one lo,ed port!
?hen the $+P seg*ent is in Co*plete state" the lo,ed port prohiits all user pa,ets fro* passing through! Then all user pa,ets an only e trans*itted along the lin, at the pri*ary
edge port side in the $+P seg*ent! 's a result" the lin, at the seondary edge port side
eo*es idle" wasting andwidth!
Figure 1.6 $+P networ,ing
$+P *ulti-instane allows a physial ring to e onfigured with two logial rings" that is" two$+P seg*ents! In an $+P seg*ent" all de&ies" port roles" and ontrol @#'Bs *ust o*ply
with asi $+P priniples! ' physial ring has two lo,ed ports! +ah lo,ed port
independently detets the integrity of the physial ring and lo,s or unlo,s itself
aordingly! The two ports do not affet eah other!
' physial ring an ontain one or two $+P seg*ents! +ah $+P seg*ent *ust e onfigured
with one proteted instane" and eah instane indiates a @#'B range! The topologyalulated y an $+P seg*ent only ta,es effet in the $+P seg*ent and does not affet other
$+P seg*ents!
ifferent proteted instanes are onfigured for $+P seg*ents! +ah lo,ed port only ta,es
effet for @#'Bs proteted y the loal $+P seg*ent! ata of different @#'Bs is trans*itted
through different paths! This i*ple*ents load alaning and lin, a,up!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
26
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 39/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.7 $+P *ulti-instane networ,ing
's shown in %igure 1!:" #$?1 to #$?9 for* an $+P *ulti-instane ring that ontains two
$+P seg*ents! P1 is the lo,ed port in $+P seg*ent 1 and P2 is the lo,ed port in $+Pseg*ent 2!
Configure proteted instane 1 in $+P seg*ent 1 to protet data of @#'B 100 to @#'B
200! The trans*ission path is #$?1-L#$?2! P2 is the lo,ed port in $+P seg*ent 2!
>nly data of @#'B 201 to @#'B 900 is lo,ed and data of @#'B 100 to @#'B 200
an pass through!
Configure proteted instane 2 in $+P seg*ent 2 to protet data of @#'B 201 to @#'B
900! The trans*ission path is #$?3-L#$?9! P1 is the lo,ed port in $+P seg*ent 1!>nly data of @#'B 100 to @#'B 200 is lo,ed and data of @#'B 201 to @#'B 900
an pass through!
?hen a node or lin, fails" eah $+P seg*ent alulates the topology hange independently
and updates #$5 on eah node!
's shown in %igure 1!<" a fault ours on the lin, etween #$?3 and #$?9! In $+P seg*ent
1" the lin, fault does not affet the data trans*ission path of @#'B 100 to @#'B 200" ut
interrupts the data trans*ission path of @#'B 201 to @#'B 900 in the $+P seg*ent!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
28
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 40/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.8 #in, fault in $+P *ulti-instane
'fter the lin, etween #$?3 and #$?9 is faulty" #$?3 in $+P seg*ent 2 sends #$'
pa,ets to notify other nodes in $+P seg*ent 2 to update their #$5s! The lo,ed port
swithes to the %orwarding state! 'fter the topology in $+P seg*ent 2 reon&erges" the data
trans*ission path of @#'B 201 to @#'B 900 is #$?3-L#$?1-L#$?2!
?hen the faulty lin, etween #$?3 and #$?9 reo&ers" de&ies in $+P seg*ent 2 perfor*
delayed pree*ption again! ?hen delayed pree*ption ti*es out" P1 eo*es the lo,ed portagain" and sends #$' pa,ets to notify nodes in $+P seg*ent 2 to update their #$5s! 'fter
the topology in $+P seg*ent 2 reon&erges" the data trans*ission path of @#'B 201 to
@#'B 900 is swithed a, to #$?3-L#$?9!
!%1%! ?ersion Di@erence
$+P does not hange too *uh in different &ersions! The differenes are as follows/
$+P *ulti-instane is supported sine @100008! $+P allows a port to oin two $+P
seg*ents for load alaning!
'ssoiation etween $+P and $*art #in, is supported sine @100008! $+P allows
$*art #in, %lush pa,ets to e sent to ad&ertise $+P topology hanges to other $+P
seg*ents or re*ote de&ies!
eleting 'C address entries on a port is supported sine @100008! $+P allows 'C
address entries and 'P entries on a port to e deleted! ?hen the topology hanges" $+P
updates only 'C address entries and 'P entries on a port! This redues entry updateti*e and i*pro&es perfor*ane!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 41/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
!%! Con>guration uide
!%!%1 Scenario 18 S&' Open +ing <etwor.ing
!%!%1%1 <etwor.ing Description
's shown in %igure 1!1" the C+ is dual-ho*ed to the upper-layer #ayer 2 networ, through
#$?1 to #$?6! #$?1 to #$?6 for* an open ring networ,! The open ring networ, is
deployed at the aess layer to i*ple*ent #ayer 2 transparent trans*ission of uniast and
*ultiast pa,ets! $+P runs at the aess layer to i*ple*ent proteti&e switho&er etweenaess ring networ,s!
>n an open ring networ," two edge ports of the ring are deployed on the two edge de&ies!
Figure 1.1 $+P open ring networ,ing
!%!%1%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure asi $+P funtions!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 42/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
M Configure $+P seg*ent 1 on #$?1 to #$?6 and onfigure @#'B 10 as the ontrol@#'B of $+P seg*ent 1!
M 'dd all de&ies on the ring to $+P seg*ent 1" and onfigure the roles of A+1D0D1 on
#$?1 and A+1D0D1 on #$?6 in $+P seg*ent 1!
M >n the de&ie where the pri*ary edge port is loated" speify that the port with thehighest priority will e lo,ed!
M $et priorities of the ports in the $+P seg*ent! $et the highest priority for A+1D0D2 on#$?3 and retain the default priority of the other ports so that A+1D0D2 on #$?3 will
e lo,ed!
M Configure delayed pree*ption on the de&ie where the pri*ary edge port is loated!
2! Configure the #ayer 2 forwarding funtion on C+1 and #$?1 to #$?6!
!%!%1%" Con>guration &7ample
To o*plete the onfiguration" you need the following data/
$+P seg*ent I
Control @#'B I of the $+P seg*ent
oles of ports in the $+P seg*ent
$+P pree*ption *ode
Port lo,ing *ode
Priorities of ports in the $+P seg*ent
Step 1 Configure asi $+P funtions!
1! Configure $+P seg*ent 1 on #$?1 to #$?6 and onfigure @#'B 10 as the ontrol
@#'B of $+P seg*ent 1!
N Configure #$?1!
<Switch> system-view
[Switch] sysname LSW1
[LSW1] sep segment 1
[LSW1-sep-segment1] control-vlan 10
[LSW1-sep-segment1] protected-instance all
[LSW1-sep-segment1] quit
N Configure #$?2!
< Switch > system-view
[Switch] sysname LSW
[LSW] sep segment 1
[LSW-sep-segment1] control-vlan 10[LSW-sep-segment1] protected-instance all
[LSW-sep-segment1] quit
N Configure #$?3!
<Switch> system-view
[Switch] sysname LSW!
[LSW!] sep segment 1
[LSW!-sep-segment1] control-vlan 10
[LSW!-sep-segment1] protected-instance all
[LSW!-sep-segment1] quit
N Configure #$?9!
<Switch> system-view
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 43/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch] sysname LSW"
[LSW"] sep segment 1
[LSW"-sep-segment1] control-vlan 10
[LSW"-sep-segment1] protected-instance all
[LSW"-sep-segment1] quit
N Configure #$?6!
< Switch> system-view
[Switch] sysname LSW#
[LSW#] sep segment 1
[LSW#-sep-segment1] control-vlan 10
[LSW#-sep-segment1] protected-instance all
[LSW#-sep-segment1] quit
The ontrol @#'B *ust e a @#'B that has not een reated or used" ut the onfiguration file
auto*atially displays the o**and for reating a @#'B! +ah $+P seg*ent *ust ha&e a ontrol@#'B! 'fter a port is added to an $+P seg*ent that has a ontrol @#'B" the port is auto*atially
added to the ontrol @#'B!2! 'dd all de&ies on the ring to $+P seg*ent 1 and onfigure port roles on the de&ies!
5y default" $TP is enaled on #ayer 2 ports! 5efore adding a port to an $+P seg*ent" disale $TP on the
port!
N >n #$?1" onfigure A+1D0D1 as the pri*ary edge port and A+1D0D3 as the seondary
edge port!
[LSW1] inter$ace giga%itethernet 1&0&1
[LSW1-'iga%it(thernet1&0&1] stp disa%le
[LSW1-'iga%it(thernet1&0&1] sep segment 1 edge primary
[LSW1-'iga%it(thernet1&0&1] quit
N Configure #$?2![LSW] inter$ace giga%itethernet 1&0&1
[LSW-'iga%it(thernet1&0&1] stp disa%le
[LSW-'iga%it(thernet1&0&1] sep segment 1
[LSW-'iga%it(thernet1&0&1] quit
[LSW] inter$ace giga%itethernet 1&0&
[LSW-'iga%it(thernet1&0&] stp disa%le
[LSW-'iga%it(thernet1&0&] sep segment 1
[LSW-'iga%it(thernet1&0&] quit
N Configure #$?3!
[LSW!] inter$ace giga%itethernet 1&0&1
[LSW!-'iga%it(thernet1&0&1] stp disa%le
[LSW!-'iga%it(thernet1&0&1] sep segment 1
[LSW!-'iga%it(thernet1&0&1] quit
[LSW!] inter$ace giga%itethernet 1&0&
[LSW!-'iga%it(thernet1&0&] stp disa%le
[LSW!-'iga%it(thernet1&0&] sep segment 1
[LSW!-'iga%it(thernet1&0&] quit
N Configure #$?9!
[LSW"] inter$ace giga%itethernet 1&0&1
[LSW"-'iga%it(thernet1&0&1] stp disa%le
[LSW"-'iga%it(thernet1&0&1] sep segment 1
[LSW"-'iga%it(thernet1&0&1] quit
[LSW"] inter$ace giga%itethernet 1&0&
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
30
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 44/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[LSW"-'iga%it(thernet1&0&] stp disa%le
[LSW"-'iga%it(thernet1&0&] sep segment 1
[LSW"-'iga%it(thernet1&0&] quit
N Configure #$?6!
[LSW#] inter$ace giga%itethernet 1&0&1[LSW#-'iga%it(thernet1&0&1] stp disa%le
[LSW#-'iga%it(thernet1&0&1] sep segment 1 edge secondary
[LSW#-'iga%it(thernet1&0&1] quit
3! Configure the funtion of fle4ily speifying the lo,ed port!
N >n #$?1 where the pri*ary edge port is loated" speify that the port with the highest
priority is lo,ed!
[LSW1] sep segment 1
[LSW1-sep-segment1] %loc) port optimal
9! $et the priority of A+1D0D2 on #$?3!
[LSW!] inter$ace giga%itethernet 1&0&
[LSW!-'iga%it(thernet1&0&] sep segment 1 priority 1*
[LSW!-'iga%it(thernet1&0&] quit
6! $et the pree*ption *ode!
N Configure the delayed pree*ption *ode on #$?1!
[LSW1-sep-segment1] preempt delay !0
[LSW1-sep-segment1] quit
?hen delayed pree*ption is onfigured" you *ust set the delay eause there is no default delay!
?hen the last faulty port reo&ers" the edge ports do not reei&e any fault notifiation pa,et!If the pri*ary edge port does not reei&e fault notifiation pa,ets within 3 seonds" it
i**ediately starts the delay ti*er! 'fter the delay ti*er e4pires" nodes in the $+P seg*entstart pree*ption of the lo,ed port!
To i*ple*ent delayed pree*ption in this e4a*ple" you need to si*ulate a port fault and then
retify the fault! %or e4a*ple" run the shutdown o**and on A+1D0D2 of #$?2 to si*ulate
a port fault! Then run the undo shutdown o**and on A+1D0D2 to retify the fault!
Step ! Configure the #ayer 2 forwarding funtion on C+1 and #$?1 to #$?6!
The onfiguration details are not pro&ided here! %or details" see onfiguration files in this
e4a*ple!
----End
Con>guration 3iles
Configuration file of #$?1
+
sysname LSW1
+
vlan %atch 10 100 00
+
sep segment 1
control-vlan 10
%loc) port optimal
preempt delay !0 protected-instance 0 to "*
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
31
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 45/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1 edge primary
+
inter$ace 'iga%it(thernet1&0&
port hy%rid pvid vlan 00
port hy%rid tagged vlan 100
port hy%rid untagged vlan 00
+
return
Configuration file of #$?2
+
sysname LSW
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
return
Configuration file of #$?3
+
sysname LSW!
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
sep segment 1 priority 1*
+
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
32
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 46/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
inter$ace 'iga%it(thernet1&0&!
port hy%rid tagged vlan 100
+
return
Configuration file of #$?9+
sysname LSW"
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
return
Configuration file of #$?6
+
sysname LSW#
+ vlan %atch 10 100 00
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1 edge secondary
+
inter$ace 'iga%it(thernet1&0&
port hy%rid pvid vlan 00
port hy%rid tagged vlan 100
port hy%rid untagged vlan 00
+
return
Configuration file of C+1
+
sysname ,(1
+
vlan %atch 100
+
inter$ace 'iga%it(thernet1&0&1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
33
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 47/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
port hy%rid tagged vlan 100
+
return
!%!%! Scenario !8 S&' Closed +ing <etwor.ing!%!%!%1 <etwor.ing Description
In the networ,ing" user de&ies are dual-ho*ed to a #ayer 2 networ, through *ultiple #ayer
2 swithing de&ies! The two edge de&ies on the upper-layer #ayer 2 networ, are diretly
onneted! The networ,ing is deployed at the aggregation layer to i*ple*ent #ayer 2transparent trans*ission of uniast and *ultiast pa,ets! $+P runs at the aggregation layer to
i*ple*ent lin, redundany!
's shown in %igure 1!1" *ultiple #ayer 2 swithing de&ies #$?1 to #$?6 for* a ring
networ,! $+P runs at the aggregation layer!
?hen there is no faulty lin, on the ring networ," $+P an eli*inate loops on the
networ,!
?hen a lin, on the ring networ, fails" $+P an fast restore o**uniation etween
nodes on the ring networ,!
Figure 1.1 $+P losed ring networ,ing
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
39
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 48/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
!%!%!%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure asi $+P funtions!
M Configure $+P seg*ent 1 on #$?1 to #$?6 and onfigure @#'B 10 as the ontrol@#'B of $+P seg*ent 1!
M 'dd all de&ies on the ring to $+P seg*ent 1" and onfigure the roles of A+1D0D1 and
A+1D0D3 on #$?1 in $+P seg*ent 1!
M >n the de&ie where the pri*ary edge port is loated" speify that the port with the
highest priority will e lo,ed!
M $et priorities of the ports in the $+P seg*ent! $et the highest priority for A+1D0D2 on
#$?3 and retain the default priority of the other ports so that A+1D0D2 on #$?3 will e lo,ed!
M Configure delayed pree*ption on the de&ie where the pri*ary edge port is loated!
2! Configure the #ayer 2 forwarding funtion on C+1 and #$?1 to #$?6!
!%!%!%" Con>guration &7ample
To o*plete the onfiguration" you need the following data/
$+P seg*ent I
Control @#'B I of the $+P seg*ent
oles of ports in the $+P seg*ent
$+P pree*ption *ode
Port lo,ing *ode
Priorities of ports in the $+P seg*ent
Step 1 Configure asi $+P funtions!
1! Configure $+P seg*ent 1 on #$?1 to #$?6 and onfigure @#'B 10 as the ontrol
@#'B of $+P seg*ent 1!
N Configure #$?1!
<Switch> system-view
[Switch] sysname LSW1
[LSW1] sep segment 1
[LSW1-sep-segment1] control-vlan 10
[LSW1-sep-segment1] protected-instance all
[LSW1-sep-segment1] quit
N Configure #$?2!
<Switch> system-view
[Switch] sysname LSW
[LSW] sep segment 1
[LSW-sep-segment1] control-vlan 10
[LSW-sep-segment1] protected-instance all
[LSW-sep-segment1] quit
N Configure #$?3!
<Switch> system-view
[Switch] sysname LSW!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
36
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 49/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[LSW!] sep segment 1
[LSW!-sep-segment1] control-vlan 10
[LSW!-sep-segment1] protected-instance all
[LSW!-sep-segment1] quit
N Configure #$?9!<Switch> system-view
[Switch] sysname LSW"
[LSW"] sep segment 1
[LSW"-sep-segment1] control-vlan 10
[LSW"-sep-segment1] protected-instance all
[LSW"-sep-segment1] quit
N Configure #$?6!
<Switch> system-view
[Switch] sysname LSW#
[LSW#] sep segment 1
[LSW#-sep-segment1] control-vlan 10
[LSW#-sep-segment1] protected-instance all
[LSW#-sep-segment1] quit
The ontrol @#'B *ust e a @#'B that has not een reated or used" ut the onfiguration file
auto*atially displays the o**and for reating a @#'B! +ah $+P seg*ent *ust ha&e a ontrol
@#'B! 'fter a port is added to an $+P seg*ent that has a ontrol @#'B" the port is auto*atiallyadded to the ontrol @#'B!
2! 'dd all de&ies on the ring to $+P seg*ent 1 and onfigure port roles on the de&ies!
5y default" $TP is enaled on #ayer 2 ports! 5efore adding a port to an $+P seg*ent" disale $TP on the
port!
N >n #$?1" onfigure A+1D0D1 as the pri*ary edge port and A+1D0D3 as the seondaryedge port!
[LSW1] inter$ace giga%itethernet 1&0&1
[LSW1-'iga%it(thernet1&0&1] stp disa%le
[LSW1-'iga%it(thernet1&0&1] sep segment 1 edge primary
[LSW1-'iga%it(thernet1&0&1] quit
[LSW1] inter$ace giga%itethernet 1&0&!
[LSW1-'iga%it(thernet1&0&!] stp disa%le
[LSW1-'iga%it(thernet1&0&!] sep segment 1 edge secondary
[LSW1-'iga%it(thernet1&0&!] quit
N Configure #$?2!
[LSW] inter$ace giga%itethernet 1&0&1
[LSW-'iga%it(thernet1&0&1] stp disa%le
[LSW-'iga%it(thernet1&0&1] sep segment 1
[LSW-'iga%it(thernet1&0&1] quit
[LSW] inter$ace giga%itethernet 1&0&
[LSW-'iga%it(thernet1&0&] stp disa%le
[LSW-'iga%it(thernet1&0&] sep segment 1
[LSW-'iga%it(thernet1&0&] quit
N Configure #$?3!
[LSW!] inter$ace giga%itethernet 1&0&1
[LSW!-'iga%it(thernet1&0&1] stp disa%le
[LSW!-'iga%it(thernet1&0&1] sep segment 1
[LSW!-'iga%it(thernet1&0&1] quit
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
38
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 50/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[LSW!] inter$ace giga%itethernet 1&0&
[LSW!-'iga%it(thernet1&0&] stp disa%le
[LSW!-'iga%it(thernet1&0&] sep segment 1
[LSW!-'iga%it(thernet1&0&] quit
N Configure #$?9![LSW"] inter$ace giga%itethernet 1&0&1
[LSW"-'iga%it(thernet1&0&1] stp disa%le
[LSW"-'iga%it(thernet1&0&1] sep segment 1
[LSW"-'iga%it(thernet1&0&1] quit
[LSW"] inter$ace giga%itethernet 1&0&
[LSW"-'iga%it(thernet1&0&] stp disa%le
[LSW"-'iga%it(thernet1&0&] sep segment 1
[LSW"-'iga%it(thernet1&0&] quit
N Configure #$?6!
[LSW#] inter$ace giga%itethernet 1&0&1
[LSW#-'iga%it(thernet1&0&1] stp disa%le
[LSW#-'iga%it(thernet1&0&1] sep segment 1
[LSW#-'iga%it(thernet1&0&1] quit
[LSW#] inter$ace giga%itethernet 1&0&!
[LSW#-'iga%it(thernet1&0&!] stp disa%le
[LSW#-'iga%it(thernet1&0&!] sep segment 1
[LSW#-'iga%it(thernet1&0&!] quit
3! Configure the funtion of fle4ily speifying the lo,ed port!
N >n #$?1 where the pri*ary edge port is loated" speify that the port with the highest priority is lo,ed!
[LSW1] sep segment 1
[LSW1-sep-segment1] %loc) port optimal
9! $et the priority of A+1D0D2 on #$?3!
[LSW!] inter$ace giga%itethernet 1&0&
[LSW!-'iga%it(thernet1&0&] sep segment 1 priority 1*
[LSW!-'iga%it(thernet1&0&] quit
6! $et the pree*ption *ode!
N Configure the delayed pree*ption *ode on #$?1 where the pri*ary edge port is
loated!
[LSW1-sep-segment1] preempt delay !0
[LSW1-sep-segment1] quit
?hen delayed pree*ption is onfigured" you *ust set the delay eause there is no default delay!?hen the last faulty port reo&ers" the edge ports do not reei&e any fault notifiation
pa,et! If the pri*ary edge port does not reei&e fault notifiation pa,ets within 3seonds" it i**ediately starts the delay ti*er! 'fter the delay ti*er e4pires" nodes in the
$+P seg*ent start pree*ption of the lo,ed port!
To i*ple*ent delayed pree*ption in this e4a*ple" you need to si*ulate a port fault and
then retify the fault! %or e4a*ple" run the shutdown o**and on A+1D0D2 of #$?2 tosi*ulate a port fault! Then run the undo shutdown o**and on A+1D0D2 to retify the
fault!
Step ! Configure the #ayer 2 forwarding funtion on C+1 and #$?1 to #$?6!
The onfiguration details are not pro&ided here! %or details" see onfiguration files in this
e4a*ple!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
3:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 51/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Step " @erify the onfiguration!
un the shutdown o**and on A+1D0D1 of #$?3 to si*ulate a port fault" and then run the
display sep intera!e o**and on #$?3 to he, whether A+1D0D2 of #$?3 swithes fro*
the isarding state to the %orwarding state!
<LSW!> display sep inter$ace giga%itethernet 1&0&
S( segment 1
----------------------------------------------------------------
.nter$ace ort /ole eigh%or Status ort Status
----------------------------------------------------------------
'(1&0& common up $orwarding
----End
Con>guration 3iles
Configuration file of #$?1
+
sysname LSW1
+
vlan %atch 10 100 00
+
sep segment 1
control-vlan 10
%loc) port optimal
preempt delay !0
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1 edge primary
+
inter$ace 'iga%it(thernet1&0&
port hy%rid pvid vlan 00
port hy%rid tagged vlan 100
port hy%rid untagged vlan 00
+
inter$ace 'iga%it(thernet1&0&!
port hy%rid tagged vlan 10 100 00
stp disa%le
sep segment 1 edge secondary+
return
Configuration file of #$?2
+
sysname LSW
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
3<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 52/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
return
Configuration file of #$?3
+
sysname LSW!
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
sep segment 1 priority 1*
+
inter$ace 'iga%it(thernet1&0&!
port hy%rid tagged vlan 100
+
return
Configuration file of #$?9
+
sysname LSW"
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 10 100
stp disa%le
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
3=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 53/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
sep segment 1
+
return
Configuration file of #$?6
+ sysname LSW#
+
vlan %atch 10 100 00
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port hy%rid pvid vlan 00
port hy%rid tagged vlan 100
port hy%rid untagged vlan 00
+
inter$ace 'iga%it(thernet1&0&!
port hy%rid tagged vlan 10 100 00
stp disa%le
sep segment 1
+
return
Configuration file of C+1
+
sysname ,(1
+
vlan %atch 100
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 100
+
return
!%!%" Scenario "8 Hybrid <etwor.ing o6 S&' andSmart -in.
!%!%"%1 <etwor.ing Description
5oth $+P and $*art #in, ha&e a fast on&ergene speed! Therefore" the hyrid networ,ing of
$+P and $*art #in, is often used in networ, en&iron*ents in whih perfor*ane
reuire*ents on aess and aggregation de&ies are high and the nu*er of aess de&ies iss*all! 's shown in %igure 1!1" *ultiple #ayer 2 swithing de&ies are deployed at the aess
layer and *ultiple #ayer 2 de&ies for* a ring networ, at the aggregation layer! $*art #in, is
deployed at the aess layer! ' de&ie has a *aster port and a sla&e port in a $*art #in, group
and is onneted to the upper-layer networ, through two uplin,s! $+P is deployed at the
aggregation layer!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
90
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 54/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
e&ies in the $+P seg*ent are enaled to proess $*art #in, %lush pa,ets! 'fter reei&ing%lush pa,ets sent y de&ies on the lower-layer $*art #in, networ," edge de&ies on the
upper-layer $+P networ, send TC pa,ets to notify other de&ies in the $+P seg*ent of the
lower-layer networ, topology hange! Then all the de&ies delete the original 'C addressesand learn new 'C addresses to ensure uninterrupted traffi trans*ission!
Figure 1.1 Hyrid networ,ing of $+P and $*art #in,
!%!%"%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure asi $+P funtions!
M Configure $+P seg*ent 1 on P+1 to P+9 and onfigure @#'B 10 as the ontrol
@#'B of $+P seg*ent 1!
M 'dd P+1 to P+9 to $+P seg*ent 1" and onfigure the roles of ports on P+1 in $+P
seg*ent 1!
M >n the de&ie where the pri*ary edge port is loated" speify that the port in the*iddle of the $+P seg*ent will e lo,ed!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
91
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 55/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
M Configure *anual pree*ption!
M +nale P+3 and P+9 to proess $*art #in, %lush pa,ets! The $*art #in, groups areonneted to P+3 and P+9!
2! Configure asi $*art #in, funtions!
M 'dd the A+1D0D1 and A+1D0D2 ports on C+1 and C+2 to two $*art #in, groupsrespeti&ely! The A+1D0D1 ports are the *aster ports and A+1D0D2 ports are the sla&e
ports! The ontrol @#'Bs of the two $*art #in, groups are @#'B 20 and @#'B 30respeti&ely!
M >n P+3 and P+9" onfigure A+1D0D3 and A+1D0D9 to reei&e $*art #in, %lush pa,ets!
3! Configure the #ayer 2 forwarding funtion on C+1 and #$?1 to #$?3!
!%!%"%" Con>guration &7ample
Step 1 Configure asi $+P funtions!
1! Configure $+P seg*ent 1 and onfigure @#'B 10 as the ontrol @#'B of $+P seg*ent1!
N Configure P+1!
<(1> system-view
[(1] sep segment 1
[(1-sep-segment1] control-vlan 10
[(1-sep-segment1] protected-instance all
[(1-sep-segment1] quit
N Configure P+2!
< (> system-view
[(] sep segment 1
[(-sep-segment1] control-vlan 10
[(-sep-segment1] protected-instance all
[(-sep-segment1] quit
N Configure P+3!
< (!> system-view
[(!] sep segment 1
[(!-sep-segment1] control-vlan 10
[(!-sep-segment1] protected-instance all
[(!-sep-segment1] quit
N Configure P+9!
< ("> system-view
[("] sep segment 1
[("-sep-segment1] control-vlan 10
[("-sep-segment1] protected-instance all
[("-sep-segment1] quit
2! 'dd P+1 to P+9 to $+P seg*ent 1 and onfigure port roles!
N Configure P+1!
[(1] inter$ace giga%itethernet 1&0&1
[(1-'iga%it(thernet1&0&1] stp disa%le
[(1-'iga%it(thernet1&0&1] sep segment 1 edge primary
[(1-'iga%it(thernet1&0&1] quit
[(1] inter$ace giga%itethernet 1&0&
[(1-'iga%it(thernet1&0&] stp disa%le
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
92
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 56/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[(1-'iga%it(thernet1&0&] sep segment 1 edge secondary
[(1-'iga%it(thernet1&0&] quit
N Configure P+2!
[(] inter$ace giga%itethernet 1&0&1
[(-'iga%it(thernet1&0&1] stp disa%le[(-'iga%it(thernet1&0&1] sep segment 1
[(-'iga%it(thernet1&0&1] quit
[(] inter$ace giga%itethernet 1&0&
[(-'iga%it(thernet1&0&] stp disa%le
[(-'iga%it(thernet1&0&] sep segment 1
[(-'iga%it(thernet1&0&] quit
N Configure P+3!
[(!] inter$ace giga%itethernet 1&0&1
[(!-'iga%it(thernet1&0&1] stp disa%le
[(!-'iga%it(thernet1&0&1] sep segment 1
[(!-'iga%it(thernet1&0&1] quit
[(!] inter$ace giga%itethernet 1&0&
[(!-'iga%it(thernet1&0&] stp disa%le
[(!-'iga%it(thernet1&0&] sep segment 1
[(!-'iga%it(thernet1&0&] quit
N Configure P+9!
[("] inter$ace giga%itethernet 1&0&1
[("-'iga%it(thernet1&0&1] stp disa%le
[("-'iga%it(thernet1&0&1] sep segment 1
[("-'iga%it(thernet1&0&1] quit
[("] inter$ace giga%itethernet 1&0&
[("-'iga%it(thernet1&0&] stp disa%le
[("-'iga%it(thernet1&0&] sep segment 1
[("-'iga%it(thernet1&0&] quit
3! Configure the funtion of fle4ily speifying the lo,ed port!
N >n P+1 where the no-neighor pri*ary edge port is loated" speify that the port in the
*iddle of the $+P seg*ent is lo,ed!
[(1] sep segment 1
[(1-sep-segment1] %loc) port middle
9! $et the pree*ption *ode!
N Configure the *anual pree*ption *ode on P+1!
[(1-sep-segment1] preempt manual
6! +nale P+3 and P+9 to proess $*art #in, %lush pa,ets!
N +nale P+3 and P+9 to proess $*art #in, %lush pa,ets!
N Configure P+3!
[(!] sep segment 1
[(!-sep-segment1] deal smart-lin)-$lush
[(!-sep-segment1] quit
N Configure P+9!
[("] sep segment 1
[("-sep-segment1] deal smart-lin)-$lush
[("-sep-segment1] quit
Step ! Configure asi $*art #in, funtions!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
93
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 57/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
1! Configure the $*art #in, funtion on C+1 and C+2!
N Configure C+1!
<,(1> system-view
[,(1] smart-lin) group 1
[CE1-smlk-group1] port 'iga%it(thernet1&0&1 master[CE1-smlk-group1] port 'iga%it(thernet1&0& slave
[CE1-smlk-group1] flush send control-vlan 20
[CE1-smlk-group1] smart-lin) ena%le
[CE1-smlk-group1] quit
N Configure C+2!
<,(> system-view
[,(] smart-lin) group 1
[CE2-smlk-group1] port 'iga%it(thernet1&0&1 master
[CE2-smlk-group1] port 'iga%it(thernet1&0& slave
[CE2-smlk-group1] flush send control-vlan 30
[CE2-smlk-group1] smart-lin) ena%le
[CE2-smlk-group1] quit
2! >n P+3 and P+9" onfigure A+1D0D3 and A+1D0D9 to reei&e $*art #in, %lush pa,ets!
N Configure P+3!
[(!] inter$ace 'iga%it(thernet1&0&!
[(!-'iga%it(thernet1&0&!] smart-lin) $lush receive control-vlan 0
[(!-'iga%it(thernet1&0&!] quit
[(!] inter$ace 'iga%it(thernet1&0&"
[(!-'iga%it(thernet1&0&"] smart-lin) $lush receive control-vlan !0
[(!-'iga%it(thernet1&0&"] quit
N Configure P+9!
[("] inter$ace 'iga%it(thernet1&0&!
[("-'iga%it(thernet1&0&!] smart-lin) $lush receive control-vlan !0
[("-'iga%it(thernet1&0&!] quit
[("] inter$ace 'iga%it(thernet1&0&"
[("-'iga%it(thernet1&0&"] smart-lin) $lush receive control-vlan 0
[("-'iga%it(thernet1&0&"] quit
Step " Configure the #ayer 2 forwarding funtion on C+1" C+2" and P+1 to P+9!
The onfiguration details are not pro&ided here! %or details" see onfiguration files in this
e4a*ple!
----End
Con>guration 3iles
Configuration file of P+1
+
sysname (1
+
vlan %atch 10 100 00
+
sep segment 1
control-vlan 10
%loc) port middle
protected-instance 0 to "*
+
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
99
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 58/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 00
stp disa%le
sep segment 1 edge primary
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100 00
stp disa%le
sep segment 1 edge secondary
+
return
Configuration file of P+2
+
sysname (
+
vlan %atch 10 100 00
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 00
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100 00
stp disa%le
sep segment 1
+
return
Configuration file of P+3
+
sysname (!
+
vlan %atch 10 0 !0 100 00
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 00
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
96
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 59/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100 00
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&!
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 00
smart-lin) $lush receive control-vlan 0
+
inter$ace 'iga%it(thernet1&0&"
port lin)-type trun)
port trun) allow-pass vlan 10 !0 100 00
smart-lin) $lush receive control-vlan !0+
return
Configuration file of P+9
+
sysname ("
+
vlan %atch 10 0 !0 100 00
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 00
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100 00
stp disa%le
sep segment 1
+inter$ace 'iga%it(thernet1&0&!
port lin)-type trun)
port trun) allow-pass vlan 10 !0 100 00
smart-lin) $lush receive control-vlan !0
+
inter$ace 'iga%it(thernet1&0&"
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 00
smart-lin) $lush receive control-vlan 0
+
return
Configuration file of C+1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
98
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 60/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
+
sysname ,(1
+
vlan %atch 0 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 0 100
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 0 100
stp disa%le
+
smart-lin) group 1
smart-lin) ena%le
port 'iga%it(thernet1&0&1 master port 'iga%it(thernet1&0& slave
$lush send control-vlan 0
+
return
Configuration file of C+2
+
sysname ,(
+
vlan %atch !0 00
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan !0 00
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan !0 00
stp disa%le
+
smart-lin) group 1
smart-lin) ena%le
port 'iga%it(thernet1&0&1 master
port 'iga%it(thernet1&0& slave $lush send control-vlan !0
+
return
!%!%* Scenario *8 Hybrid <etwor.ing o6 S&' and:ST'
!%!%*%1 <etwor.ing Description
's shown in %igure 1!1" *ultiple #ayer 2 swithing de&ies are deployed at the aess layer
and *ultiple #ayer 3 de&ies for* a ring networ, at the aggregation layer! $TP is deployed
at the aggregation layer to eli*inate redundant lin,s! $+P an e deployed at the aess layer!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
9:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 61/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
?hen there is no faulty lin, on the ring networ," $+P an eli*inate loops on the
networ,!
?hen a lin, on the ring networ, fails" $+P an fast restore o**uniation etween
nodes on the ring networ,!
Topology hange notifiation an e deployed on edge de&ies in the $+P seg*ent sothat the upper-layer networ, an ,now topology hanges of the lower-layer networ, in
real ti*e!
'fter reei&ing TC pa,ets fro* the lower-layer networ," edge de&ies on the upper-layer
networ, send TC pa,ets to notify other de&ies on the networ, of the topology hange! Then
all the de&ies delete the original 'C addresses and learn new 'C addresses to ensure
uninterrupted traffi trans*ission!
Figure 1.1 Hyrid networ,ing of $+P and $TP
!%!%*%! Con>guration +oadmap
The onfiguration road*ap is as follows/
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
9<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 62/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
1! Configure asi $+P funtions!
M Configure $+P seg*ent 1 on #$?1 to #$?3 and onfigure @#'B 10 as the ontrol@#'B of $+P seg*ent 1!
M 'dd #$?1 to #$?3 to $+P seg*ent 1 and onfigure port roles on the edge de&ies
of the $+P seg*ent" na*ely" #$?1 and #$?2!
P+1 and P+2 do not support the $+P protool! Therefore" the ports on #$?1 and #$?2 onneted to
the P+s *ust e no-neighor edge ports!
M >n the de&ie where the no-neighor pri*ary edge port is loated" speify that the port in the *iddle of the $+P seg*ent will e lo,ed!
M Configure *anual pree*ption!
M Configure the topology hange notifiation funtion so that the upper-layer networ,running $TP an e notified of topology hanges in the $+P seg*ent!
2! Configure asi $TP funtions!
M 'dd P+1 to P+9 to an $T region A1!M Create @#'Bs on P+1 to P+9 and add ports on the $TP ring to the @#'Bs!
M Configure P+3 as the root ridge and P+9 as the a,up root ridge!
3! Configure the #ayer 2 forwarding funtion on C+ and #$?1 to #$?3!
!%!%*%" Con>guration &7ample
Step 1 Configure asi $+P funtions!
1! Configure $+P seg*ent 1 and onfigure @#'B 10 as the ontrol @#'B of $+P seg*ent
1!
N Configure #$?1!
<Switch> system-view
[Switch] sysname LSW1
[LSW1] sep segment 1
[LSW1-sep-segment1] control-vlan 10
[LSW1-sep-segment1] protected-instance all
[LSW1-sep-segment1] quit
N Configure #$?2!
<Switch> system-view
[Switch] sysname LSW
[LSW] sep segment 1
[LSW-sep-segment1] control-vlan 10
[LSW-sep-segment1] protected-instance all[LSW-sep-segment1] quit
N Configure #$?3!
<Switch> system-view
[Switch] sysname LSW!
[LSW!] sep segment 1
[LSW!-sep-segment1] control-vlan 10
[LSW!-sep-segment1] protected-instance all
[LSW!-sep-segment1] quit
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
9=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 63/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
The ontrol @#'B *ust e a @#'B that has not een reated or used" ut the onfiguration fileauto*atially displays the o**and for reating a @#'B! +ah $+P seg*ent *ust ha&e a ontrol
@#'B! 'fter a port is added to an $+P seg*ent that has a ontrol @#'B" the port is auto*atially
added to the ontrol @#'B!
2! 'dd #$?1 to #$?3 to $+P seg*ent 1 and onfigure port roles!
N Configure #$?1!
[LSW1] inter$ace giga%itethernet 1&0&1
[LSW1-'iga%it(thernet1&0&1] stp disa%le
[LSW1-'iga%it(thernet1&0&1] sep segment 1 edge no-neigh%or primary
[LSW1-'iga%it(thernet1&0&1] quit
[LSW1] inter$ace giga%itethernet 1&0&
[LSW1-'iga%it(thernet1&0&] stp disa%le
[LSW1-'iga%it(thernet1&0&] sep segment 1
[LSW1-'iga%it(thernet1&0&] quit
N Configure #$?2!
[LSW] inter$ace giga%itethernet 1&0&1
[LSW-'iga%it(thernet1&0&1] stp disa%le
[LSW-'iga%it(thernet1&0&1] sep segment 1 edge no-neigh%or secondary
[LSW-'iga%it(thernet1&0&1] quit
[LSW] inter$ace giga%itethernet 1&0&
[LSW-'iga%it(thernet1&0&] stp disa%le
[LSW-'iga%it(thernet1&0&] sep segment 1
[LSW-'iga%it(thernet1&0&] quit
N Configure #$?3!
[LSW!] inter$ace giga%itethernet 1&0&1
[LSW!-'iga%it(thernet1&0&1] stp disa%le
[LSW!-'iga%it(thernet1&0&1] sep segment 1[LSW!-'iga%it(thernet1&0&1] quit
[LSW!] inter$ace giga%itethernet 1&0&
[LSW!-'iga%it(thernet1&0&] stp disa%le
[LSW!-'iga%it(thernet1&0&] sep segment 1
[LSW!-'iga%it(thernet1&0&] quit
3! Configure the funtion of fle4ily speifying the lo,ed port!
N >n #$?1 where the no-neighor pri*ary edge port is loated" speify that the port in
the *iddle of the $+P seg*ent is lo,ed!
[LSW1] sep segment 1
[LSW1-sep-segment1] %loc) port middle
9! $et the pree*ption *ode!N Configure the *anual pree*ption *ode on #$?1!
[LSW1-sep-segment1] preempt manual
6! Configure the topology hange notifiation funtion!
N Configure $+P seg*ent 1 to notify the $TP networ, of topology hanges!
N Configure #$?1!
[LSW1-sep-segment1] tc-noti$y stp
[LSW1-sep-segment1] quit
N Configure #$?2!
[LSW] sep segment 1
[LSW-sep-segment1] tc-noti$y stp
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
60
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 64/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[LSW-sep-segment1] quit
Step ! Configure asi $TP funtions!
1! Configure an $T region!
N Configure P+1!<Switch> system-view
[Switch] sysname (1
[(1] stp region-con$iguration
[(1-mst-region] region-name /'1
[(1-mst-region] active region-con$iguration
[(1-mst-region] quit
N Configure P+2!
<Switch> system-view
[Switch] sysname (
[(] stp region-con$iguration
[(-mst-region] region-name /'1
[(-mst-region] active region-con$iguration
[(-mst-region] quit
N Configure P+3!
<Switch> system-view
[Switch] sysname (!
[(!] stp region-con$iguration
[(!-mst-region] region-name /'1
[(!-mst-region] active region-con$iguration
[(!-mst-region] quit
N Configure P+9!
<Switch> system-view
[Switch] sysname ("
[("] stp region-con$iguration
[("-mst-region] region-name /'1
[("-mst-region] active region-con$iguration
[("-mst-region] quit
2! Create a @#'B and add ports on the ring networ, to the @#'B!
N >n P+1" reate @#'B 100 and add A+1D0D1" A+1D0D2" and A+1D0D3 to @#'B 100!
[(1] vlan 100
[(1-vlan100] quit
[(1] inter$ace giga%itethernet 1&0&1
[(1-'iga%it(thernet1&0&1] port hy%rid tagged vlan 100
[(1-'iga%it(thernet1&0&1] quit
[(1] inter$ace giga%itethernet 1&0&
[(1-'iga%it(thernet1&0&] port hy%rid tagged vlan 100
[(1-'iga%it(thernet1&0&] quit
[(1] inter$ace giga%itethernet 1&0&!
[(1-'iga%it(thernet1&0&!] port hy%rid tagged vlan 100
[(1-'iga%it(thernet1&0&!] quit
N >n P+2" P+3" and P+9" reate @#'B 100 and add A+1D0D1" A+1D0D2" and A+1D0D3 to
@#'B 100!
The onfigurations of P+2" P+3" and P+9 are si*ilar to the onfiguration of P+1" and are
not *entioned here! %or details" see onfiguration files in this e4a*ple!
3! +nale $TP!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
61
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 65/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
N Configure P+1!
[(1] stp ena%le
N Configure P+2!
[(] stp ena%le
N Configure P+3!
[(!] stp ena%le
N Configure P+9!
[("] stp ena%le
9! Configure P+3 as the root ridge and P+9 as the a,up root ridge!
N $et the priority of P+3 to 0 in $TI0 to ensure that P+3 funtions as the root ridge!
[(!] stp instance 0 priority 0
[(!] stp root primary
N $et the priority of P+9 to 90=8 in $TI0 to ensure that P+9 funtions as the a,up
root ridge![("] stp instance 0 priority "02
[("] stp root secondary
Step " Configure the #ayer 2 forwarding funtion on C+ and #$?1 to #$?3!
The onfiguration details are not pro&ided here! %or details" see onfiguration files in this
e4a*ple!
Step * @erify the onfiguration!
'fter the onfigurations are o*plete and the networ, eo*es stale" perfor* the following
operations to &erify the onfigurations! #$?3 is used as an e4a*ple!
un the shutdown o**and on A+1D0D1 of #$?2 to si*ulate a port fault" and then run thedisplay sep intera!e o**and on #$?3 to he, whether A+1D0D2 of #$?3 swithes fro*
the isarding state to the %orwarding state!
<LSW!> display sep inter$ace giga%itethernet 1&0&
S( segment 1
----------------------------------------------------------------
.nter$ace ort /ole eigh%or Status ort Status
----------------------------------------------------------------
'(1&0& common up $orwarding
----End
Con>guration 3iles
Configuration file of #$?1
+
sysname LSW1
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
%loc) port middle
tc-noti$y stp
protected-instance 0 to "*
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
62
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 66/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1 no-neigh%or edge primary
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
return
Configuration file of #$?2
+
sysname LSW
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
tc-noti$y stp
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1 no-neigh%or edge secondary
+
return
Configuration file of #$?3
+
sysname LSW!
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 10 100
stp disa%le
sep segment 1
+
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
63
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 67/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
inter$ace 'iga%it(thernet1&0&!
port hy%rid tagged vlan vlan 100
+
return
Configuration file of P+1+
sysname (1
+
vlan %atch 100
+
stp region-con$iguration
region-name /'1
active region-con$iguration
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 100
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 100
+
inter$ace 'iga%it(thernet1&0&!
port hy%rid tagged vlan 100
+
return
Configuration file of P+2
+
sysname (
+
vlan %atch 100+
stp region-con$iguration
region-name /'1
active region-con$iguration
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 100
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 100
+
inter$ace 'iga%it(thernet1&0&!
port hy%rid tagged vlan 100
+
return
Configuration file of P+3
+
sysname (!
+
vlan %atch 100 00
+
stp instance 0 root primary
+
stp region-con$iguration
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
69
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 68/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
region-name /'1
active region-con$iguration
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 100
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 100 00
+
inter$ace 'iga%it(thernet1&0&!
port hy%rid pvid vlan 00
port hy%rid tagged vlan 100
port hy%rid untagged vlan 00
+
return
Configuration file of P+9
+
sysname ("
+
vlan %atch 100 00
+
stp instance 0 root secondary
+
stp region-con$iguration
region-name /'1
active region-con$iguration
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 100
+
inter$ace 'iga%it(thernet1&0&
port hy%rid tagged vlan 100 00
+
inter$ace 'iga%it(thernet1&0&!
port hy%rid pvid vlan 00
port hy%rid tagged vlan 100
port hy%rid untagged vlan 00
+
return
Configuration file of C+
+
sysname ,(
+
vlan %atch 100
+
inter$ace 'iga%it(thernet1&0&1
port hy%rid tagged vlan 100
+
return
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
66
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 69/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
!%!%) Scenario )8 Hybrid <etwor.ing o6 S&' and++''
!%!%)%1 <etwor.ing Description
The hyrid networ,ing of $+P and PP is often applied to a senario that has an PP ring
networ, deployed! $+P supports open ring networ,s! It is easy to onnet an $+P networ, to
the e4isting PP ring networ,! 's shown in %igure 1!1" *ultiple #ayer 2 swithing de&iesat the aess and aggregation layers for* ring networ,s and are onneted to the ore layer!
PP is deployed at the aggregation layer to eli*inate redundant lin,s! $+P an e deployed
at the aess layer!
?hen there is no faulty lin, on the ring networ," $+P an eli*inate loops on the
networ,!
?hen a lin, on the ring networ, fails" $+P an fast restore o**uniation etween
nodes on the ring networ,!
Topology hange notifiation an e deployed on edge de&ies in the $+P seg*ent sothat the upper-layer networ, an ,now topology hanges of the lower-layer networ, in
real ti*e!
'fter reei&ing TC pa,ets fro* the lower-layer $+P networ," edge de&ies on the upper-
layer PP networ, send C>>B-%#7$H-%5 pa,ets to notify other de&ies on thenetwor, of the topology hange! Then all the de&ies delete the original 'C addresses and
learn new 'C addresses to ensure uninterrupted traffi trans*ission!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
68
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 70/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 Hyrid networ,ing of $+P and PP
!%!%)%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure asi $+P funtions!
M >n P+1" P+2" and #$?1 to #$?3" onfigure $+P seg*ent 1 and onfigure @#'B10 as the ontrol @#'B of $+P seg*ent 1!
M 'dd P+1" P+2" and #$?1 to #$?3 to $+P seg*ent 1 and onfigure port roles on the
edge de&ies of the $+P seg*ent" na*ely" P+1 and P+2!
M >n the de&ie where the pri*ary edge port is loated" speify the port lo,ing *ode!
M Configure the $+P pree*ption *ode to ensure that the speified lo,ed port is
a&ailale when the fault is retified!
M Configure the topology hange notifiation funtion so that the upper-layer networ,
running PP an e notified of topology hanges in the $+P seg*ent!
2! Configure asi PP funtions!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
6:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 71/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
M 'dd P+1 to P+9 to PP do*ain 1! Create ontrol @#'B 6 on P+1 to P+9 andonfigure a proteted @#'B!
M Configure P+1 as the *aster node and P+2 to P+9 as transit nodes of the *aster ring"
and onfigure pri*ary and seondary ports on the nodes!
M Create @#'Bs on P+1 to P+9 and add ports on the PP ring to the @#'Bs!3! Configure the #ayer 2 forwarding funtion on C+ and #$?1 to #$?3!
!%!%)%" Con>guration &7ample
Step 1 Configure asi $+P funtions!
1! Configure $+P seg*ent 1 and onfigure @#'B 10 as the ontrol @#'B of $+P seg*ent1!
N Configure P+1!
<(1> system-view
[(1] sep segment 1
[(1-sep-segment1] control-vlan 10
[(1-sep-segment1] protected-instance all
[(1-sep-segment1] quit
N Configure P+2!
<(> system-view
[(] sep segment 1
[(-sep-segment1] control-vlan 10
[(-sep-segment1] protected-instance all
[(-sep-segment1] quit
N Configure #$?1!
<LSW1> system-view
[LSW1] sep segment 1
[LSW1-sep-segment1] control-vlan 10
[LSW1-sep-segment1] protected-instance all
[LSW1-sep-segment1] quit
N Configure #$?2!
<LSW> system-view
[LSW] sep segment 1
[LSW-sep-segment1] control-vlan 10
[LSW-sep-segment1] protected-instance all
[LSW-sep-segment1] quit
N Configure #$?3!
<LSW!> system-view
[LSW!] sep segment 1
[LSW!-sep-segment1] control-vlan 10
[LSW!-sep-segment1] protected-instance all
[LSW!-sep-segment1] quit
2! 'dd P+1" P+2" and #$?1 to #$?3 to $+P seg*ent 1 and onfigure port roles!
5y default" $TP is enaled on #ayer 2 ports! 5efore adding a port to an $+P seg*ent" disale $TP on the
port!
N Configure P+1!
[(1] inter$ace giga%itethernet 1&0&1
[(1-'iga%it(thernet1&0&1] stp disa%le
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
6<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 72/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[(1-'iga%it(thernet1&0&1] sep segment 1 edge primary
[(1-'iga%it(thernet1&0&1] quit
N Configure #$?1!
[LSW1] inter$ace giga%itethernet 1&0&1
[LSW1-'iga%it(thernet1&0&1] stp disa%le[LSW1-'iga%it(thernet1&0&1] sep segment 1
[LSW1-'iga%it(thernet1&0&1] quit
[LSW1] inter$ace giga%itethernet 1&0&
[LSW1-'iga%it(thernet1&0&] stp disa%le
[LSW1-'iga%it(thernet1&0&] sep segment 1
[LSW1-'iga%it(thernet1&0&] quit
N Configure #$?2!
[LSW] inter$ace giga%itethernet 1&0&1
[LSW-'iga%it(thernet1&0&1] stp disa%le
[LSW-'iga%it(thernet1&0&1] sep segment 1
[LSW-'iga%it(thernet1&0&1] quit
[LSW] inter$ace giga%itethernet 1&0&
[LSW-'iga%it(thernet1&0&] stp disa%le
[LSW-'iga%it(thernet1&0&] sep segment 1
[LSW-'iga%it(thernet1&0&] quit
N Configure #$?3!
[LSW!] inter$ace giga%itethernet 1&0&1
[LSW!-'iga%it(thernet1&0&1] stp disa%le
[LSW!-'iga%it(thernet1&0&1] sep segment 1
[LSW!-'iga%it(thernet1&0&1] quit
[LSW!] inter$ace giga%itethernet 1&0&
[LSW!-'iga%it(thernet1&0&] stp disa%le
[LSW!-'iga%it(thernet1&0&] sep segment 1
[LSW!-'iga%it(thernet1&0&] quit
N Configure P+2!
[(1] inter$ace giga%itethernet 1&0&1
[(1-'iga%it(thernet1&0&1] stp disa%le
[(1-'iga%it(thernet1&0&1] sep segment 1 edge secondary
[(1-'iga%it(thernet1&0&1] quit
'fter the onfigurations are o*plete" run the display sep topology o**and on P+1 to
&iew topology infor*ation of the $+P seg*ent! The o**and output shows that the lo,ed port is one of the two ports that o*plete neighor negotiation last!
[(1] display sep topology
S( segment 1
-----------------------------------------------------------------
System ame ort ame ort /ole ort Status
-----------------------------------------------------------------
(1 '(1&0&1 primary $orwarding
LSW1 '(1&0&1 common $orwarding
LSW1 '(1&0& common $orwarding
LSW! '(1&0& common $orwarding
LSW! '(1&0&1 common $orwarding
LSW '(1&0& common $orwarding
LSW '(1&0&1 common $orwarding
( '(1&0&1 secondary discarding
3! %le4ily speify the lo,ed port!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
6=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 73/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
N >n P+1 where the pri*ary edge port is loated" speify that the port in the *iddle ofthe $+P seg*ent is lo,ed!
[(1] sep segment 1
[(1-sep-segment1] %loc) port middle
9! $et the pree*ption *ode!N Configure the *anual pree*ption *ode on P+1!
[(1-sep-segment1] preempt manual
6! Configure the topology hange notifiation funtion!
N Configure $+P seg*ent 1 to notify the PP networ, of topology hanges!
N Configure P+1!
[(1-sep-segment1] tc-noti$y rrpp
[(1-sep-segment1] quit
N Configure P+2!
[(] sep segment 1
[(-3-sep-segment1] tc-noti$y rrpp
[(-3-sep-segment1] quit
'fter the onfigurations are o*plete" perfor* the following operations to &erify the
onfigurations! P+1 is used as an e4a*ple!
8! un the display sep topology o**and on P+1 to &iew topology infor*ation of the
$+P seg*ent!
The topology infor*ation shows that A+1D0D2 of #$?3 is in isarding state" and the
other ports are in %orwarding state!
[(1] display sep topology
S( segment 1
-----------------------------------------------------------------
System ame ort ame ort /ole ort Status
-----------------------------------------------------------------
(1 '(1&0&1 primary $orwarding
LSW1 '(1&0&1 common $orwarding
LSW1 '(1&0& common $orwarding
LSW! '(1&0& common discarding
LSW! '(1&0&1 common $orwarding
LSW '(1&0& common $orwarding
LSW '(1&0&1 common $orwarding
( '(1&0&1 secondary $orwarding
:! un the display sep intera!e "erbose o**and on P+1 to &iew detailed infor*ation
aout ports in the $+P seg*ent!
[(1] display sep inter$ace ver%ose
S( segment 1
,ontrol-vlan 410
reempt 5elay 6imer 40
TC-otify !ropagate to "rrpp
----------------------------------------------------------------
.nter$ace 4'(1&0&1
ort /ole 4,on$ig 7 primary & 8ctive 7 primary
ort riority 42"
ort Status 4$orwarding
eigh%or Status 4up
eigh%or ort 4LSW1 - '(1&0&1 900e0-0*-:c00;0000
3/ 6L= r 41" t 412
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
80
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 74/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
LS .?@ 6L= r 4! t 41!#
LS 8,A 6L= r 411! t 4:2*
/((B6 /(C 6L= r 40 t 4!
/((B6 8,A 6L= r 4! t 40
6, oti$y r 4# t 4!
(8 r 4!2! t 4!:
Step ! Configure asi PP funtions!
1! 'dd P+1 to P+9 to PP do*ain 1! Create ontrol @#'B 6 on P+1 to P+9 andonfigure a proteted @#'B!
N Configure P+1!
[(1] stp region-con$iguration
[(1-mst-region] instance 1 vlan # 2 100
[(1-mst-region] active region-con$iguration
[(1-mst-region] quit
[(1] rrpp domain 1
[(1-rrpp-domain-region1] control-vlan #[(1-rrpp-domain-region1] protected-vlan re$erence-instance 1
N Configure P+2!
[(] stp region-con$iguration
[(-mst-region] instance 1 vlan # 2 100
[(-mst-region] active region-con$iguration
[(-mst-region] quit
[(] rrpp domain 1
[(-rrpp-domain-region1] control-vlan #
[(-rrpp-domain-region1] protected-vlan re$erence-instance 1
N Configure P+3!
[(!] stp region-con$iguration[(!-mst-region] instance 1 vlan # 2 100
[(!-mst-region] active region-con$iguration
[(!-mst-region] quit
[(!] rrpp domain 1
[(!-rrpp-domain-region1] control-vlan #
[(!-rrpp-domain-region1] protected-vlan re$erence-instance 1
N Configure P+9!
[("] stp region-con$iguration
[("-mst-region] instance 1 vlan # 2 100
[("-mst-region] active region-con$iguration
[("-mst-region] quit
[("] rrpp domain 1
[("-rrpp-domain-region1] control-vlan #
[("-rrpp-domain-region1] protected-vlan re$erence-instance 1
2! Create a @#'B and add ports on the ring networ, to the @#'B!
N >n P+1" reate @#'B 100 and add A+1D0D1" A+1D0D2" and A+1D0D3 to @#'B 100!
[(1] vlan 100
[(1-vlan100] quit
[(1] inter$ace giga%itethernet 1&0&1
[(1-'iga%it(thernet1&0&1] stp disa%le
[(1-'iga%it(thernet1&0&1] port lin)-type trun)
[(1-'iga%it(thernet1&0&1] port trun) allow-pass vlan 100
[(1-'iga%it(thernet1&0&1] quit
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
81
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 75/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[(1] inter$ace giga%itethernet 1&0&
[(1-'iga%it(thernet1&0&] stp disa%le
[(1-'iga%it(thernet1&0&] port lin)-type trun)
[(1-'iga%it(thernet1&0&] port trun) allow-pass vlan 100
[(1-'iga%it(thernet1&0&] quit
[(1] inter$ace giga%itethernet 1&0&!
[(1-'iga%it(thernet1&0&!] stp disa%le
[(1-'iga%it(thernet1&0&!] port lin)-type trun)
[(1-'iga%it(thernet1&0&!] port trun) allow-pass vlan 100
[(1-'iga%it(thernet1&0&!] quit
N >n P+2" reate @#'B 100 and add A+1D0D1" A+1D0D2" and A+1D0D3 to @#'B 100!
[(] vlan 100
[(-vlan100] quit
[(] inter$ace giga%itethernet 1&0&1
[(-'iga%it(thernet1&0&1] stp disa%le
[(-'iga%it(thernet1&0&1] port lin)-type trun)
[(-'iga%it(thernet1&0&1] port trun) allow-pass vlan 100
[(-'iga%it(thernet1&0&1] quit
[(] inter$ace giga%itethernet 1&0&
[(-'iga%it(thernet1&0&] stp disa%le
[(-'iga%it(thernet1&0&] port lin)-type trun)
[(-'iga%it(thernet1&0&] port trun) allow-pass vlan 100
[(-'iga%it(thernet1&0&] quit
[(] inter$ace giga%itethernet 1&0&!
[(-'iga%it(thernet1&0&!] stp disa%le
[(-'iga%it(thernet1&0&!] port lin)-type trun)
[(-'iga%it(thernet1&0&!] port trun) allow-pass vlan 100
[(-'iga%it(thernet1&0&!] quit
N >n P+3" reate @#'B 100 and add A+1D0D1" A+1D0D2" and A+1D0D3 to @#'B 100!
[(!] vlan 100
[(!-vlan100] quit
[(!] inter$ace giga%itethernet 1&0&1
[(!-'iga%it(thernet1&0&1] stp disa%le
[(!-'iga%it(thernet1&0&1] port lin)-type trun)
[(!-'iga%it(thernet1&0&1] port trun) allow-pass vlan 100
[(!-'iga%it(thernet1&0&1] quit
[(!] inter$ace giga%itethernet 1&0&
[(!-'iga%it(thernet1&0&] stp disa%le
[(!-'iga%it(thernet1&0&] port lin)-type trun)
[(!-'iga%it(thernet1&0&] port trun) allow-pass vlan 100
[(!-'iga%it(thernet1&0&] quit
N >n P+9" reate @#'B 100 and add A+1D0D1" A+1D0D2" and A+1D0D3 to @#'B 100!
[("] vlan 100
[("-vlan100] quit
[("] inter$ace giga%itethernet 1&0&1
[("-'iga%it(thernet1&0&1] stp disa%le
[("-'iga%it(thernet1&0&1] port lin)-type trun)
[("-'iga%it(thernet1&0&1] port trun) allow-pass vlan 100
[("-'iga%it(thernet1&0&1] quit
[("] inter$ace giga%itethernet 1&0&
[("-'iga%it(thernet1&0&] stp disa%le
[("-'iga%it(thernet1&0&] port lin)-type trun)
[("-'iga%it(thernet1&0&] port trun) allow-pass vlan 100
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
82
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 76/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[("-'iga%it(thernet1&0&] quit
3! Configure P+1 as the *aster node and P+2 to P+9 as transit nodes of the *aster ring"
and onfigure pri*ary and seondary ports on the nodes!
N Configure P+1!
[(1] rrpp domain 1
[(1-rrpp-domain-region1] ring 1 node-mode master primary-port
giga%itethernet1&0& secondary-port giga%itethernet1&0&! level 0
[(1-rrpp-domain-region1] ring 1 ena%le
N Configure P+2!
[(] rrpp domain 1
[(-rrpp-domain-region1] ring 1 node-mode transit primary-port
giga%itethernet1&0& secondary-port giga%itethernet1&0&! level 0
[(-rrpp-domain-region1] ring 1 ena%le
N Configure P+3!
[(!] rrpp domain 1
[(!-rrpp-domain-region1] ring 1 node-mode transit primary-port
giga%itethernet1&0&1 secondary-port giga%itethernet1&0& level 0
[(!-rrpp-domain-region1] ring 1 ena%le
N Configure P+9!
[("] rrpp domain 1
[("-rrpp-domain-region1] ring 1 node-mode transit primary-port
giga%itethernet1&0&1 secondary-port giga%itethernet1&0& level 0
[("-rrpp-domain-region1] ring 1 ena%le
9! +nale PP!
N Configure P+1!
[(1] rrpp ena%le
N Configure P+2!
[(] rrpp ena%le
N Configure P+3!
[(!] rrpp ena%le
N Configure P+9!
[("] rrpp ena%le
'fter the onfigurations are o*plete" run the display rrpp brie or display rrpp
"erbose do#ain o**and on the de&ies! P+1 is used as an e4a*ple!
[(1] display rrpp %rie$
8%%reviations $or Switch ode Bode 4B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
// Wor)ing Bode4 EW
// Lin)up 5elay 6imer4 0 sec 90 sec de$ault
um%er o$ // 5omains4 1
5omain .nde 4 1
,ontrol =L8 4 maFor # su% 2
rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
/ing /ing ode rimary&,ommon Secondary&(dge .s
.5 Level Bode ort ort (na%led
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
83
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 77/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
----------------------------------------------------------------------------
1 0 B 'iga%it(thernet1&0& 'iga%it(thernet1&0&! Ges
The o**and output shows that PP is enaled on P+1! In do*ain 1" @#'B 6 is the*aor ontrol @#'B" @#'B8 is the su-ontrol @#'B" and @#'Bs *apping instane 1
are the proteted @#'Bs! P+1 is the *aster node on ring 1! The pri*ary node isA+1D0D2 and the seondary port is A+1D0D3!
[(1] display rrpp ver%ose domain 1
5omain .nde 4 1
,ontrol =L8 4 maFor # su% 2
rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
// /ing 4 1
/ing Level 4 0
ode Bode 4 Baster
/ing State 4 ,omplete
.s (na%led 4 (na%le .s 8ctive4 Ges
rimary port 4 'iga%it(thernet1&0& ort status4 H
Secondary port 4 'iga%it(thernet1&0&! ort status4 3L@,A(5
The o**and output shows that @#'B 6 is the *aor ontrol @#'B" @#'B8 is thesu-ontrol @#'B" and @#'Bs *apping instane 1 are the proteted @#'Bs in do*ain
1! P+1 is the *aster node in do*ain 1 and is in Co*plete state! The pri*ary node is
A+1D0D2 and the seondary port is A+1D0D3!
Step " Configure the #ayer 2 forwarding funtion on C+ and #$?1 to #$?3!
The onfiguration details are not pro&ided here! %or details" see onfiguration files in this
e4a*ple!
----End
Con>guration 3iles
Configuration file of #$?1
+
sysname LSW1
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
protected-instance 0 to "*+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 10 100
stp disa%le
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
89
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 78/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
sep segment 1
+
return
Configuration file of #$?2
+ sysname LSW
+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100
stp disa%le
sep segment 1
+
return
Configuration file of #$?3
+
sysname LSW!+
vlan %atch 10 100
+
sep segment 1
control-vlan 10
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100
stp disa%le
sep segment 1
+
inter$ace 'iga%it(thernet1&0&!
port lin)-type trun)
port trun) allow-pass vlan 100
+
return
Configuration file of P+1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
86
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 79/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
+
sysname (1
+
vlan %atch # to 2 10 100
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan # to 2 100
active region-con$iguration
+
rrpp domain 1
control-vlan #
protected-vlan re$erence-instance 1
ring 1 node-mode master primary-port 'iga%it(thernet 1&0& secondary-port
'iga%it(thernet 1&0&! level 0
ring 1 ena%le
+sep segment 1
control-vlan 10
%loc) port middle
tc-noti$y rrpp
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100
stp disa%le
sep segment 1 edge primary
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan # to 2 100
stp disa%le
+
inter$ace 'iga%it(thernet1&0&!
port lin)-type trun)
port trun) allow-pass vlan # to 2 100
stp disa%le
+
return
Configuration file of P+2
+
sysname (
+
vlan %atch # to 2 10 100
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan # to 2 100
active region-con$iguration
+
rrpp domain 1
control-vlan #
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
88
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 80/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet 1&0& secondary-port
'iga%it(thernet 1&0&! level 0
ring 1 ena%le
+
sep segment 1
control-vlan 10
tc-noti$y rrpp
protected-instance 0 to "*
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100
stp disa%le
sep segment 1 edge secondary
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun) port trun) allow-pass vlan # to 2 100
stp disa%le
+
inter$ace 'iga%it(thernet1&0&!
port lin)-type trun)
port trun) allow-pass vlan # to 2 100
stp disa%le
+
return
Configuration file of P+3
+
sysname (!
+
vlan %atch # to 2 100 00
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan # to 2 100
active region-con$iguration
+
rrpp domain 1
control-vlan #
protected-vlan re$erence-instance 1 ring 1 node-mode transit primary-port 'iga%it(thernet 1&0&1 secondary-port
'iga%it(thernet 1&0& level 0
ring 1 ena%le
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 100
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan # to 2 100 00
stp disa%le
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
8:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 81/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
+
inter$ace 'iga%it(thernet1&0&!
port de$ault vlan 00
port trun) allow-pass vlan # to 2 100
+
return
Configuration file of P+9
+
sysname ("
+
vlan %atch # to 2 100 00
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan # to 2 100
active region-con$iguration
+
rrpp domain 1
control-vlan #
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet 1&0&1 secondary-port
'iga%it(thernet 1&0& level 0
ring 1 ena%le
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 100
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan # to 2 100 00
stp disa%le
+
inter$ace 'iga%it(thernet1&0&!
port de$ault vlan 00
port trun) allow-pass vlan # to 2 100
+
return
Configuration file of C+
+
sysname ,(
+
vlan %atch 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 100
+
return
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
8<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 82/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
!%" Troubleshooting
!%"%1 Troubleshooting Overview
$+P supports &arious o*ple4 networ,ing and has a fast on&ergene ti*e! $+P enales ade&ie on the +thernet networ, to seleti&ely lo, ports so that traffi is load alaned! $+P
is widely used eause of its ad&antages! @arious prole*s our when $+P is used! The*aor prole* is that $+P auses traffi forwarding failure! This setion desries o**on
auses of $+P faults" and pro&ides the orresponding trouleshooting flowhart and troule
shooting proedure!
!%"%! 3ault 18 TraBc 3orwarding 3ails on S&' -in.s
!%"%!%1 3ault Description
'fter $+P is onfigured on a ring networ," traffi annot e forwarded nor*ally!
This fault is often aused y one of the following reasons/
The $+P onfiguration is inorret!
' port does not allow data pa,ets of the speified @#'B to pass!
' physial port is faulty!
!%"%!%! Troubleshooting +oadmap
The trouleshooting road*ap is as follows/
1! Che, whether the topology and status of the $+P seg*ent are nor*al!
2! Che, whether ports on the ring networ, allow data pa,ets of the speified @#'B to pass!
3! Che, whether physial ports on the ring networ, are in own state!
9! Che, whether physial ports on the ring networ, are faulty!
!%"%!%" Troubleshooting 3lowchart
etify the fault aording to %igure 1!1!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
8=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 83/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 $+P lin, trouleshooting flowhart
!%"%!%* Troubleshooting 'rocedure
Step 1 Che, whether the topology and status of the $+P seg*ent are nor*al!
In nor*al situations" an $+P seg*ent ontains only one pri*ary edge port and one seondary
edge port! >ther ports in the $+P seg*ent are o**on ports!
un the display sep topology $ seg#ent segment-id % $ "erbose % o**and in any &iew to
he, the topology and status of the $+P seg*ent!
<Cuidway> display sep topology
S( segment 1
----------------------------------------------------------------
System ame ort ame ort /ole ort Status
----------------------------------------------------------------
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
:0
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 84/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
LSW1 '(1&0&1 primary $orwarding
LSW '(1&0&1 common $orwarding
LSW '(1&0& common $orwarding
LSW! '(1&0&0 common $orwarding
LSW! '(1&0& common discarding
LSW" '(1&0&1 common $orwarding
LSW" '(1&0& common $orwarding
LSW# '(1&0&1 common $orwarding
LSW# '(1&0&! common $orwarding
LSW1 '(1&0&! secondary $orwarding
If the topology and status of the $+P seg*ent are anor*al" perfor* the following
operations/
M Che, whether the $+P onfiguration is orret!
M Che, the status of ports in the $+P seg*ent and go to !
If the topology and status of the $+P seg*ent are nor*al" go to !
Step ! Che, whether the port is in own state!
un the display intera!e o**and in any &iew to he, the status of the port!
<Cuidway> display inter$ace #iga$itEthernet 1&0&1
#iga$itEthernet1&0&1 current state 4 5@W
Line protocol current state 4 5@W
5escription4EH8W(.D Cuidway SeriesD 'iga%it(thernet1&0&1 .nter$ace
Switch ortD =.5 4 1D 6.5 4 *1009EeD 6he Baimum ?rame Length is 1200
. Sending ?ramesI ?ormat is A6?B6J(6E6JD Eardware address is 000%-01*-*%c1
ort Bode4 ,@BB@ ,@(/
Speed 4 10D Loop%ac)4 @(
5uple4 E8L?D egotiation4 (83L(
Bdi 4 8H6@Last !00 seconds input rate 0 %its&secD 0 pac)ets&sec
Last !00 seconds output rate 0 %its&secD 0 pac)ets&sec
.nput pea) rate 0 %its&secD /ecord time4 -
@utput pea) rate 0 %its&secD /ecord time4 -
.nput4 0 pac)etsD 0 %ytes
Hnicast 4 0D Bulticast 4 0
3roadcast 4 0D Kum%o 4 0
,/, 4 0D 'iants 4 0
Ka%%ers 4 0D ?ragments 4 0
/unts 4 0D 5rop(vents 4 0
8lignments 4 0D Sym%ols 4 0
.gnoreds 4 0D ?rames 4 0
5iscard 4 0D 6otal (rror 4 0
@utput4 0 pac)etsD 0 %ytes
Hnicast 4 0D Bulticast 4 0
3roadcast 4 0D Kum%o 4 0
,ollisions 4 0D 5e$erreds 4 0
Late ,ollisions4 0D (cessive,ollisions4 0
3u$$ers urged 4 0
5iscard 4 0D 6otal (rror 4 0
.nput %andwidth utiliation threshold 4 100;00M
@utput %andwidth utiliation threshold4 100;00M
.nput %andwidth utiliation 4 0;00M
@utput %andwidth utiliation 4 0;00M
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
:1
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 85/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
If the port is in own state" run the display this o**and in the interfae &iew to he,
whether the port has een shut down!
M If the o**and output displays shutdown" run the undo shutdown o**and in the
interfae &iew!
M If shutdown is not displayed" go to ! If the port is in &p state" go to !
Step " Che, whether physial ports are faulty!
If physial ports are faulty" retify the fault!
If physial ports are wor,ing properly" go to $tep 9!
Step * Che, whether ports in the $+P seg*ent allow data pa,ets of the speified @#'B to pass!
un the display this o**and in the interfae &iew to he, whether the port allows data pa,ets of the speified @#'B to pass!
[Cuidway] inter$ace #iga$itEthernet 1&0&1[Cuidway-'iga%it(thernet1&0&1] display this
port lin)-type trun)
port trun) allow-pass vlan 10 100
stp disa%le
sep segment 1 edge primary
+
return
If the port does not allow pa,ets of the speified @#'B to pass" onfigure it to allow
pa,ets of this @#'B to pass!
If the port allows pa,ets of the speified @#'B to pass" go to $tep 6!
Step ) Collet the following infor*ation and ontat Huawei tehnial support personnel/
esults of the preeding trouleshooting proedure
Configuration file" logs" and alar*s of de&ies
----End
!%"%" In6ormation Collection :ethods
If the fault annot e loated" ollet the following infor*ation! If non-Huawei de&ies are
in&ol&ed" ollet infor*ation aording to the o**and referene! %or *ethods of olletingswith logs and diagnosis logs" see hapter =$with #ogs and iagnosis #ogs!
!%"%"%1 <etwor. Topology
Collet networ, topology infor*ation inluding de&ie na*es" syste* 'C addresses" and
na*es of onneted ports!
!%"%"%! -ist o6 the display Commands
Command Description
display &ersion isplays &ersion infor*ation!
display de&ie isplays de&ie status infor*ation!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
:2
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 86/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Command Description
display path-infor*ation isplays path infor*ation!
display pu-usage (slot slot-id) isplays the CP7 usage!
display *e*ory-usage (slot slot-id) isplays the *e*ory usage!
display urrent-onfiguration isplays the de&ie onfiguration!
display interfae isplays traffi on all ports! (Collet the
infor*ation one e&ery fi&e *inutes and twie
in total!)
display sep topology isplays the topology and status of the $+P
seg*ent!
!%* Troubleshooting Cases
!%*%1 Case 18 A6ter the S&' Con>guration on a 3aulty'ort Is Deleted a Device Cannot 2e :anaged
!%*%1%1 Symptom and <etwor.ing
's shown in %igure 1!1" $with'" $with5" $withC" $withA" $with%" and $with+ for*
$+P seg*ent 1! $withC" $with" and $with+ for* $+P seg*ent 2! The lin, etween$withC and $with is faulty! 'fter the $+P onfiguration on the faulty port of $with is
deleted" $with annot e *anaged!
Figure 1.1 Betwor,ing
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
:3
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 87/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
!%*%1%! +oot Cause
?hen the lin, etween $withC and $with is faulty" the lo,ed port in $+P seg*ent 2 is
unlo,ed! The two faulty ports are in isarding state! 'fter the $+P onfiguration on thefaulty port of $with is deleted" $+P seg*ent 2 selets a new lo,ed port etween the twoonneted ports of $with and $with+! 5oth the two lin,s onneting $with to $withC
and $with+ fail! 's a result" $with annot e *anaged!
!%*%1%" Identi>cation :ethod
un the display sep topology seg#ent 'seg#ent-id( o**and to &iew the urrent topology
infor*ation and loate the faulty port!
+ display sep topology segment <segment-id>
<Switch5> display sep topology segment
S( segment
S( detects a segment $ailure that may %e caused %y an incomplete topology
-----------------------------------------------------------------
System ame ort ame ort /ole ort Status
-----------------------------------------------------------------
Switch( '(0&0&! secondary $orwarding
Switch5 '(0&0&1 common $orwarding
Switch5 '(0&0& common discarding
!%*%1%* Solution
?hen deleting $+P onfigurations in an open ring senario" you are ad&ised to delete the
onfigurations fro* one end of the open ring! ?hen only one $+P-enaled port is left" shut
down the port and then delete the $+P onfiguration on the port!
!%*%1%) Summary
?hen deleting $+P onfigurations" you need to onsider the deploy*ent of ser&ie @#'Bs inthe $+P seg*ent! >therwise" a de&ie *ay eo*e un*anageale or ser&ies *ay e
interrupted eause of *ultiple lo,ed ports!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
:9
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 88/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
" ST'
"%1 Overview
"%1%1 3eature Description
"%1%1%1 2ac.ground
>n a #ayer 2 swithing networ," pa,ets will e generated and trans*itted infinitely one a
loop ours" ausing a roadast stor*! 'll a&ailale andwidth is onsu*ed y the roadast
stor*" and therefore &alid pa,ets annot e trans*itted on the networ,!
The $panning Tree Protool ($TP) is de&eloped to sol&e the prole*! $TP is a #ayer 2
*anage*ent protool! It seleti&ely lo,s redundant lin,s to eli*inate loops on #ayer 2networ,s! $TP also supports lin, a,up!
#i,e other protools" $TP e&ol&es ontinuously with the networ, de&elop*ent! In the eginning" the I+++<02!1-1==< $TP protool was widely used! The I+++ <02!1w apid
$panning Tree Protool ($TP) and the I+++ <02!1s ultiple $panning Tree Protool
($TP) were de&eloped on the asis of $TP afterwards!
"%1%1%! Introduction to ST'
In a narrow sense" $TP refers to the $TP protool defined in I+++ <02!1-1==<!
$TP is a lin,-layer *anage*ent protool that detets and pre&ents loops on #ayer 2 networ,s!
$TP lo,s redundant lin,s and prunes a networ, into a tree topology free fro* loops! To
i*ple*ent the $TP funtion" de&ies are reuired to e4hange infor*ation! The e4hangedinfor*ation units are alled ridge protool data units (5P7s)!
5P7 is also na*ed onfiguration infor*ation! In this dou*ent" $TP pa,ets are alled
5P7s! $TP 5P7s are #ayer 2 pa,ets and the destination 'C address in the pa,ets is
the *ultiast address 01-<0-C2-00-00-00! The data area in $TP 5P7s ontains all
infor*ation used for $TP alulation!
Howe&er" $TP on&ergene is slow! ' port *ust wait 30s to enter the %orwarding state!
To sol&e the slow on&ergene prole* of $TP" $TP was defined in I+++ <02!1w released
y the I+++ in 2001! 5ased on $TP" $TP pro&ides a faster on&ergene speed and has the
following three i*pro&e*ents/
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
:6
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 89/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Configures alternate ports that are used to i*ple*ent fast switho&er for root ports and
onfigures a,up ports for designated ports!
>n a point-to-point lin, onneting only two swith ports" designated ports enter the
%orwarding state without delay after one-way handsha,e with the downstrea* ridge!
efines ports diretly onneted to ter*inals rather than other ridges as edge ports!+dge ports an diretly enter the %orwarding state after eing onfigured *anually!
Howe&er" oth $TP and $TP ha&e a defet" that is" all the @#'Bs on the sa*e #'B sharethe sa*e spanning tree! 's a result" data traffi annot e load alaned a*ong different
@#'Bs! In addition" pa,ets of so*e @#'Bs *ay fail to e forwarded!
$TP is a new spanning tree protool defined in I+++ <02!1s and has o&ious ad&antages
o*pared with $TP and $TP! $TP has the following features/
i&ides a swithing networ, into *ultiple regions! +ah region has *ultiple spanning
trees" whih are independent of eah other! $TP uses a Co**on and Internal $panningTree (CI$T) to pre&ent loops in the entire networ, topology!
aps *ultiple @#'Bs to one instane! The topology of eah *ultiple spanning treeinstane ($TI) is alulated independently (eah instane has an independent spanningtree)! Traffi fro* different @#'B is load alaned a*ong the instanes!
Pro&ides a fast port transition *ehanis* si*ilar to that used in $TP!
$TP is o*patile with $TP and $TP!
"%1%1%" :ST' Concepts
's shown in %igure 1!1" the #'B ontains four $T regions! +ah region onsists of four
swithes! $TP onepts are larified ased on %igure 1!1!
Figure 1.1 $TP networ, diagra*
4LAN+556 7"T#+
4LAN-556 7"T#-other 4LANs5567"T#8
A0
!04LAN+556 7"T#+
other 4LANs5567"T#8
4LAN-,4LAN9556 7"T#-4LAN+556 7"T#+
4LAN-556 7"T#-other 4LANs5567"T#8
4LAN+556 7"T#+
4LAN-,4LAN9556 7"T#-
other 4LANs5567"T#8C"T
.0D0
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
:8
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 90/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
$T region
' *ultiple spanning tree ($T) region onsists of se&eral swithes in a #'B and
networ, seg*ents etween the swithes! The de&ies run $TP and ha&e the sa*e
region na*e" *apping etween @#'Bs and $TIs" and $TP re&ision le&el! 's shownin %igure 1!1" the '0 region is an $T region!
' #'B an o*prise se&eral diretly or indiretly onneted $T regions! In %igure1!1" the #'B o*prises four $T regions" na*ely" '0" 50" C0" and 0!
$TI
ultiple spanning trees an e generated in an $T region! +ah spanning tree is
independent of one another and *aps a @#'B! $uh a spanning tree is alled a *ultiplespanning tree instane ($TI)! 's shown in %igure 1!2" the 0 region ontains three
$TIs" na*ely" $TI 0" $TI 1" and $TI 2!
C$T
The o**on spanning tree (C$T) is a single spanning tree that onnets all $T regionson a swithing networ,! If eah $T region is onsidered as a swith" the C$T is a
spanning tree generated y $TP and $TP alulation! In %igure 1!1" the dotted lue line
indiates the C$T!
I$T
The internal spanning tree (I$T) is a spanning tree in instane 0 of eah $T region! It is
a frag*ent of the CI$T in the $T region! I$T is also alled $TI 0! In %igure 1!2"
$TI 0 is an I$T! The I$Ts of all $T regions and the C$T for* a o*plete spanning
tree" that is" the CI$T!
CI$T
The Co**on and Internal $panning Tree (CI$T) is a single spanning tree alulated y
$TP and $TP! CI$T onnets all swithes on a swithing networ,!
Figure 1.2 appings etween the $TI" I$T and @#'B
SwitchA A/+
Switch. Switch!
SwitchD
7"T#+
root switch' "witchC
7"T#-
root switch' "witch(
7"T#8 :#"T;root switch' "witchA
other 4LANs 7"T#8
4LAN+ 7"T#+
4LAN-,4LAN9 7"T#-
D0
@#'B *apping tale
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
::
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 91/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
The @#'B *apping tale is an attriute of an $T region! It desries the *apping etween a @#'B and an $TI! 's shown in %igure 1!2" @#'B 1 *aps to $TI 1"
@#'B 2 and @#'B 3 *ap to $TI 2" and other @#'Bs *ap to $TI 0 in the $T
region 0!
egional rootegional roots are lassified into CI$T regional roots and $TI regional roots! ' CI$T
regional root is the root of an I$T" and an $TI regional root is the root of an $TI! If
topologies of spanning trees in an $T region are different" regional roots *ay edifferent!
CI$T root
The CI$T root is the root swith of the CI$T!
+4ternal root path ost
The e4ternal root path ost is the ost of the shortest path fro* a port to the CI$T root!
Internal root path ost
The internal root path ost is the ost of the shortest path fro* a port to a regional root! 5ridge I
The ridge I ontains 89 its in total! The left*ost 18 its are the $TP priority of aswith and the other 9< its are the 'C address of the swith!
+dge port
'n edge port is the port loated at the edge of the whole region and is not onneted to
any swith! Aenerally" the edge port is diretly onneted to a user ter*inal!
egion edge port
' region edge port is loated at the edge of an $T region and onnets ports in
different $T regions" $T regions and regions running $TP" or $T regions and
regions running $TP!
Port role
uring $TP alulation" $TP defines fi&e port roles/ root port" designated port"
alternate port" a,up port" and *aster port! ' port an funtion as different roles in
different $TIs! %igure 1!3 shows port roles defined in $TP!
Figure 1.3 Port roles defined in $TP
SwitchA
root
A/9 A/-
C/+ (/+
Switch.
(/-C/9C/-
Switch!
root portdesignated port
alternate port
backup port
M oot port
>n a non-root swith" the root port is the port losest to the root swith! The root
swith does not ha&e a root port! The root port is responsile for forwarding data to
the tree root!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
:<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 92/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
's shown in %igure 1!3" $with' is the root swith! CP1 is the root port of $withCand 5P1 is the root port of $with5!
M esignated port
The designated port is responsile for forwarding data to the downstrea* networ,
seg*ent or swith!'s shown in %igure 1!3" 'P2 and 'P3 are the designated ports of $with'" and CP2
is the designated port of $withC!
M 'lternate port
The alternate port is the a,up port of the root port! If the root port is lo,ed" the
alternate port eo*es the root port! 's shown in %igure 1!3" 5P2 is an alternate port!
M 5a,up port
?hen two ports of a swith are onneted" a loop is for*ed" and then the swith lo,s one of the two ports! The lo,ed port is a a,up port! The other port is in
%orwarding state and eo*es a designated port! 's shown in %igure 1!3" CP3 is the
a,up port! The a,up port is the a,up port of the designated port!
M aster port
' *aster port onnets an $T region to the CI$T root! It is on the shortest path
fro* the $T region to the CI$T root! The *aster port is the root port in theI$TDCI$T and is the *aster port in other $TIs!
Port state
' port an funtion as different roles in different $TIs!
The state of a port depends on whether the port learns 'C addresses and forwards user
traffi! ' port an e in the following three states/
M %orwarding state/ The port learns 'C addresses and forwards user traffi!
M #earning state/ The port learns 'C addresses ut does not forward user traffi!
M isarding state/ The port does not learn 'C addresses or forward user traffi!
"%1%1%* :ST' 'rotection
5P7 protetion
>n a swith" ports that are diretly onneted to the user ter*inal suh as a PC or file
ser&er are onfigured as edge ports to i*ple*ent fast port state transition! 7sually" no5P7 is sent to edge ports! If the swith is atta,ed y pseudo 5P7s" the swith
auto*atially sets these ports as non-edge ports after these ports reei&e 5P7s" and
realulates the spanning tree! 's a result" networ, flapping ours!
$TP pro&ides the 5P7 protetion funtion to pre&ent suh atta,s! 'fter the 5P7
protetion funtion is enaled" the swith shuts down the edge ports that reei&e 5P7s!'t the sa*e ti*e" the shutdown o**and onfiguration is generated on the ports! The
edge ports shut down y the swith an e *anually started only y the networ,
ad*inistrator!
oot protetion
The &alid root swith *ay reei&e a 5P7 with a higher priority due to inorret
onfigurations or *aliious atta,s on the networ,! This results in the position loss of the
root swith and the inorret hange of the networ, topology! In this ase" the traffitrans*itted on a high-speed lin, is swithed to a low-speed lin," whih auses networ,
ongestion!
To address this prole*" the swith pro&ides the root protetion funtion! The root
protetion funtion protets the role of the root swith y retaining the role of the
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
:=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 93/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
designated port! 'fter root protetion is enaled on a port" the port re*ains as thedesignated port in all instanes!
?hen the port reei&es a 5P7 with a higher priority" the port stops forwarding pa,ets
and enters the isarding state" ut does not hange into a non-designated port! If the
port does not reei&e any 5P7 with a higher priority within a ertain period" it restoresto the forwarding state!
#oop protetion
The swith *aintains states of the root port and lo,ed ports y ontinuously reei&ing
5P7s fro* the upstrea* swith! If these ports annot reei&e any 5P7 fro* theupstrea* swith eause of lin, ongestion or lin, failures" the swith selets a new root
port! Then the pre&ious root port eo*es a designated port and the lo,ed ports turn to
the %orwarding state! This *ay ause networ, loops!
The loop protetion funtion pre&ents suh networ, loops! 'fter loop protetion is
enaled" the root port is lo,ed if it does not reei&e any 5P7 fro* the upstrea*swith! The lo,ed ports are still lo,ed and annot forward pa,ets! Therefore"
networ, loops will not e generated!
TC protetion
'fter reei&ing TC-5P7s" the swith i*ple*ents the operation of deleting 'Caddress entries and 'P entries! If a *aliious atta,er sends pseudo TC-5P7s to
atta, the swith" the swith will reei&e a large nu*er of TC-5P7s within a short
period" and delete its 'C address entries and 'P entries freuently! 's a result" the
swith is hea&ily urdened" threatening the networ, staility!
'fter TC protetion is enaled" the nu*er of ti*es that TC-5P7s are proessed y theswith within a ertain period is onfigurale (the default period is 2s" and the default
nu*er of ti*es is different in different &ersions)! If the nu*er of TC-5P7s that the
swith reei&es within the gi&en ti*e e4eeds the speified threshold" the swith proesses TC-5P7s only for the speified nu*er of ti*es! %or the e4ess TC-5P7s"
the swith proesses the* one in a unified way after the ti*er e4pires! In this way" theswith is pre&ented fro* freuently deleting its 'C address entries and 'P entries"
and therefore relie&ed fro* the ensuing urdens!
"%1%1%) :ST' Convergence &7ample
The $TP alulation proess is introdued ased on %igure 1!1!
Figure 1.1 $TP alulation proess
Tale 1!1 lists initial para*eters of de&ies and ports in %igure 1!1!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<0
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 94/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Table 1.1 Initial para*eters of de&ies and ports
Device 2ridge ID 'ort Cost
$with ' 0! 5ridge' 'P1 20000
'P2 20000
$with 5 32:8<! 5ridge5 5P1 20000
5P2 20000
$with C 32:8<! 5ridgeC CP1 30000
CP2 20000
oot swith eletion
'll $TP-enaled ports on the three swithes send 5P7s arrying the loal ridge I asthe root ridge I! 'P1 and 'P2 of $with' reei&e 5P7s fro* $with5 and $withCrespeti&ely! The $TP priority of $with' is set to 0 gloally! Therefore" $with' is
eleted as the root swith!
Port role seletion
>n the root swith $with'" oth 'P1 and 'P2 are designated ports!
The shortest path fro* non-root swithes $with5 and $withC to the root swith$with' is alulated ased on the root port onept (on a non-root swith" the root port
is the port losest to the root swith)!
M The alulation proess of $with5 is as follows/
The ost of the path 'P1-L 5P1 fro* the root swith $with' to $with5 is 20000"
whih is the ost of 5P1!
The ost of the path 'P2-L CP1-L5P2 fro* the root swith $with' to $with5 is
60000" whih is the ost of CP1 plus the ost of 5P2!
The shortest path fro* $with5 to the root swith $with' is fro* 'P1 to 5P1!
M The alulation proess of $withC is as follows/
The ost of the path 'P2-LCP1 fro* the root swith $with' to $withC is 30000"whih is the ost of CP1!
The ost of the path 'P1-L5P1-LCP2 fro* the root swith $with' to $withC is
90000" whih is the ost of 5P1 plus the ost of CP2!
The shortest path fro* $withC to the root swith $with' is fro* 'P2 to CP1!
Therefore" 5P1 is the root port of $with5 and CP1 is the root port of $withC!
The lin, etween 5P2 and CP2 is a redundant lin,! 5P2 or CP2 *ust e lo,ed! The
path ost fro* the root port to the root ridge is used in seletion of the designated port
(used to forward data to the downstrea* networ, seg*ent or swith)! 5P2 is *oresuitale than CP2 and is seleted as the designated port! CP2 is the alternate port!
"%1%! ?ersion Di@erence
$TP does not hange too *uh in different &ersions! The hanges are *ainly in the aspets of
*aintainaility and default &alue!
$TP is gloally enaled on $4: series swithes y default sine @100008!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<1
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 95/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
>n $ series swithes sine @100008" you an run the display stp region-!oniguration
digest o**and to &iew the digest of an $TP region and deter*ine whether a de&ie is
in the region!
[Switch]display stp region-con$iguration digest
@per con$iguration ?ormat selector 40
/egion name 4*2ed"e*d:
/evision level 40
5igest 408,!21::?#0*!,5"3*!*15*8325(2
The attriute of an edge port hanges!
In &ersions earlier than @200001" if you run the display stp intera!e o**and to&iew the $TP status infor*ation of a port that is not onfigured with the stp edged-port
enable o**and" the edge port attriute is displayed as follows/
ort (dged 4,on$ig7de$ault & 8ctive7disa%led
or
ort (dged 4,on$ig7disa%led & 8ctive7disa%led (on a hassis swith in
@100002)
.n =00/001D the in$ormation is displayed as $ollows4
ort (dged 4,on$ig7de$ault & 8ctive7ena%led
In @200001" the auto*ati detetion funtion of the edge port attriute is supported! If
the port has ne&er reei&ed any 5P7" the edge port attriute ta,es effet auto*atially!
(The stp edged-port enable o**and onfiguration is not auto*atially generated onthe port! Therefore" the &alue of the )onig field is still deault!)
In @200001" if the stp edged-port enable o**and is onfigured on a port" root
protetion and loop protetion an e onfigured on the port! In other &ersions" an error*essage is displayed!
"%1%" Implementation on Devices o6 Other ?endors"%1%"%1 H"C
$TP-related o**and onfiguration of H3C swithes is si*ilar to that of $ series swithes!
5y default" H3C swithes use the legay standard to alulate the path ost while $ series
swithes use the dot1t standard! ?hen H3C swithes are onneted to $ series swithes"
onfigure the sa*e alulation standard for the swithes!
>n so*e H3C swithes in old *odels" when $TP is not enaled gloally or when $TP is
enaled gloally ut not on ports" the ports reei&e 5P7s and forward the* as o**on*ultiast data pa,ets in @#'Bs! Ports on $ series swithes disard the 5P7s y default!
"%1%"%! Cisco
Ciso swithes support the following spanning tree protools/ Per @#'B $panning Tree
(P@$T)" Per @#'B $panning Tree Plus (P@$T;)" apid P@$T;" and ultiple $panning Tree($T)! $o*e 5P7s of these spanning tree protools use Ciso proprietary 5P7 for*ats"
whih are different fro* the 5P7 for*at defined y I+++!
?hen a Ciso swith runs P@$T; or apid P@$T;" the lin, type of the port on the
Ciso swith deter*ines whether the swith an o**uniate with an $ series swith!
M If the port lin, type is trun, and the port is deleted fro* @#'B 1" the Ciso swith
annot o**uniate with the $ series swith! If the port on the Ciso swith sends proprietary 5P7s in @#'Bs e4ept @#'B 1" the $ series swith does not proess
the 5P7s y default and forwards the 5P7s as o**on *ultiast data pa,ets!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<2
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 96/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
M The $ series swith an also ha&e the l2protool-tunnel transparent trans*issiononfigured to transparently trans*it the 5P7s!
M If the port lin, type is trun, and the port is added to @#'B 1" the Ciso swith an
o**uniate with the $ series swith only in @#'B 1!
M If the port lin, type is aess" the Ciso swith an o**uniate with the $ seriesswith!
?hen the Ciso swith runs $T" the swith is onsidered to wor, in standard $TP
*ode and an o**uniate with the $ series swith!
?hen an $TP-enaled $ series swith and an $T-enaled Ciso swith ha&e the
sa*e region onfiguration (the sa*e region na*e" re&ision le&el" and *apping etween
@#'Bs and instanes)" the two swithes use different ,eys to generate $TP digests in
5P7s! Therefore" digests in 5P7s sent y ports on the two swithes are different!The two swithes elong to different $T regions eause they generate different
digests! They an i*ple*ent only inter-region interoperation! To i*ple*ent intra-region
interoperation" run the stp !onig-digest-snoop o**and on the $ series swith to
enale the digest snooping funtion!
M $et the spanning tree *ode!
Switch9con$ig+spanning-tree mode mst
M Configure an $T region!
Switch 9con$ig+spanning-tree mst con$iguration
Switch 9con$ig-mst+name BS6
Switch 9con$ig-mst+instance 1 vlan 2
Switch 9con$ig-mst+instance vlan *
M $et the priority of an $TI!
Switch 9con$ig+spanning-tree mst 1 priority *1
M @iew rele&ant infor*ation!
Switch +show spanning-tree con$iguration
Switch +show spanning-tree mst con$iguration digest
Switch + show spanning-tree mst 1
Switch + show spanning-tree mst inter$ace $astethernet 0&
+4a*ple/
Switch + show spanning-tree mst 1
++++++ BS601 vlans mapped4 2
3ridge address 001#;$a0;:c*0 priority *1! 9*1 sysid 1
/oot address #"*-*$#-a0a0 priority "0: 9"02 sysid 1
port ?a0& cost 00000 rem hops
1
.nter$ace /ole Sts ,ost rio;%r 6ype
-------------- --- ---- -------- ---- --- ---------------------------
?a0& /oot ?W5 00000 1*; p
?a0&! 8ltn 3LA 00000 1*;! p
?hen an $ series o4 swith transparently trans*its P@$T; pa,ets through l2protool-tunnel" run thebpdu #a!-address *1**-*!!!-!!!d o**and on the swith!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<3
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 97/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
"%! Con>guration uide
"%!%1 Scenario 18 Con>guring 2asic +ST' 3unctions
"%!%1%1 <etwor.ing Description
's shown in %igure 1!1" loops e4ist on the networ,! $TP is enaled on $with'" $with5"
$withC" and $with! The swithes e4hange 5P7s to diso&er loops on the networ, and
seleti&ely lo, a redundant port to prune the networ, into a loop-free tree networ,! $TP
pre&ents infinite looping of pa,ets to ensure pa,et proessing apailities of de&ies!
Figure 1.1 Configuring $TP funtions
"%!%1%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure $TP on the swithes to wor, in $TP *ode!
2! Configure the root ridge and a,up root ridge!
3! Configure the path ost on a port so that the port an e lo,ed!
9! +nale $TP to pre&ent loops!
The ports onneted to PCs do not partiipate in $TP alulation! isale $TP on these ports!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<9
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 98/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
"%!%1%" Con>guration &7ample
Step 1 Configure asi $TP funtions!
1! Configure $TP on the swithes to wor, in $TP *ode!
N Configure $TP on $with' to wor, in $TP *ode!
<Cuidway> system-view
[Cuidway] sysname Switch8
[Switch] stp mode rstp
N Configure $TP on $with5 to wor, in $TP *ode!
<Cuidway> system-view
[Cuidway] sysname Switch3
[Switch3] stp mode rstp
N Configure $TP on $withC to wor, in $TP *ode!
<Cuidway> system-view
[Cuidway] sysname Switch,[Switch,] stp mode rstp
N Configure $TP on $with to wor, in $TP *ode!
<Cuidway> system-view
[Cuidway] sysname Switch5
[Switch5] stp mode rstp
2! Configure the root ridge and a,up root ridge!
N Configure $with' as the root ridge!
[Switch8] stp root primary
N Configure $with as the a,up root ridge!
[Switch5] stp root secondary3! Configure the path ost on a port so that the port an e lo,ed!
The path ost range is deided y the algorith*! The Huawei proprietary algorith* is used as an
e4a*ple! $et the path osts of the ports to 20000!
The swithes on the sa*e networ, *ust use the sa*e algorith* to alulate path osts!
N >n $withC" set the path ost of A+1D0D1 to 20000!
[Switch,] inter$ace giga%itethernet 1&0&1
[Switch,-'iga%it(thernet1&0&1] stp cost 0000
[Switch,-'iga%it(thernet1&0&1] quit
9! +nale $TP to pre&ent loops!
M isale $TP on ports onneted to PCs!
N >n $with5" disale $TP on A+1D0D2!
[Switch3] inter$ace giga%itethernet 1&0&
[Switch3-'iga%it(thernet1&0&] stp disa%le
[Switch3-'iga%it(thernet1&0&] quit
N >n $withC" disale $TP on A+1D0D2!
[Switch,] inter$ace giga%itethernet 1&0&
[Switch,-'iga%it(thernet1&0&] stp disa%le
[Switch,-'iga%it(thernet1&0&] quit
M +nale $TP gloally!
N +nale $TP gloally on $with'!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<6
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 99/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch8] stp ena$le
N +nale $TP gloally on $with5!
[Switch3] stp ena$le
N +nale $TP gloally on $withC!
[Switch,] stp ena$le
N +nale $TP gloally on $with!
[Switch5] stp ena$le
Step ! @erify the onfiguration!
'fter the onfigurations are o*plete and the networ, eo*es stale" perfor* the following
operations to &erify the onfigurations!
N >n $with'" run the display stp brie o**and to he, the port role and state! The
displayed infor*ation is as follows/
[Switch8] display stp %rie$BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet1&0&1 5(S. ?@/W8/5.' @(
0 'iga%it(thernet1&0& 5(S. ?@/W8/5.' @(
'fter $with' is onfigured as the root ridge" A+1D0D2 and A+1D0D1 onneted to $with5and $with respeti&ely are eleted as designated ports in $TP alulation!
N >n $with5" run the display stp intera!e gigabitethernet 1+*+1 brie o**and to he,the state of A+1D0D1! The displayed infor*ation is as follows/
[Switch3] display stp inter$ace giga%itethernet 1&0&1 %rie$
BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet1&0&1 %E&' ?@/W8/5.' (E
A+1D0D1 is eleted as the designated port and is in F,/0 state!
N >n $withC" run the display stp brie o**and to he, the port status! The displayedinfor*ation is as follows/
[Switch,] display stp %rie$
BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet1&0&1 8L6( 5.S,8/5.' @(
0 'iga%it(thernet1&0&! /@@6 ?@/W8/5.' @(
A+1D0D1 is eleted as the alternate port and is in 0)/0 state!
A+1D0D3 is eleted as the root port and is in F,/0 state!
----End
Con>guration 3iles
Configuration file of $with'
+
sysname Switch8
+
stp mode rstp
stp instance 0 root primary
stp pathcost-standard legacy
stp ena%le
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<8
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 100/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
+
return
Configuration file of $with5
+
sysname Switch3+
stp mode rstp
stp pathcost-standard legacy
stp ena%le
+
inter$ace 'iga%it(thernet1&0&
stp disa%le
+
return
Configuration file of $withC
+
sysname Switch,
+
stp mode rstp
stp pathcost-standard legacy
stp ena%le
+
inter$ace 'iga%it(thernet1&0&1
stp instance 0 cost 0000
+
inter$ace 'iga%it(thernet1&0&
stp disa%le
+
return
Configuration file of $with
+
sysname Switch5
+
stp mode rstp
stp instance 0 root secondary
stp pathcost-standard legacy
stp ena%le
+
return
"%!%! Scenario !8 Con>guring 2asic :ST' 3unctions
"%!%!%1 <etwor.ing Description
's shown in %igure 1!1" $TP is enaled on $with'" $with5" $withC" and $with!
$TP introdues *ulti-instane to load alane traffi fro* @#'B 2 to @#'B 10 and
@#'B 11 to @#'B 20! $TP uses the @#'B *apping tale to define the *apping etween
@#'Bs and $TIs!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 101/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 Configuring asi $TP funtions
"%!%!%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure asi $TP funtions on the swithes!
2! Configure #ayer 2 forwarding on the swithes!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 102/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
"%!%!%" Con>guration &7ample
Step 1 Configure asi $TP funtions!
1! 'dd $with'" $with5" $withC" and $with to the region A1" and reate instanes
$TI1 and $TI2!N Configure an $T region on $with'!
<Cuidway> system-view
[Cuidway] sysname Switch8
[Switch8] stp region-con$iguration
[Switch8-mst-region] region-name /'1
[Switch8-mst-region] instance 1 vlan to 10
[Switch8-mst-region] instance vlan 11 to 0
[Switch8-mst-region] active region-con$iguration
[Switch8-mst-region] quit
N Configure an $T region on $with5!
<Cuidway> system-view[Cuidway] sysname Switch3
[Switch3] stp region-con$iguration
[Switch3-mst-region] region-name /'1
[Switch3-mst-region] instance 1 vlan to 10
[Switch3-mst-region] instance vlan 11 to 0
[Switch3-mst-region] active region-con$iguration
[Switch3-mst-region] quit
N Configure an $T region on $withC!
<Cuidway> system-view
[Cuidway] sysname Switch,
[Switch,] stp region-con$iguration
[Switch,-mst-region] region-name /'1
[Switch,-mst-region] instance 1 vlan to 10
[Switch,-mst-region] instance vlan 11 to 0
[Switch,-mst-region] active region-con$iguration
[Switch,-mst-region] quit
N Configure an $T region on $with!
<Cuidway> system-view
[Cuidway] sysname Switch5
[Switch5] stp region-con$iguration
[Switch5-mst-region] region-name /'1
[Switch5-mst-region] instance 1 vlan to 10
[Switch5-mst-region] instance vlan 11 to 0
[Switch5-mst-region] active region-con$iguration
[Switch5-mst-region] quit
2! Configure root ridges and a,up root ridges for $TI1 and $TI2 in A1!
M Configure the root ridge and a,up root ridge for $TI1!
N Configure $with' as the root ridge of $TI1!
[Switch8] stp instance 1 root primary
N Configure $with5 as the a,up root ridge of $TI1!
[Switch3] stp instance 1 root secondary
M Configure the root ridge and a,up root ridge for $TI2!
N Configure $with5 as the root ridge of $TI2!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
<=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 103/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch3] stp instance root primary
N Configure $with' as the a,up root ridge of $TI2!
[Switch8] stp instance root secondary
3! $et path osts to &alues larger than the default &alue for ports to e lo,ed in $TI1
and $TI2!
The path ost range is deided y the algorith*! The Huawei proprietary algorith* is used as an
e4a*ple! $et the path osts of the ports to 20000!
The swithes on the sa*e networ, *ust use the sa*e algorith* to alulate path osts!
N $et the path ost algorith* on $with' to Huawei proprietary algorith*!
[Switch8] stp pathcost-standard legacy
N $et the path ost algorith* on $with5 to Huawei proprietary algorith*!
[Switch3] stp pathcost-standard legacy
N $et the path ost algorith* on $withC to Huawei proprietary algorith*! $et the path
ost of A+1D0D2 in $TI2 to 20000!
[Switch,] stp pathcost-standard legacy
[Switch,] inter$ace giga%itethernet 1&0&
[Switch,-'iga%it(thernet1&0&] stp instance cost 0000
[Switch,-'iga%it(thernet1&0&] quit
N $et the path ost algorith* on $with to Huawei proprietary algorith*! $et the pathost of A+1D0D2 in $TI1 to 20000!
[Switch5] stp pathcost-standard legacy
[Switch5] inter$ace giga%itethernet 1&0&
[Switch5-'iga%it(thernet1&0&] stp instance 1 cost 0000
[Switch5-'iga%it(thernet1&0&] quit
9! +nale $TP to pre&ent loops!
M +nale $TP gloally!
N +nale $TP on $with'!
[Switch8] stp ena$le
N +nale $TP on $with5!
[Switch3] stp ena$le
N +nale $TP on $withC!
[Switch,] stp ena$le
N +nale $TP on $with!
[Switch5] stp ena$le
M isale $TP on ports onneted to ter*inals!
N >n $withC" disale $TP on A+1D0D1!
[Switch,] inter$ace giga%itethernet 1&0&1
[Switch,-'iga%it(thernet1&0&1] stp disa%le
[Switch,-'iga%it(thernet1&0&1] quit
N >n $with" disale $TP on A+1D0D1!
[Switch5] inter$ace giga%itethernet 1&0&1
[Switch5-'iga%it(thernet1&0&1] stp disa%le
[Switch5-'iga%it(thernet1&0&1] quit
Step ! Configure #ayer 2 forwarding on swithes on the ring networ,!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
=0
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 104/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Create @#'B 2 to @#'B 20 on $with'" $with5" $withC" and $with!
N Create @#'B 2 to @#'B 20 on $with'!
[Switch8] vlan %atch to 0
N Create @#'B 2 to @#'B 20 on $with5!
[Switch3] vlan %atch to 0
N Create @#'B 2 to @#'B 20 on $withC!
[Switch,] vlan %atch to 0
N Create @#'B 2 to @#'B 20 on $with!
[Switch5] vlan %atch to 0
'dd ports onneted to the ring networ, to @#'Bs!
N 'dd A+1D0D1 of $with' to @#'Bs!
[Switch8] inter$ace giga%itethernet 1&0&1
[Switch8-'iga%it(thernet1&0&1] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&1] port trun) allow-pass vlan to 0[Switch8-'iga%it(thernet1&0&1] quit
N 'dd A+1D0D2 of $with' to @#'Bs!
[Switch8] inter$ace giga%itethernet 1&0&
[Switch8-'iga%it(thernet1&0&] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&] port trun) allow-pass vlan to 0
[Switch8-'iga%it(thernet1&0&] quit
N 'dd A+1D0D1 of $with5 to @#'Bs!
[Switch3] inter$ace giga%itethernet 1&0&1
[Switch3-'iga%it(thernet1&0&1] port lin)-type trun)
[Switch3-'iga%it(thernet1&0&1] port trun) allow-pass vlan to 0
[Switch3-'iga%it(thernet1&0&1] quitN 'dd A+1D0D2 of $with5 to @#'Bs!
[Switch3] inter$ace giga%itethernet 1&0&
[Switch3-'iga%it(thernet1&0&] port lin)-type trun)
[Switch3-'iga%it(thernet1&0&] port trun) allow-pass vlan to 0
[Switch3-'iga%it(thernet1&0&] quit
N 'dd A+1D0D1 of $withC to @#'Bs!
[Switch,] inter$ace giga%itethernet 1&0&1
[Switch,-'iga%it(thernet1&0&1] port lin)-type access
[Switch,-'iga%it(thernet1&0&1] port de$ault vlan
[Switch,-'iga%it(thernet1&0&1] quit
N 'dd A+1D0D2 of $withC to @#'Bs![Switch,] inter$ace giga%itethernet 1&0&
[Switch,-'iga%it(thernet1&0&] port lin)-type trun)
[Switch,-'iga%it(thernet1&0&] port trun) allow-pass vlan to 0
[Switch,-'iga%it(thernet1&0&] quit
N 'dd A+1D0D3 of $withC to @#'Bs!
[Switch,] inter$ace giga%itethernet 1&0&!
[Switch,-'iga%it(thernet1&0&!] port lin)-type trun)
[Switch,-'iga%it(thernet1&0&!] port trun) allow-pass vlan to 0
[Switch,-'iga%it(thernet1&0&!] quit
N 'dd A+1D0D1 of $with to @#'Bs!
[Switch5] inter$ace giga%itethernet 1&0&1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
=1
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 105/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch5-'iga%it(thernet1&0&1] port lin)-type access
[Switch5-'iga%it(thernet1&0&1] port de$ault vlan 11
[Switch5-'iga%it(thernet1&0&1] quit
N 'dd A+1D0D2 of $with to @#'Bs!
[Switch5] inter$ace giga%itethernet 1&0&[Switch5-'iga%it(thernet1&0&] port lin)-type trun)
[Switch5-'iga%it(thernet1&0&] port trun) allow-pass vlan to 0
[Switch5-'iga%it(thernet1&0&] )uit
N 'dd A+1D0D3 of $with to @#'Bs!
[Switch5] inter$ace giga%itethernet 1&0&!
[Switch5-'iga%it(thernet1&0&!] port link-type trunk
[Switch5-'iga%it(thernet1&0&!] port trunk allo*-pass vlan 2 to 20
[Switch5-'iga%it(thernet1&0&!] )uit
Step " @erify the onfiguration!
'fter the onfigurations are o*plete and the networ, eo*es stale" perfor* the followingoperations to &erify the onfigurations!
N un the display stp brie o**and on $with' to &iew the state and protetion type on
ports! The displayed infor*ation is as follows/
[Switch8] display stp %rie$
BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet1&0&1 5(S. ?@/W8/5.' @(
0 'iga%it(thernet1&0& 5(S. ?@/W8/5.' @(
1 'iga%it(thernet1&0&1 5(S. ?@/W8/5.' /@@6
1 'iga%it(thernet1&0& 5(S. ?@/W8/5.' @(
'iga%it(thernet1&0&1 5(S. ?@/W8/5.' @(
'iga%it(thernet1&0& /@@6 ?@/W8/5.' @(
In $TI1" A+1D0D2 and A+1D0D1 of $with' are set as designated ports eause $with' isthe root ridge of $TI1! In $TI2" A+1D0D1 of $with' is set as the designated port and
A+1D0D2 is set as the root port!
N un the display stp brie o**and on $with5! The displayed infor*ation is as follows/
[Switch3] display stp %rie$
BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet1&0&1 5(S. ?@/W8/5.' @(
0 'iga%it(thernet1&0& /@@6 ?@/W8/5.' @(
1 'iga%it(thernet1&0&1 5(S. ?@/W8/5.' @(
1 'iga%it(thernet1&0& /@@6 ?@/W8/5.' @(
'iga%it(thernet1&0&1 5(S. ?@/W8/5.' @(
'iga%it(thernet1&0& 5(S. ?@/W8/5.' @(
In $TI2" A+1D0D1 and A+1D0D2 of $with5 are set as designated ports eause $with5 is
the root ridge of $TI2! In $TI1" A+1D0D1 of $with5 is set as the designated port and
A+1D0D2 is set as the root port!
N un the display stp intera!e brie o**and on $withC! The displayed infor*ation is as
follows/
[Switch,] display stp inter$ace giga%itethernet 1&0&! %rie$
BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet1&0&! /@@6 ?@/W8/5.' @(
1 'iga%it(thernet1&0&! /@@6 ?@/W8/5.' @(
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
=2
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 106/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
'iga%it(thernet1&0&! /@@6 ?@/W8/5.' @(
[Switch,] display stp inter$ace giga%itethernet 1&0& %rie$
BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet1&0& 5(S. ?@/W8/5.' @(
1 'iga%it(thernet1&0& 5(S. ?@/W8/5.' @(
'iga%it(thernet1&0& 8L6( 5.S,8/5.' @(
A+1D0D3 of $withC is the root port in $TI1 and $TI2! A+1D0D2 of $withC is lo,ed in
$TI2 and is set as the designated port in $TI1!
N un the display stp intera!e brie o**and on $with! The displayed infor*ation is as
follows/
[Switch5] display stp inter$ace giga%itethernet 1&0&! %rie$
BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet1&0&! 8L6( 5.S,8/5.' @(
1 'iga%it(thernet1&0&! /@@6 ?@/W8/5.' @(
'iga%it(thernet1&0&! /@@6 ?@/W8/5.' @(
[Switch5] display stp inter$ace giga%itethernet 1&0& %rie$ BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet1&0& /@@6 ?@/W8/5.' @(
1 'iga%it(thernet1&0& 8L6( 5.S,8/5.' @(
'iga%it(thernet1&0& 5(S. ?@/W8/5.' @(
A+1D0D3 of $with is the root port in $TI1 and $TI2! A+1D0D2 of $with is lo,ed in
$TI1 and is set as the designated port in $TI2!
----End
Con>guration 3iles
Configuration file of $with'
+
sysname Switch8
+
vlan %atch to 0
+
stp instance 1 root primary
stp instance root secondary
stp pathcost-standard legacy
stp ena%le
+
stp region-con$iguration
region-name /'1
instance 1 vlan to 10
instance vlan 11 to 0
active region-con$iguration
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan to 0
stp root-protection
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan to 0
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
=3
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 107/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
+
return
Configuration file of $with5
+
sysname Switch3+
vlan %atch to 0
+
stp instance 1 root secondary
stp instance root primary
stp pathcost-standard legacy
stp ena%le
+
stp region-con$iguration
region-name /'1
instance 1 vlan to 10
instance vlan 11 to 0
active region-con$iguration
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan to 0
stp root-protection
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan to 0
+
return
Configuration file of $withC
+
sysname Switch,
+
vlan %atch to 0
+
stp pathcost-standard legacy
stp ena%le
+
stp region-con$iguration
region-name /'1
instance 1 vlan to 10
instance vlan 11 to 0
active region-con$iguration
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type access
port de$ault vlan
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan to 0
stp instance cost 0000
+
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
=9
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 108/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
inter$ace 'iga%it(thernet1&0&!
port lin)-type trun)
port trun) allow-pass vlan to 0
+
return
Configuration file of $with
+
sysname Switch5
+
vlan %atch to 0
+
stp pathcost-standard legacy
stp ena%le
+
stp region-con$iguration
region-name /'1
instance 1 vlan to 10
instance vlan 11 to 0
active region-con$iguration
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type access
port de$ault vlan 11
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan to 0
stp instance 1 cost 0000
+
inter$ace 'iga%it(thernet1&0&!
port lin)-type trun)
port trun) allow-pass vlan to 0
+
return
"%!%" Scenario "8 Con>guring Huawei Switches toCommunicate ;ith a Cisco Switch
"%!%"%1 <etwor.ing Description
's shown in %igure 1!1" $with'" $with5" and Ciso$? for* a losed topology! $with'
and $with5 are $ series swithes! Configure Ciso$? to wor, in different spanning tree
*odes so that $ series swithes an transparently trans*it Ciso proprietary 5P7s or use
$TP to pre&ent #ayer 2 loops!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
=6
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 109/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 Interoperation with a Ciso swith
"%!%"%! Con>guration +oadmapThe onfiguration road*ap is as follows/
1! Configure the Ciso swith to wor, in P@$T *ode and onfigure $ series swithes totransparently trans*it Ciso proprietary 5P7s!
2! Configure the Ciso swith to wor, in apid P@$T *ode and o**uniate with $ series
swithes!
3! Configure the Ciso swith to wor, in $T *ode and o**uniate with $ series
swithes!
"%!%"%" Con>guration &7ample
Step 1 Configure the Ciso swith to wor, in P@$T *ode and onfigure $ series swithes to
transparently trans*it Ciso proprietary 5P7s!
1! Configure the Ciso swith to wor, in P@$T *ode
N $et the spanning tree *ode of Ciso$?!
Switch+con$igure terminal
Switch9con$ig+hostname Ciscos*
,iscosw9con$ig+ spanning-tree mode pvst
,iscosw9con$ig+e+it
2! 'dd ports of Ciso$? to a @#'B!
N Create a @#'B and add ports of Ciso$? to the @#'B!
,iscosw 9con$ig+vlan 100
,iscosw 9con$ig-vlan+e+it
,iscosw 9con$ig+interface ,astEthernet 101
,iscosw 9con$ig-i$+s*itchport mode trunk
,iscosw 9con$ig-i$+s*itchport trunk encapsulation dot1)
,iscosw 9con$ig-i$+s*itchport trunk allo*ed vlan 100
,iscosw 9con$ig-i$+interface ,astEthernet 103
,iscosw 9con$ig-i$+s*itchport mode trunk
,iscosw 9con$ig-i$+s*itchport trunk encapsulation dot1)
,iscosw 9con$ig-i$+s*itchport trunk allo*ed vlan 100
,iscosw 9con$ig-i$+e+it
3! Configure $ series swithes to transparently trans*it proprietary 5P7s sent y
Ciso$? using hardware transparent trans*ission!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
=8
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 110/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
N Configure ports on $with'!
<Cuidway> system-view
[Cuidway] sysname Switch8
[Switch8] vlan 100
[Switch8] interface Ethernet202
[Switch8-(thernet&0&] stp disa$le
[Switch8-(thernet&0&] port link-type trunk
[Switch8-(thernet&0&] port trunk allo*-pass vlan 100
[Switch8-(thernet&0&])uit
[Switch8] interface Ethernet203
[Switch8-(thernet&0&!] stp disa$le
[Switch8-(thernet&0&!] port link-type trunk
[Switch8-(thernet&0&!] port trunk allo*-pass vlan 100
[Switch8-(thernet&0&!])uit
N Configure ports on $with5!
<Cuidway> system-view
[Cuidway] sysname Switch3[Switch3] vlan 100
[Switch3] interface Ethernet001
[Switch3N(thernet0&0&1] stp disa$le
[Switch3N(thernet0&0&1] port link-type trunk
[Switch3N(thernet0&0&1] port trunk allo*-pass vlan 100
[Switch3N(thernet0&0&1])uit
[Switch3] interface Ethernet002
[Switch3 N(thernet0&0&] stp disa$le
[Switch3 N(thernet0&0&] port link-type trunk
[Switch3 N(thernet0&0&] port trunk allo*-pass vlan 100
[Switch3 N(thernet0&0&])uit
9! @erify the onfiguration!'fter the onfigurations are o*plete and the networ, eo*es stale" perfor* the
following operations to &erify the onfigurations!
N un the show spanning-tree o**and on Ciso$? to he, the port status! The
displayed infor*ation is as follows/
,iscosw+show spanning-tree
=L80100
Spanning tree ena%led protocol ieee
/oot .5 riority !*2*
8ddress a*%1;d""%;$*0
6his %ridge is the root
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
3ridge .5 riority !*2* 9priority !:2* sys-id-et 100
8ddress a*%1;d""%;$*0
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
8ging 6ime !00 sec
.nter$ace /ole Sts ,ost rio;%r 6ype
------------------- ---- --- --------- --------
--------------------------------
?a1&0&1 5esg ?W5 1 1*;! p
?a1&0&! 3ac) 3LA 1 1*;# p
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
=:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 111/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
,iscosw+show spanning-tree inter$ace ?ast(thernet 1&0&1 detail
ort ! 9?ast(thernet1&0&1 o$ =L80100 is designated $orwarding
ort path cost 1D ort priority 1*D ort .denti$ier 1*;!;
5esignated root has priority !*2*D address a*%1;d""%;$*0
5esignated %ridge has priority !*2*D address a*%1;d""%;$*0
5esignated port id is 1*;!D designated path cost 0
6imers4 message age 0D $orward delay 0D hold 0
um%er o$ transitions to $orwarding state4 1
Lin) type is point-to-point %y de$ault
35H4 sent 0D received 0
,iscosw+show spanning-tree inter$ace ?ast(thernet 1&0&! detail
ort # 9?ast(thernet1&0&! o$ =L80100 is %ac)up %loc)ing
ort path cost 1D ort priority 1*D ort .denti$ier 1*;#;
5esignated root has priority !*2*D address a*%1;d""%;$*0
5esignated %ridge has priority !*2*D address a*%1;d""%;$*0
5esignated port id is 1*;!D designated path cost 0
6imers4 message age D $orward delay 0D hold 0
um%er o$ transitions to $orwarding state4 0 Lin) type is point-to-point %y de$ault
35H4 sent 0D received !
,iscosw+
6! Configure $ series swithes to transparently trans*it proprietary 5P7s sent y
Ciso$? using l2protool-tunnel transparent trans*ission!
N Configure l2protool-tunnel transparent trans*ission on $with'!
<Cuidway> system-view
[Cuidway] sysname Switch8
[Switch8] vlan 100
[Switch8] $pdu mac-address 0100-0ccc-cccd
[Switch8] l2protocol-tunnel pvst. group-mac 0100-1111-1111
[Switch8] interface Ethernet202
[Switch8-(thernet&0&] stp disa$le
[Switch8-(thernet&0&] port link-type trunk
[Switch8-(thernet&0&] port trunk allo*-pass vlan 100
[Switch8-(thernet&0&])uit
[Switch8] interface Ethernet203
[Switch8-(thernet&0&!] stp disa$le
[Switch8-(thernet&0&!] port link-type trunk
[Switch8-(thernet&0&!] port trunk allo*-pass vlan 100
[Switch8-(thernet&0&!] l2protocol-tunnel pvst. ena$le
[Switch8-(thernet&0&!])uit
N Configure l2protool-tunnel transparent trans*ission on $with5!
<Cuidway> system-view
[Cuidway] sysname Switch3
[Switch3] vlan 100
[Switch3] $pdu mac-address 0100-0ccc-cccd
[Switch3] l2protocol-tunnel pvst. group-mac 0100-1111-1111
[Switch3] interface Ethernet001
[Switch3N(thernet0&0&1] stp disa$le
[Switch3N(thernet0&0&1] port link-type trunk
[Switch3N(thernet0&0&1] port trunk allo*-pass vlan 100
[Switch3N(thernet0&0&1] l2protocol-tunnel pvst. ena$le
[Switch3N(thernet0&0&1])uit
[Switch3] interface Ethernet002
[Switch3N(thernet0&0&] stp disa$le
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
=<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 112/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch3N(thernet0&0&] port link-type trunk
[Switch3N(thernet0&0&] port trunk allo*-pass vlan 100
[Switch3N(thernet0&0&])uit
8! @erify the onfiguration!
'fter the onfigurations are o*plete and the networ, eo*es stale" perfor* thefollowing operations to &erify the onfigurations!
N un the show spanning-tree o**and on Ciso$? to he, the port status! Thedisplayed infor*ation is as follows/
,iscosw+show spanning-tree
=L80100
Spanning tree ena%led protocol ieee
/oot .5 riority !*2*
8ddress a*%1;d""%;$*0
6his %ridge is the root
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
3ridge .5 riority !*2* 9priority !:2* sys-id-et 100
8ddress a*%1;d""%;$*0
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
8ging 6ime !00 sec
.nter$ace /ole Sts ,ost rio;%r 6ype
------------------- ---- --- --------- --------
--------------------------------
?a1&0&1 5esg ?W5 1 1*;! p
?a1&0&! 3ac) 3LA 1 1*;# p
N un the display l2proto!ol-tunnel statisti!s o**and on $with' to he, the
pa,et statistis of l2protool-tunnel transparent trans*ission on a port! The displayedinfor*ation is as follows/
< Switch8>display lprotocol-tunnel statistics (thernet &0&! pvstO
-----------------------------------------------------------------------------
ort rotocol 5rop .nput @utput 5rop
6hreshold ac)ets ac)ets ac)ets
-----------------------------------------------------------------------------
(th&0&! pvstO 0 0 1! 0
N un the display l2proto!ol-tunnel statisti!s o**and on $with5 to he, the
pa,et statistis of l2protool-tunnel transparent trans*ission on a port! The displayed
infor*ation is as follows/
<Switch3>display lprotocol-tunnel statistics (thernet 0&0&1 pvstO-----------------------------------------------------------------------------
ort rotocol 5rop .nput @utput 5rop
6hreshold ac)ets ac)ets ac)ets
-----------------------------------------------------------------------------
(th0&0&1 pvstO 0 1! 0 0
)oniguration Files
Configuration file of Ciso$?
P
hostname ,iscosw
P
spanning-tree mode pvst
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
==
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 113/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
spanning-tree etend system-id
P
vlan 100
P
inter$ace ?ast(thernet1&0&1
switchport trun) encapsulation dot1q
switchport trun) allowed vlan 100
switchport mode trun)
P
inter$ace ?ast(thernet1&0&!
switchport trun) encapsulation dot1q
switchport trun) allowed vlan 100
switchport mode trun)
end
Configuration file of hardware transparent trans*ission on $with'
+
sysname Switch8
+
vlan 100
+
inter$ace (thernet&0&
port lin)-type trun)
port trun) allow-pass vlan 100
stp disa%le
+
inter$ace (thernet&0&!
port lin)-type trun)
port trun) allow-pass vlan 100
stp disa%le
+return
Configuration file of hardware transparent trans*ission on $with5
+
sysname Switch3
+
vlan 100
+
inter$ace (thernet0&0&1
port lin)-type trun)
port trun) allow-pass vlan 100
stp disa%le
+
inter$ace (thernet0&0&
port lin)-type trun)
port trun) allow-pass vlan 100
stp disa%le
+
return
Configuration file of l2protool-tunnel transparent trans*ission on $with'
+
sysname Switch8
+
vlan 100
+
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
100
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 114/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
lprotocol-tunnel pvstO group-mac 0100-1111-1111
+
%pdu mac-address 0100-0ccc-cccd
+
inter$ace (thernet&0&
port lin)-type trun)
port trun) allow-pass vlan 100
stp disa%le
+
inter$ace (thernet&0&!
port lin)-type trun)
port trun) allow-pass vlan 100
stp disa%le
lprotocol-tunnel pvstO ena%le
+
return
Configuration file of l2protool-tunnel transparent trans*ission on $with5
+
sysname Switch3
+
vlan 100
+
lprotocol-tunnel pvstO group-mac 0100-1111-1111
+
%pdu mac-address 0100-0ccc-cccd
+
inter$ace (thernet0&0&1
port lin)-type trun)
port trun) allow-pass vlan 100
stp disa%le
lprotocol-tunnel pvstO ena%le
+
inter$ace (thernet0&0&
port lin)-type trun)
port trun) allow-pass vlan 100
stp disa%le
+
return
Step ! Configure the Ciso swith to wor, in apid P@$T *ode
1! Configure the Ciso swith to wor, in apid P@$T *ode
N $et the spanning tree *ode of Ciso$?!
Switch+con$igure terminal
Switch9con$ig+hostname Ciscos*
,iscosw9con$ig+spanning-tree mode rapid-pvst
,iscosw9con$ig+e+it
2! N Configure the $T region on Ciso$?!
,iscosw9con$ig+spanning-tree mst con$iguration
,iscosw9con$ig-mst+name /('01
,iscosw9con$ig-mst+instance 1 vlan 1
,iscosw9con$ig-mst+instance vlan 100
,iscosw9con$ig-mst+show pending
ending BS6 con$iguration
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
101
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 115/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
ame [/('01]
/evision 0 .nstances con$igured !
.nstance =lans mapped
--------
---------------------------------------------------------------------
0 -D101-"0"
1 1
100
------------------------------------------------------------------------------
-
,iscosw9con$ig-mst+e+it
3! 'dd ports of Ciso$? to a @#'B!
N Create a @#'B and add ports of Ciso$? to the @#'B!
,iscosw 9con$ig+vlan 100
,iscosw 9con$ig-vlan+e+it
,iscosw 9con$ig+interface ,astEthernet 101,iscosw 9con$ig-i$+s*itchport mode trunk
,iscosw 9con$ig-i$+s*itchport trunk encapsulation dot1)
,iscosw9con$ig-i$+s*itchport trunk allo*ed vlan 1/100
,iscosw 9con$ig-i$+interface ,astEthernet 103
,iscosw 9con$ig-i$+s*itchport mode trunk
,iscosw 9con$ig-i$+s*itchport trunk encapsulation dot1)
,iscosw9con$ig-i$+s*itchport trunk allo*ed vlan 1/100
,iscosw 9con$ig-i$+e+it
9! +nale $TP on ports of $ series swithes for the swithes to o**uniate with Ciso$?
in instane 1!
N Configure $TP region and ports on $with'!
<Cuidway> system-view
[Cuidway] sysname Switch8
[Switch8] stp ena$le
[Switch8]stp region-configuration
[Switch8-mst-region]instance 1 vla 1
[Switch8-mst-region]instance 2 vlan 100
[Switch8-mst-region]region-name E#01
[Switch8-mst-region]check region-configuration
8dmin con$iguration
?ormat selector 40
/egion name 4/('01
/evision level 40
.nstance =L8s Bapped
0 to D 101 to "0"
1 1
100
[Switch8 -mst-region]active region-configuration
[Switch8mst-region])uit
[Switch8] %pdu mac-address 0100-0ccc-cccd
[Switch8] lprotocol-tunnel pvstO group-mac 0100-1111-1111
[Switch8] vlan 100
[Switch8] inter$ace (thernet&0&
[Switch8-(thernet&0&] port lin)-type trun)
[Switch8-(thernet&0&] port trun) allow-pass vlan 100
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
102
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 116/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch8-(thernet&0&]quit
[Switch8] inter$ace (thernet&0&!
[Switch8-(thernet&0&!] port lin)-type trun)
[Switch8-(thernet&0&!] port trun) allow-pass vlan 100
[Switch8-(thernet&0&!] lprotocol-tunnel pvstO ena%le
[Switch8-(thernet&0&!] stp con$ig-digest-snoop
[Switch8-(thernet&0&!]quit
N Configure $TP region and ports on $with5!
<Cuidway> system-view
[Cuidway] sysname Switch3
[Switch3 stp ena$le
[Switch3stp region-configuration
[Switch3-mst-region]instance 1 vla 1
[Switch3-mst-region]instance 2 vlan 100
[Switch3-st-region]region-name E#01
[Switch3-st-region]check region-configuration
8dmin con$iguration
?ormat selector 40
/egion name 4/('01
/evision level 40
.nstance =L8s Bapped
0 to D 101 to "0"
1 1
100
[Switch3-mst-region]active region-configuration
[Switch3-mst-region])uit
[Switch3] $pdu mac-address 0100-0ccc-cccd
[Switch3] l2protocol-tunnel pvst. group-mac 0100-1111-1111
[Switch3] vlan 100
[Switch3] interface Ethernet001
[Switch3 N(thernet0&0&1] port link-type trunk
[Switch3 N(thernet0&0&1] port trunk allo*-pass vlan 100
[Switch3 N(thernet0&0&1] l2protocol-tunnel pvst. ena$le
[Switch3 N(thernet0&0&1] stp config-digest-snoop
[Switch3 N(thernet0&0&1])uit
[Switch3] interface Ethernet002
[Switch3 N(thernet0&0&] port link-type trunk
[Switch3 N(thernet0&0&] port trunk allo*-pass vlan 100
[Switch3 N(thernet0&0&])uit
6! @erify the onfiguration!
'fter the onfigurations are o*plete and the networ, eo*es stale" perfor* thefollowing operations to &erify the onfigurations!
N un the display stp brie o**and on $with' to he, the port status! The displayed
infor*ation is as follows/
[Switch8]display stp %rie$
BS6.5 ort /ole S6 State rotection
0 (thernet&0&! 5(S. ?@/W8/5.' @(
0 (thernet&0& 5(S. ?@/W8/5.' @(
1 (thernet&0&! 5(S. ?@/W8/5.' @(
1 (thernet&0& 5(S. ?@/W8/5.' @(
(thernet&0&! 5(S. ?@/W8/5.' @(
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
103
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 117/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
(thernet&0& 5(S. ?@/W8/5.' @(
The o**and output shows that $with' is the root ridge in $TI 0" $TI 1" and
$TI 2!
N un the display stp brie o**and on $with5 to he, the port status! The displayed
infor*ation is as follows/[Switch3]display stp %rie$
BS6.5 ort /ole S6 State rotection
0 (thernet0&0&1 5(S. ?@/W8/5.' @(
0 (thernet0&0& /@@6 ?@/W8/5.' @(
1 (thernet0&0&1 5(S. ?@/W8/5.' @(
1 (thernet0&0& /@@6 ?@/W8/5.' @(
(thernet0&0&1 5(S. ?@/W8/5.' @(
(thernet0&0& /@@6 ?@/W8/5.' @(
The o**and output shows that $with5 uses $TP to o**uniate with $with' in
$TI 0" $TI 1" and $TI 2!
N un the show spanning-tree o**and on Ciso$? to he, the port status! Thedisplayed infor*ation is as follows/
,iscosw+show spanning-tree
=L80001
Spanning tree ena%led protocol rstp
/oot .5 riority !:2*
8ddress *2e;d"e*;d:
,ost 1
ort ! 9?ast(thernet1&0&1
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
3ridge .5 riority !:2 9priority !:2* sys-id-et 1
8ddress a*%1;d""%;$*0
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
8ging 6ime !00 sec
.nter$ace /ole Sts ,ost rio;%r 6ype
------------------- ---- --- --------- --------
--------------------------------
?a1&0&1 /oot ?W5 1 1*;! p
?a1&0&! 8ltn 3LA 1 1*;# p
=L80100
Spanning tree ena%led protocol rstp
/oot .5 riority !*2*
8ddress a*%1;d""%;$*0
6his %ridge is the root
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
3ridge .5 riority !*2* 9priority !:2* sys-id-et 100
8ddress a*%1;d""%;$*0
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
8ging 6ime !00 sec
.nter$ace /ole Sts ,ost rio;%r 6ype
------------------- ---- --- --------- --------
--------------------------------
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
109
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 118/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
?a1&0&1 5esg ?W5 1 1*;! p
?a1&0&! 3ac) 3LA 1 1*;# p
,iscosw+
?hen Ciso$? wor,s in apid P@$T *ode" ports send standard $TP pa,ets in
@#'B 1! Ciso$? o**uniates with $ series swithes in @#'B 1! Ciso$? sends proprietary 5P7s in @#'B 100! 'fter l2protool-tunnel transparent trans*ission is
onfigured on $ series swithes" Ciso apid P@$T on&erges after the 5P7s are
transparently trans*itted!
)oniguration Files
Configuration file of Ciso$?
P
hostname ,iscosw
P
spanning-tree mode rapid-pvst
spanning-tree etend system-id
Pspanning-tree mst con$iguration
name /('01
instance 1 vlan 1
instance vlan 100
P
vlan 100
P
inter$ace ?ast(thernet1&0&1
switchport trun) encapsulation dot1q
switchport trun) allowed vlan 1D100
switchport mode trun)
P
inter$ace ?ast(thernet1&0&!
switchport trun) encapsulation dot1q
switchport trun) allowed vlan 1D100
switchport mode trun)
P
end
Configuration file of $with'
+
sysname Switch8
+
vlan 100
+ stp ena%le
+
lprotocol-tunnel pvstO group-mac 0100-1111-1111
+
%pdu mac-address 0100-0ccc-cccd
+
stp region-con$iguration
region-name /('01
instance 1 vlan 1
instance vlan 100
active region-con$iguration
+
inter$ace (thernet&0&
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
106
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 119/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
port lin)-type trun)
port trun) allow-pass vlan 100
+
inter$ace (thernet&0&!
port lin)-type trun)
port trun) allow-pass vlan 100
stp con$ig-digest-snoop
lprotocol-tunnel pvstO ena%le
+
return
Configuration file of $with5
+
sysname Switch3
+
vlan 100
+
stp ena%le
+
lprotocol-tunnel pvstO group-mac 0100-1111-1111
+
%pdu mac-address 0100-0ccc-cccd
+
inter$ace (thernet0&0&1
port lin)-type trun)
port trun) allow-pass vlan 100
stp con$ig-digest-snoop
lprotocol-tunnel pvstO ena%le
+
inter$ace (thernet0&0&
port lin)-type trun)
port trun) allow-pass vlan 100
+
return
Step " Configure the Ciso swith to wor, in $T *ode
1! Configure the Ciso swith to wor, in $T *ode
N $et the spanning tree *ode of Ciso$?!
Switch+con$igure terminal
Switch9con$ig+hostname Ciscos*
,iscosw9con$ig+spanning-tree mode mst
,iscosw9con$ig+e+it
N $et Ciso$? as the root ridge of $TI 1!
,iscosw9con$ig+spanning-tree mst 1 root primary
,iscosw9con$ig+eit
2! Configure the $T region on Ciso$?!
,iscosw9con$ig+spanning-tree mst con$iguration
,iscosw9con$ig-mst+name /('01
,iscosw9con$ig-mst+instance 1 vlan 100
,iscosw9con$ig-mst+instance vlan 00
,iscosw9con$ig-mst+show pending
ending BS6 con$iguration
ame [/('01]
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
108
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 120/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
/evision 0 .nstances con$igured !
.nstance =lans mapped
--------
---------------------------------------------------------------------
0 1-D101-1D01-"0"
1 100
00
------------------------------------------------------------------------------
,iscosw9con$ig-mst+eit
3! 'dd ports of Ciso$? to a @#'B!
N Create a @#'B and add ports of Ciso$? to the @#'B!
,iscosw 9con$ig+vlan 100
,iscosw 9con$ig-vlan+e+it
,iscosw 9con$ig+vlan 200
,iscosw 9con$ig-vlan+e+it
,iscosw 9con$ig+interface ,astEthernet 101,iscosw 9con$ig-i$+s*itchport mode trunk
,iscosw 9con$ig-i$+s*itchport trunk encapsulation dot1)
,iscosw9con$ig-i$+s*itchport trunk allo*ed vlan 100/200
,iscosw 9con$ig-i$+interface ,astEthernet 103
,iscosw 9con$ig-i$+s*itchport mode trunk
,iscosw 9con$ig-i$+s*itchport trunk encapsulation dot1)
,iscosw9con$ig-i$+s*itchport trunk allo*ed vlan 100/200
,iscosw 9con$ig-i$+e+it
9! +nale $TP on ports of $ series swithes for the swithes to o**uniate with Ciso$?
in instane 1 and instane 2!
N Configure $TP region and ports on $with'!
<Cuidway> system-view
[Cuidway] sysname Switch8
[Switch8] stp ena$le
[Switch8]stp region-configuration
[Switch8-mst-region]instance 1 vla 100
[Switch8-mst-region]instance 2 vlan 200
[Switch8-mst-region]region-name E#01
[Switch8-mst-region]check region-configuration
8dmin con$iguration
?ormat selector 40
/egion name 4/('01
/evision level 40
.nstance =L8s Bapped
0 1 to D 101 to 1D 01 to "0"
1 100
00
[Switch8 -mst-region]active region-configuration
[Switch8mst-region])uit
[Switch8] vlan 100
[Switch8-vlan100])uit
[Switch8] vlan 200
[Switch8-vlan00])uit
[Switch8] interface Ethernet202
[Switch8-(thernet&0&] port link-type trunk
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
10:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 121/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch8-(thernet&0&] port trunk allo*-pass vlan 100 200
[Switch8-(thernet&0&])uit
[Switch8] interface Ethernet203
[Switch8-(thernet&0&!] port link-type trunk
[Switch8-(thernet&0&!] port trunk allo*-pass vlan 100 200
[Switch8-(thernet&0&!] stp config-digest-snoop
[Switch8-(thernet&0&!])uit
N Configure $TP region and ports on $with5!
<Cuidway> system-view
[Cuidway] sysname Switch3
[Switch3 stp ena$le
[Switch3stp region-configuration
[Switch3-mst-region]instance 1 vla 100
[Switch3-mst-region]instance 2 vlan 200
[Switch3-st-region]region-name E#01
[Switch3-st-region]check region-configuration
8dmin con$iguration
?ormat selector 40
/egion name 4/('01
/evision level 40
.nstance =L8s Bapped
0 1 to D 101 to 1D 01 to "0"
1 100
00
[Switch3-mst-region]active region-configuration
[Switch3-mst-region])uit
[Switch3] vlan 100
[Switch3-vlan100])uit
[Switch3] vlan 200
[Switch3-vlan00])uit
[Switch3] interface Ethernet001
[Switch3N(thernet0&0&1] port link-type trunk
[Switch3N(thernet0&0&1] port trunk allo*-pass vlan 100 200
[Switch3N(thernet0&0&1] stp config-digest-snoop
[Switch3N(thernet0&0&1])uit
[Switch3] interface Ethernet002
[Switch3N(thernet0&0&] port link-type trunk
[Switch3N(thernet0&0&] port trunk allo*-pass vlan 100 200
[Switch3N(thernet0&0&])uit
Step * @erify the onfiguration!
'fter the onfigurations are o*plete and the networ, eo*es stale" perfor* the followingoperations to &erify the onfigurations!
N un the display stp brie o**and on $with' to he, the port status! The displayed
infor*ation is as follows/
[Switch8]display stp %rie$
BS6.5 ort /ole S6 State rotection
0 (thernet&0&! 5(S. ?@/W8/5.' @(
0 (thernet&0& 5(S. ?@/W8/5.' @(
1 (thernet&0&! /@@6 ?@/W8/5.' @(
1 (thernet&0& 5(S. ?@/W8/5.' @(
(thernet&0&! 5(S. ?@/W8/5.' @(
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
10<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 122/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
(thernet&0& 5(S. ?@/W8/5.' @(
The o**and output shows that $with' is the root ridge in $TI 0 and $TI 2!
N un the display stp brie o**and on $with5 to he, the port status! The displayed
infor*ation is as follows/[Switch3]display stp %rie$
BS6.5 ort /ole S6 State rotection
0 (thernet0&0&1 5(S. ?@/W8/5.' @(
0 (thernet0&0& /@@6 ?@/W8/5.' @(
1 (thernet0&0&1 /@@6 ?@/W8/5.' @(
1 (thernet0&0& 8L6( 5.S,8/5.' @(
(thernet0&0&1 5(S. ?@/W8/5.' @(
(thernet0&0& /@@6 ?@/W8/5.' @(
N un the show spanning-tree o**and on Ciso$? to he, the port status! The displayed
infor*ation is as follows/
,iscosw+show spanning-tree
BS60
Spanning tree ena%led protocol mstp
/oot .5 riority !:2*
8ddress *2e;d"e*;d:
,ost 0
ort # 9?ast(thernet1&0&!
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
3ridge .5 riority !:2* 9priority !:2* sys-id-et 0
8ddress a*%1;d""%;$*0
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
.nter$ace /ole Sts ,ost rio;%r 6ype
------------------- ---- --- --------- -------- --------------------------------
?a1&0&1 8ltn 3LA 00000 1*;! p
?a1&0&! /oot ?W5 00000 1*;# p
?a1&0&! 5esg L/ 00000 1*;# p
BS61
Spanning tree ena%led protocol mstp
/oot .5 riority "#::
8ddress a*%1;d""%;$*0
6his %ridge is the root
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
3ridge .5 riority "#:: 9priority "#:2 sys-id-et 1
8ddress a*%1;d""%;$*0
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
.nter$ace /ole Sts ,ost rio;%r 6ype
------------------- ---- --- --------- -------- --------------------------------
?a1&0&1 5esg ?W5 00000 1*;! p
?a1&0&! 5esg ?W5 00000 1*;# p
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
10=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 123/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
BS6
Spanning tree ena%led protocol mstp
/oot .5 riority !::0
8ddress *2e;d"e*;d:
,ost 00000
ort # 9?ast(thernet1&0&!
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
3ridge .5 riority !::0 9priority !:2* sys-id-et
8ddress a*%1;d""%;$*0
Eello 6ime sec Ba 8ge 0 sec ?orward 5elay 1# sec
.nter$ace /ole Sts ,ost rio;%r 6ype
------------------- ---- --- --------- -------- --------------------------------
?a1&0&1 8ltn 3LA 00000 1*;! p
?a1&0&! /oot ?W5 00000 1*;# p
The o**and output shows that Ciso$? is the root ridge in $TI 1! The three swithes
use $TP to o**uniate with eah other in $TI 0" $TI 1" and $TI 2!
)oniguration Files
Configuration file of Ciso$?
P
hostname ,iscosw
P
spanning-tree mode mst
spanning-tree etend system-id
Pspanning-tree mst con$iguration
name /('01
instance 1 vlan 100
instance vlan 00
P
spanning-tree mst 1 priority "#:2
P
vlan 100
P
vlan 00
P
inter$ace ?ast(thernet1&0&1
switchport trun) encapsulation dot1q
switchport trun) allowed vlan 100D00
switchport mode trun)
P
inter$ace ?ast(thernet1&0&!
switchport trun) encapsulation dot1q
switchport trun) allowed vlan 100D00
switchport mode trun)
P
end
Configuration file of $with'
+
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
110
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 124/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
sysname Switch8
+
vlan %atch 100 00
+
stp ena%le
+
stp region-con$iguration
region-name /('01
instance 1 vlan 100
instance vlan 100
active region-con$iguration
+
inter$ace (thernet&0&
port lin)-type trun)
port trun) allow-pass vlan 100 00
+
inter$ace (thernet&0&!
port lin)-type trun) port trun) allow-pass vlan 100 00
stp con$ig-digest-snoop
+
return
Configuration file of $with5
+
sysname Switch3
+
vlan %atch 100 00
+
stp ena%le
+
inter$ace (thernet0&0&1
port lin)-type trun)
port trun) allow-pass vlan 100 00
stp con$ig-digest-snoop
+
inter$ace (thernet0&0&
port lin)-type trun)
port trun) allow-pass vlan 100 00
+
return
----End
"%!%* Deployment 'recautions
"%!%*%1 Is the bpdu enable Command Con>gured on the &th#Trun. A6ter ST' Is &nabled on 2o7 Switches
0es!ription/ >n o4 swithes" ports send $TP 5P7s to the CP7 after 5P7 is enaled
gloally or on ports! If the bpdu enable o**and is not onfigured gloally or on ports" the
ports annot send 5P7s to the CP7 after reei&ing the 5P7s! $TP then annot on&erge!
oot !ause/ >n o4 swithes" $TP 5P7s are sent to the CP7 after 5P7 is enaled
gloally or on ports!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
111
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 125/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
dentii!ation #ethod/ %or $2300D$2:00 swithes in @100006 and earlier &ersions" he,whether the bpdu enable o**and is onfigured gloally! %or other o4 swithes in
@100006 and earlier &ersions" he, whether the bpdu enable o**and is onfigured on
physial ports and the +th-Trun,! %or o4 swithes in @100008 and later &ersions" the bpdu
enable o**and is onfigured gloally or on ports y default on orresponding *odels!
olution/ 'fter $TP is gloally enaled on o4 swithes" run the bpdu enable o**and onthe +th-Trun, partiipated in $TP alulation!
ersions in"ol"ed/ &ersions earlier than @100008
"%!%*%! A6ter ST' Is &nabled on an &th#Trun. Change theCost o6 the &th#Trun. to 2e Smaller than the Cost o6 'hysical'orts
0es!ription/ 'fter the physial status of *e*er ports hanges" the ost of the +th-Trun,hanges! 's a result" $TP reon&erges and ser&ies are affeted!
oot !ause/ The ost of the +th-Trun, is the ost of a *e*er port di&ided y the nu*er of*e*er ports! Therefore" the +th-Trun, ost hanges after the status of *e*er ports
hanges! ' s*aller ost indiates etter lin, uality! Kou are ad&ised to hange the ost of the
+th-Trun, to e s*aller than the ost of physial ports!
dentii!ation #ethod/ Che, whether $TP is enaled on the +th-Trun,!
olution/ Change the ost of the +th-Trun, to e s*aller than the ost of physial ports!
ersions in"ol"ed/ all &ersions
"%" Troubleshooting
"%"%1 Troubleshooting Overview
's an I+++ standard protool" $TP has ad&antages suh as good o*patiility" low networ, planning reuire*ents" and easy onfiguration! Therefore" $TP is widely used on #ayer 2
networ,s!
$TP-related prole*s on the networ, an e lassified into the following ategories/
Aloal onfiguration or onfiguration on ports is inorret!
Betwor, en&iron*ent is unstale or networ, planning is i*proper!
Huawei de&ies annot o**uniate with non-Huawei de&ies!
etify the fault aording to %igure 1!1!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
112
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 126/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 $TP trouleshooting flowhart
"%"%! 3ault 18 TraBc Cannot 2e Transmitted Stablyon the ST' <etwor.
"%"%!%1 3ault Description
'fter $TP is gloally enaled on a swith" he, de&ies on the $TP networ, where theswith is loated! 'nalye the $TP role and state of ports to he, whether $TP on&erges
nor*ally!
%or $ series swithes" onfir* whether $TP is enaled gloally using the following *ethod/
un the display stp o**and to onfir* whether $TP is enaled gloally! If $TP is notenaled gloally" the roto!ol tatus field displays 0isabled in the o**and output!
"%"%!%! Troubleshooting +oadmap
The trouleshooting road*ap is as follows/
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
113
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 127/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
1! Che, whether the stp disable o**and is onfigured on ports!
2! Che, whether the $TP region onfiguration is orret and whether ports are added to@#'Bs orretly!
3! Che, whether the $TP role and state of ports are nor*al!
9! Che, whether ports reei&e and send 5P7s nor*ally!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
119
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 128/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
"%"%!%" Troubleshooting 3lowchart
Figure 1.1 Trouleshooting flowhart
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
116
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 129/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
"%"%!%* Troubleshooting 'rocedure
Step 1 Che, whether the stp disable o**and is onfigured on ports!
If #ayer 2 loops *ay our in an $TP losed ring and $TP is not enaled on so*e ports"
networ, stor* *ay our and affet nor*al ser&ie traffi forwarding!
Ports an partiipate in $TP alulation only when $TP is enaled gloally and on ports!
5y default" $TP is enaled on ports of $ series swithes! If the stp disable o**and is not
onfigured on a port" $TP is enaled on the port!
'fter $TP is enaled gloally" run the display stp brie o**and to he, infor*ation aout
all $TP-enaled ports whose physial state is 7p!
display stp %rie$
display inter$ace 'iga%it(thernet &0&2
Step ! Che, the *apping etween @#'Bs and $TIs!
?hen ports wor, in $TP *ode" a region an ontain *ultiple $TIs! +ah $TI *apsorresponding @#'Bs and on&erges independently! $TPD$TP is used a*ong different
regions for the* to on&erge! The on&ergene result of $TI 0 ta,es effet for all $TIs!
un the display stp region-!oniguration o**and to he, the region onfiguration of the
swith! The region onfiguration ontains the *apping etween @#'Bs and $TIs!
$withes in the sa*e region *ust ha&e the sa*e region na*e" re&ision le&el" and *apping
etween @#'Bs and $TIs! The CI$T inludes all ports on all swithes" and an $TI
inludes only ports of the sa*e $TI in the sa*e region! Therefore" ports added to a @#'B
partiipate in $TP alulation in the $TI whih the @#'B elongs to!
display stp region-con$iguration
@per con$iguration
?ormat selector 40
/egion name 4"c1$cc1$#2%:
/evision level 40
.nstance =lans Bapped
0 1 to D 01 to D "01 to "0"
1 100 to 00
!00 to "00
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
118
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 130/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
If the *apping etween @#'Bs and $TIs is not onfigured in an $T region" all @#'Bs elong
to $TI0 y default! That is" traffi of all @#'Bs on all ports of the swith is forwarded aording
to the port status alulated y $TI0!
5y default" $ series swithes use the syste* 'C address as the region na*e!
$TP alulation ased on the $TI instead of @#'B! In an $TP-enaled losed topology" there
*ust e ports in isarding state in an $TI! If the @#'B onfiguration on ports does not onstruta #ayer 2 roadast do*ain in the losed networ," $TP does not need to e enaled on rele&ant ports
to a&oid ser&ies eing influened y the port in isarding state!
Changes in para*eters (espeially the @#'B *apping tale) in an $T region ause spanning tree
realulation and route flapping on a networ,! Therefore" you are ad&ised to run the !he! region-
!oniguration o**and in the $T region &iew efore ati&ating the onfiguration of the $T
region to he, whether para*eters of the $T region are set orretly! 'fter &erifying that para*eters of the $T region are orret" run the a!ti"e region-!oniguration o**and to ati&ate
the onfiguration of the $T region!
The a!ti"e region-!oniguration o**and ati&ates the na*e" @#'B *apping tale" and $TP
re&ision le&el of the $T region! Kou are ad&ised to run the a!ti"e region-!oniguration o**and
after o*plete all the onfigurations to redue networ, flapping!
Step " Che, whether the $TP role and state of ports are nor*al!
The port roles inlude the designated port (+$I)" root port (>>T)" alternate port ('#T+)"
a,up port (5'CJ)" and *aster port ('$T)! The alternate port and a,up port do notforward traffi and they are always in isarding state! >ther ports are in %orwarding state
nor*ally and forward traffi!
Aenerally" two diretly onneted $TP-enaled ports annot e designated ports at the sa*e
ti*e! If oth ports are designated ports and are in %orwarding state" he, whether the
prole* is aused y the following reasons/
%or $3300D$3:00D$6300D$6:00 swithes in @100006" the bpdu enable o**and *ust e
onfigured on ports (inluding +th-Trun,) partiipated in $TP alulation! %or $2300D$2:00swithes in @100006" the bpdu enable o**and *ust e onfigured gloally! >therwise"the reei&ed $TP 5P7s are not proessed!
%or o4 swithes in @100008" the bpdu enable o**and is onfigured gloally on$2300D$2:00 swithes and on ports of other *odels y default! Chassis swithes do not ha&e
this restrition!
If the $TP state of a designated port is isarding" he, whether root protetion or loop protetion is onfigured on the port!
+
inter$ace 'iga%it(thernet&0&2
stp loop-protection
+
inter$ace 'iga%it(thernet&0&:
stp root-protection
+
display stp %rie$
BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet&0&2 /@@6 ?@/W8/5.' L@@
0 'iga%it(thernet&0&: 5(S. ?@/W8/5.' /@@6
If the root protetion and loop protetion are not onfigured on the port" go to $tep 9!
Step * Che, whether ports reei&e and send $TP 5P7s nor*ally!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
11:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 131/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
un the display stp intera!e o**and to he, the nu*er of 5P7s reei&ed and sent ya port!
display stp inter$ace 'iga%it(thernet &0&2
----[,.S6][ort1"9'iga%it(thernet&0&2][?@/W8/5.']----
ort rotocol 4ena%led ort /ole 45esignated ort
ort riority 41*
ort ,ost95ot16 4,on$ig7auto & 8ctive70000
5esg; 3ridge&ort 4!:2*;"c1$-cc1$-#2%: & 1*;1"
ort (dged 4,on$ig7de$ault & 8ctive7disa%led
oint-to-point 4,on$ig7auto & 8ctive7true
6ransit Limit 41": pac)ets&hello-time
rotection 6ype 4one
ort Stp Bode 4BS6
ort rotocol 6ype 4,on$ig7auto & 8ctive7dot1s
35H (ncapsulation 4,on$ig7stp & 8ctive7stp
ort6imes 4Eello s Ba8ge 0s ?w5ly 1#s /emEop 0
6, or 6, send 4
6, or 6, received 40
35H Sent 410!1
6,4 0D ,on$ig4 0D /S64 0D BS64 10!1
35H /eceived 40
6,4 0D ,on$ig4 0D /S64 0D BS64 0
The 0& ent field displays the total nu*er of 5P7s sent y the port and the 0&
e!ei"ed field displays the total nu*er of 5P7s reei&ed y the port! T) indiates
topology hange notifiation pa,ets! )onig indiates traditional $TP pa,ets! T indiates
$TP pa,ets! 9T indiates $TP pa,ets! Bor*ally" only the nu*er inreases periodially in the 0& ent field for designated ports and in the 0& e!ei"ed field for
other ports! 'fter the on&ergene is stale" the nu*er of 5P7s sent and reei&ed y a portis fi4ed!
If the nu*ers in oth the 0& ent field and 0& e!ei"ed field inrease" run the
debugging stp intera!e 'intera!e-type( 'intera!e-nu#ber( pa!et all o**and toenale $TP deugging! 5P7s reei&ed and sent y a port are displayed! Che, whether the
displayed infor*ation re*ains unhanged!
<Switch> de%ugging stp inter$ace 'iga%it(thernet &0&2 pac)et all
<Switch> terminal monitor
<Switch>terminal de%ugging
Kun " 001 1044"1;20;1O01400 5S6 Switch BS6&:&A64
ort##9'iga%it(thernet&0&2 /cvd ac)et9Length4 10
rotocol=ersion.5 4 0!35H6ype 4 0
?lags 4 :c9 5(S.'86(5 Learning ?orwarding
8greement
,.S6 /oot .denti$ier 4 0;101%-#"*-d!e0
,.S6 (ternal ath ,ost 4 0
,.S6 3ridge .denti$ier 4 0;101%-#"*-d!e0
,.S6 ort .denti$ier 4 1*;12
Bessage 8ge 4 0
Ba 8ge 4 0
Eello 6ime 4
?orward 5elay 4 1#
=ersion 1 Length 4 0
=ersion ! Length 4 2"
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
11<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 132/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
,.S6 /egional /oot .denti$ier 4 0;101%-#"*-d!e0
,.S6 .nternal /oot ath ,ost 4 0
,.S6 /emaining Eops 4 0
.nstance 4 0
isale the deugging!
<Switch> undo terminal monitor
<Switch>undo terminal de%ugging
<Switch>undo de%ugging all
%igure 1!1 shows *eanings of its in the Flags field!
Figure 1.1 5its in the $TPD$TP Flags field
ultiple its *ay e set to 1 at the sa*e ti*e! %or e4a*ple" in the onfiguration *essages periodially reei&ed y A+2D0D8" the Flags field displays 04:C (inary digits/ 0-1-1-1-1-1-0-
0)! It *eans that the 'gree*ent" %orwarding" and #earning its are set to 1" and the Port ole
it is set to 11" *eaning that the peer port is a designated port!
In TC pa,ets" the Topology Change it is set to 1!
----End
"%"%" 3ault !8 A 'ort Cannot Converge +apidly
"%"%"%1 3ault Description
'fter $TP is enaled on a swith gloally and on ports" ports annot forward pa,ets for a
long ti*e after the port status hanges! Che, onfigurations of the swith and the peerde&ie!
un the display stp brie o**and to he, infor*ation aout all $TP-enaled ports whose physial status is 7p! The T tate field displays the forwarding status of a port! ' port an
nor*ally forward pa,ets only when it is in %orwarding state!
"%"%"%! Troubleshooting +oadmap
The trouleshooting road*ap is as follows/
1! Che, whether the peer port is enaled with $TP!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
11=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 133/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
2! Che, whether the port wor,s in traditional $TP *ode!
3! Che, whether the port wor,s in point-to-point *ode!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
120
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 134/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
"%"%"%" Troubleshooting 3lowchart
Figure 1.1 Trouleshooting flowhart
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
121
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 135/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
"%"%"%* Troubleshooting 'rocedure
Step 1 Che, whether the peer port is enaled with $TP!
Ter*inals" PCs" and ser&ers do not support $TP! If the swith is onneted to these de&ies"
onfigure the port on the swith as an edge port or disale $TP on the port!
un the stp edged-port enable or stp disable o**and on the port!
>therwise" when the ale is re*o&ed or installed" or the shutdownDundo shutdown
o**and is run on the port" the port on&erges slowly eause the peer port does not send$TP 5P7s to the port! The port *ust wait twie the forward-delay ti*e (16s y default)
efore forwarding pa,ets nor*ally!
Step ! Che, whether the port wor,s in traditional $TP *ode!
$TP is always downward o*patile during its de&elop*ent proess! >n de&ies that are
gloally onfigured to wor, in $TPD$TP *ode" ports auto*atially transit to $TP *ode
after reei&ing traditional $TP 5P7s!
un the display stp intera!e o**and to he, the atual wor,ing *ode of a port!
display stp inter$ace 'iga%it(thernet &0&2
----[ort*9'iga%it(thernet&0&2][?@/W8/5.']----
ort rotocol 4(na%led
ort /ole 45esignated ort
ort riority 41*
ort ,ost95ot16 4,on$ig7auto & 8ctive70000
5esignated 3ridge&ort 4!:2*;002-0000-1"0 & 1*;*
ort (dged 4,on$ig7de$ault & 8ctive7disa%led
oint-to-point 4,on$ig7auto & 8ctive7true
6ransit Limit 41": pac)ets&s
rotection 6ype 4one
ort S6 Bode 4S6
ort rotocol 6ype 4,on$ig7auto & 8ctive7dot1s
35H (ncapsulation 4,on$ig7stp & 8ctive7stp
ort6imes 4Eello s Ba8ge 0s ?w5ly 1#s /emEop 0
6, or 6, send 41
6, or 6, received 4#
35H Sent 4"
6,4 0D ,on$ig4 "D /S64 0D BS64 0
35H /eceived 41
6,4 0D ,on$ig4 1D /S64 0D BS64 0
The fast port transition *ehanis* is also alled the ProposalD'gree*ent *ehanis*!Traditional $TP *ode annot pro&ide the fast transition *ehanis*! ' port *ust wait twie
the forward-delay ti*e (16s y default) to enter the %orwarding state! The type of $TP5P7s sent and reei&ed y a port an e otained ased on the nu*er of 5P7s displayed
in the 0& ent field and 0& e!ei"ed field!
$ series swithes support the ProposalD'gree*ent *ehanis* in enhaned *ode and ino**on *ode! The enhaned *ode is the default *ode!
+nhaned *ode/ The urrent port alulates the root port when alulating the
synhroniation flag it!
M 'n upstrea* de&ie sends a Proposal pa,et to a downstrea* de&ie" reuesting for
fast transition! 'fter reei&ing the pa,et" the downstrea* de&ie sets the port
onneted to the upstrea* de&ie as a root port and lo,s all non-edge ports!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
122
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 136/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
M The upstrea* de&ie then sends an 'gree*ent pa,et to the downstrea* de&ie!'fter the downstrea* de&ie reei&es the pa,et" the status of the root port hanges
to %orwarding!
M The downstrea* de&ie sends an 'gree*ent pa,et to the upstrea* de&ie! 'fter
reei&ing the 'gree*ent pa,et" the upstrea* de&ie sets the port onneted to thedownstrea* de&ie as a designated port! The designated port then enters the
%orwarding state!
Co**on *ode/ The urrent port does not alulate the root port when alulating the
synhroniation flag it!
M 'n upstrea* de&ie sends a Proposal pa,et to a downstrea* de&ie" reuesting for
fast transition! 'fter reei&ing the Proposal pa,et" the downstrea* de&ie sets the
port onneted to the upstrea* de&ie as a root port and lo,s all non-edge ports!
The root port then enters the %orwarding state!
M The downstrea* de&ie sends an 'gree*ent pa,et to the upstrea* de&ie! 'fterreei&ing the 'gree*ent pa,et" the upstrea* de&ie sets the port onneted to the
downstrea* de&ie as a designated port! The designated port then enters the
%orwarding state!
?hen an $ series swith is onneted to an upstrea* $TP-enaled swith or a non-Huawei
de&ie" fast transition annot e perfor*ed on the upstrea* de&ie! un the stp no-
agree#ent-!he! o**and on the $ series swith to a&oid the prole*!
'fter a port auto*atially swithes to $TP-o*patile *ode" you need to run the stp #!he!
o**and on the port to swith the port a, to $TP *ode *anually in the following ases/
The swith running $TP is shut down or disonneted!
The swith running $TP is swithed to $TP *ode!
%or two diretly onneted swithing de&ies in a spanning tree" the swithing de&ie loser to the root ridge is the upstrea* de&ie of the other swithing de&ie!
Step " Che, whether the lin, type of a port is point-to-point (P2P)!
The $TPD$TP *ode pro&ides the fast transition *ehanis*! ?hen $TP is enaled on oth
ends of a lin, and the lin, type is P2P" the fast transition *ehanis* an e i*ple*ented onthe ports!
Kou an run the stp point-to-point o**and to onfigure the lin, type on $ series swithes!The lin, type of a port is auto y default! That is" $TPD$TP he,s whether the lin, of a
port is a P2P lin,! The lin, an e a P2P lin, only when oth ends wor, in full duple4 *ode!
un the display intera!e 'intera!e-type( 'intera!e-nu#( o**and to he, whether a
port wor,s in full duple4 *ode!
un the display stp intera!e o**and to he, the lin, type of a port!
display stp inter$ace 'iga%it(thernet &0&2
----[,.S6][ort1"9'iga%it(thernet&0&2][?@/W8/5.']----
ort rotocol 4ena%led
ort /ole 45esignated ort
ort riority 41*
ort ,ost95ot16 4,on$ig7auto & 8ctive70000
5esg; 3ridge&ort 4!:2*;"c1$-cc1$-#2%: & 1*;1"
ort (dged 4,on$ig7de$ault & 8ctive7disa%led
oint-to-point 4,on$ig7auto & 8ctive7true
6ransit Limit 41": pac)ets&hello-time
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
123
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 137/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
rotection 6ype 4one
ort Stp Bode 4BS6
ort rotocol 6ype 4,on$ig7auto & 8ctive7dot1s
35H (ncapsulation 4,on$ig7stp & 8ctive7stp
ort6imes 4Eello s Ba8ge 0s ?w5ly 1#s /emEop 0
6, or 6, send 4
6, or 6, received 40
35H Sent 410!1
6,4 0D ,on$ig4 0D /S64 0D BS64 10!1
35H /eceived 40
6,4 0D ,on$ig4 0D /S64 0D BS64 0
In the preeding o**and output" )onig:auto indiates that the onfigured &alue is auto"and /!ti"e:true indiates that the lin, type of the port is P2P!
If the fast transition *ehanis* annot e i*ple*ented on the port when the lin, type is P2P"ontat Huawei tehnial support personnel!
----End
"%"%* 3ault "8 C'5 5sage Is High on an ST'#enabledDevice
"%"%*%1 3ault Description
?hen ser&ie traffi is interrupted so*eti*es on an $TP-enaled networ," he, whether
ports ontinuously reei&e TC pa,ets and whether ports reei&e *ultiple types of $TP5P7s!
'fter reei&ing TC pa,ets" $TP-enaled ports updates forwarding entries! ?hen the $TPon&ergene *odes are different" the swith proesses 'P entries in different ways! In the
display stp o**and output" the T )on"erge 9ode field indiates the $TP on&ergene
*ode of the de&ie!
"%"%*%! Troubleshooting +oadmap
The trouleshooting road*ap is as follows/
1! Che, whether ports ontinuously reei&e TC pa,ets!
2! Che, whether ports reei&e *ultiple types of $TP 5P7s!
3! Che, whether there are atta, pa,ets!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
129
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 138/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
"%"%*%" Troubleshooting 3lowchart
Figure 1.1 Trouleshooting flowhart
"%"%*%* Troubleshooting 'rocedure
Step 1 ?hether ports ontinuously reei&e TC pa,ets!
un the display !pu-usage o**and to he, tas,s with high CP7 usage on the hassis or
#P7! If the PPI tas, has high CP7 usage on o4 or hassis swithes" he, whether ports
ontinuously reei&e a large nu*er of TC pa,ets! If the PPI tas, does not ha&e a high CP7usage" go to !
?hen a non-edge port enters the %orwarding state" TC pa,ets are generated!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
126
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 139/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
In traditional $TP *ode" the flooding path of TCB pa,ets is shown in the following figure/
In $TPD$TP *ode" the flooding path of TC pa,ets is shown in the following figure/
Aenerally" a swith updates forwarding entries after reei&ing a TC pa,et indiating the
topology hange! Then traffi is trans*itted through new paths! ?hen ports ontinuouslyreei&e TC pa,ets" the swith updates forwarding entries freuently" oupying CP7
resoures and affeting ser&ie traffi forwarding!
Che, TC pa,ets reei&ed and sent y ports using the following o**ands/
display stp t! (The o**and is used in the hidden &iew on hassis swithes in @100003
and earlier &ersions! It displays only the nu*er of reei&ed pa,ets and does not differentiateTC and TCB pa,ets!)
display stp t!-bpdu statisti!s (The o**and is supported y hassis swithes sine
@100008 and y o4 swithes sine @100006!)
display stp topology-!hange (The o**and is supported y hassis swithes sine@100008 and y o4 swithes sine @100006!)
[?rame-hidecmd]display stp tc (The o**and displays only the total nu*er of TC or TCB pa,ets
reei&ed y ports!)
---------- Stp .nstance 0 tc or tcn count ----------
ort 'iga%it(thernet!&0&0 0
ort 'iga%it(thernet!&0&!
[Switch]display stp tc-$pdu statistics
-------------------------- S6 6,&6, in$ormation --------------------------
BS6.5 ort 6,9Send&/eceive 6,9Send&/eceive
0 'iga%it(thernet&0&2 1&" 0&10 'iga%it(thernet&0&: !&0 0&1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
128
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 140/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
0 'iga%it(thernet&0&* 11#&0 0&0
0 'iga%it(thernet&0& 110&0 0&0
0 'iga%it(thernet!&0&! &# 0&0
[Switch]display stp topology-change
,.S6 topology change in$ormation
um%er o$ topology changes 4!#
6ime since last topology change 40 days 1h4:m4!0s
6opology change initiator9noti$ied 4'iga%it(thernet&0&2
6opology change last received $rom 4101%-#"*-d!e0
um%er o$ generated topologychange traps 4 !*
um%er o$ suppressed topologychange traps4 *
BS6. 1 topology change in$ormation
um%er o$ topology changes 40
If the o**and output shows that ports ontinuously reei&e a large nu*er of TC pa,ets"run the stp t!-prote!tion o**and to enale TC protetion on the swith to suppress TC
pa,ets! The swith then is proteted against TC pa,ets! un the stp t!-prote!tion thresholdo**and to set the nu*er of ti*es that TC pa,ets are proessed in a speified Hello ti*e!
'fter reei&ing TC pa,ets" the swith updates forwarding entries! ?hen the $TP
on&ergene *odes are different" the swith proesses 'P entries in different ways! The
nor#al on&ergene *ode is reo**ended!
If the $TP on&ergene *ode is ast" the swith deletes the related 'P entries diretly!
If the $TP on&ergene *ode is nor#al" the swith sets the re*aining aging ti*e of the 'P
entries to 0 and ages the*!
5y default" the $TP on&ergene *ode is nor*al on hassis swithes sine @100003 and on o4
swithes sine @100006! The *ode is fast y default on swithes in earlier &ersions!
5y default" TC protetion is disaled on $ series swithes" and the TC protetion threshold is 3 in
&ersions earlier than @100008 and 1 in @100008!
If the PPI tas, still has high CP7 usage after TC protetion is enaled and $TP on&ergene
*ode is hanged" go to $tep 2!
Step ! Che, whether ports reei&e *ultiple types of $TP 5P7s!
ue to networ, hanges" the stale $TP ring *ay reon&erge!
un the display stp history o**and on hassis swithes to he, role alulation history on
ports! If the role of ports ,eeps hanging" ports reei&e pa,ets fro* different de&ies"
indiating a prole* on the networ,!
>n hassis swithes in &ersions earlier than @200001 (hidden &iew)" the displayed
infor*ation is as follows/
[Switch-hidecmd]display stp history
---------- Stp .nstance 0 history trace ----------
'iga%it(thernet2&0&12 /oot->5esi at 001&02&0 114"041" H6,O00400
Q"02;101%-#"*-1!" 0 "02;101%-#"*-1!" 0 "02;101%-#"*-1!" 1*;2!R
'iga%it(thernet2&0&12 5esi->/oot at 001&02&0 114!:4#! H6,O00400
Q0;0"*-*$#-a0a0 # "02;101%-#"*-1!" 0 "02;101%-#"*-1!" 1*;2!R
(0!09<=-=<f6-a0a0/ root 'C address 26====/ e4ternal path ost 90=8!101-69=<-1239/ region root 'C address 0/
e4ternal path ost 90=8!101-69=<-1239/ designated ridge 'C address 12<!83/ onfigured port priority)
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
12:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 141/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
>n $ series swithes in @200001 and later &ersions (diagnosis &iew)" the displayedinfor*ation is as follows/
[Switch-diagnose]display stp history
Stp .nstance 0 history trace4
ort ame4 'iga%it(thernet0&0&2/ole 6ransation4 /oot->5esi
.s8ged4 Ges
6ime4 00*&10&0# 00414# H6,O00400
/ootriority4 0
/ootBac4 101%-#"*-d!e0
ath(t,ost4 0
/eg/ootriority4 !:2*
/eg/ootBac4 0000-0a**-1#*0
ath.n,ost4 0
5esignatedriority4 0
5esignateBac4 101%-#"*-d!e0
ortriority4 1*
ort.d4 :
un the following o**ands to enale $TP deugging to ollet e4hanged $TP 5P7s ande&ent infor*ation when the networ, is faulty!
<Switch> de%ugging stp inter$ace <inter$ace-type> <inter$ace-num%er> pac)et all
<Switch>de%ugging stp event
?hen loating the fault" pay attention to the situation that so*e networ, de&ies an transparently
trans*it $TP 5P7s y default although $TP is not gloally enaled on the de&ies!
Step " Che, whether there are atta, pa,ets!?hen a lin, is faulty or atta, pa,ets e4ist on the networ," port annot reei&e $TP 5P7ssent y the peer de&ie" and $TP state is swithed as shown in the following logs/
Kul 2 01 0424"0 Switch MM01BS6&2&S(6J@/6J5.S,8/5.'9l4.n BS6 process 0
instance 0D BS6 set port 'iga%it(thernet"&0&10 state as discarding;
Kul 2 01 0424"! Switch MM01BS6&2&S(6J@/6J?@/W8/5.'9l4.n BS6 process 0
instance 0D BS6 set port 'iga%it(thernet"&0&10 state as $orwarding;
un the display intera!e o**and to he, whether the physial status" rate" and full
duple4 *ode of a port are nor*al and whether there are error pa,ets in the inound diretion!
If lin,s are nor*al" run the display stp intera!e 'intera!e-type( 'intera!e-nu#ber(
o**and to he, the nu*er displayed in the 0& e!ei"ed field as shown in3!2!9eploy*ent Preautions! If the nu*er does not inrease periodially and the 5P7onfiguration on the port is orret" ind a traffi poliy in the inound diretion of the port to
ollet traffi statistis aout $TP 5P7s! This onfir*s whether the peer de&ie periodially
sends $TP 5P7s! Perfor* the following onfigurations/
Configure a traffi poliy!
[Switch]tra$$ic classi$ier stp
[Switch-classi$ier-stp]i$-match destination-mac 01*0-c00-0000
[Switch]tra$$ic %ehavior stp
[Switch-%ehavior-stp]statistic ena%le
[Switch]tra$$ic policy stp
[Switch-tra$$icpolicy-stp]classi$ier stp %ehavior stp
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
12<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 142/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch]inter$ace 'iga%it(thernet &0&2
[Switch-'iga%it(thernet&0&2]tra$$ic-policy stp in%ound
@iew the traffi statistis!
[Switch]display tra$$ic policy statistics inter$ace 'iga%it(thernet &0&2in%ound
.nter$ace4 'iga%it(thernet&0&2
6ra$$ic policy in%ound4 stp
/ule num%er4 1
,urrent status4 @AP
---------------------------------------------------------------------
3oard 4
.tem ac)ets 3ytes
---------------------------------------------------------------------
Batched " "
O--assed " "
O--5ropped 0 0
O--?ilter 0 0
O--,8/ 0 0
If the traffi statistis show that $TP 5P7s inrease periodially" ut the nu*er displayed
in the 0& e!ei"ed field does not inrease periodially" run the display !pu-deend
statisti!s all o**and to he, whether a large nu*er of other pa,ets are sent to the CP7
for proessing!
[Switch]display cpu-de$end statistics all
,,8/ on slot 1
-------------------------------------------------------------------------------
ac)et 6ype ass93ytes 5rop93ytes ass9ac)ets 5rop9ac)ets
arp-request *2!*1:20* 1!2:#212 1:#:00 0112
arp-reply #10!#0" *#:# *:0""#1 11"!0
stp "!2#1!*2: 0 1:#!21# 0
smart-lin) 0 0 0 0
ldt 0 0 0 0
lacp 0 0 0 0
lldp 0 0 0 0
dldp 0 0 0 0
vrrp 0 0 0 0
mpls-oam 0 0 0 0
isis 0 0 0 0
dhcp-client 0 0 0 0
dhcp-server 0 0 0 0igmp 0 0 0 0
pim 0 0 0 0
$ series swithes use the CPC' *ehanis* to lassify pa,ets sent to the ontrol plane" andli*it the rate of these pa,ets and shedule pa,ets in ueues to ensure seurity of the ontrol
plane! If so*e pa,ets e4eed the CPC' threshold and are disarded" run the display !pu-
deend !oniguration all o**and to he, whether these pa,ets are in the sa*e ueue
with $TP 5P7s!
[?rame]dis cpu-de$end con$iguration all
,ar ,on$igurations on main %oard;
----------------------------------------------------------------------
ac)et ame Status ,ir9A%ps ,%s93yte Cueue ort-6ype
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
12=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 143/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
----------------------------------------------------------------------
*01 (na%led #2 !000 ! 8
arp-m$$ (na%led 1* 12000 ! 8
arp-miss (na%led 1* 12000 ! 8
arp-reply (na%led 1* 12000 ! 8
arp-request (na%led 1* 12000 ! 8
ssh (na%led 1* 12000 # 8
stp (na%led #1 2"000 # 8
----------------------------------------------------------------------
,ar ,on$igurations @n Slot !;
----------------------------------------------------------------------
ac)et ame Status ,ir9A%ps ,%s93yte Cueue ort-6ype
----------------------------------------------------------------------
*01 5isa%led #2 !000 ! 8
arp-m$$ 5isa%led 2" 10000 ! 8
arp-miss (na%led 2" 10000 ! 8arp-reply (na%led 2" 10000 ! H.
arp-request (na%led 2" 10000 ! H.
ssh (na%led 1* 12000 # .
stp (na%led 1* 12000 # 8
If the reason for high CP7 usage still annot e found" ontat Huawei tehnial support
personnel!
>n $ series swithes in different *odels and &ersions" pa,et types displayed in the display !pu-
deend statisti!s all o**and output *ay e different!
%or o4 swithes in so*e &ersions" $TP state hanges of ports are not reorded in the log uffer ydefault! un the ino-!enter sour!e 9T !hannel 4 log le"el inor#ational o**and to adustthe log le&el!
----End
"%"%) In6ormation Collection :ethods
If the fault annot e loated" ollet the following infor*ation! If non-Huawei de&ies arein&ol&ed" ollet infor*ation aording to the o**and referene! %or *ethods of olleting
swith logs and diagnosis logs" see hapter =$with #ogs and iagnosis #ogs!
"%"%)%1 <etwor. TopologyCollet networ, topology infor*ation inluding de&ie na*es" syste* 'C addresses" andna*es of onneted ports!
"%"%)%! -ist o6 the display Commands
Command Description
display &ersion isplays &ersion infor*ation!
display de&ie isplays de&ie status infor*ation!
display path-infor*ation isplays path infor*ation!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
130
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 144/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Command Description
display pu-usage (slot slot-id) isplays the CP7 usage!
display *e*ory-usage (slot slot-id) isplays the *e*ory usage!
display urrent-onfiguration isplays the de&ie onfiguration!
display interfae isplays traffi on all ports! (Collet the
infor*ation one e&ery fi&e *inutes and twiein total!)
display stp region-onfiguration isplays the onfiguration of an $TP region!
display stp rief isplays rief infor*ation aout instanes" port
roles" $TP states" and protetion! (Collet the
infor*ation one e&ery 16s and fi&e ti*es intotal!)
display stp isplays status and statistis of spanning tree
instanes! (Collet the infor*ation one e&ery
fi&e *inutes and twie in total!)
display stp history (in hidden &iew for
hassis swithes in &ersions earlier than@200001 and diagnosis &iew in
@200001)
isplays history reords of $TP alulation!
display stp t (in hidden &iew for hassis
swithes in @100003 and earlier&ersions)
display stp t-pdu statistis (supported y hassis swithes sine @100008 and
y o4 swithes sine @100006!)
isplays the nu*ers of TCDTCB pa,ets
reei&ed and sent y ports! (Collet theinfor*ation one e&ery 16s and fi&e ti*es in
total!)
display loguffer isplays infor*ation in the log uffer!
display trapuffer isplays infor*ation in the trap uffer!
reset stp statistis Clears statistis aout reei&ed and sent $TP
5P7s!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
131
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 145/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
"%* Troubleshooting Cases
"%*%1 Case 18 A6ter an +ST'#enabled 'ort Is Shut
Down and +estored +ST' Cannot Converge 4uic.ly"%*%1%1 Symptom and <etwor.ing
H3!sw-1
H3!sw-2S/00
Two H3C swithes and one $6:00 for* an $TP ring! H3Csw-1 is the root ridge! The lin,
etween the $6:00 and H3Csw-2 is redundant when the networ, is stale!
$hut down the port on H3Csw-1 onneted to the $6:00 and restore the port to he, the
$TP fast on&ergene *ehanis*! 'fter the lin, etween H3Csw-1 and the $6:00 reo&ers"
the port on H3Csw-1 re*ains in isarding state and hanges to %orwarding state after 30s!
"%*%1%! +oot Cause?hen the port on H3Csw-1 onneted to the $6:00 is 7p" H3Csw-1 sends 5P7s with the
Proposal it" ut does not send 5P7s with the 'gree*ent it! Therefore" the
ProposalD'gree*ent *ehanis* does not ta,e effet!
"%*%1%" Identi>cation :ethod
5y default" the $6:00 uses the ProposalD'gree*ent *ehanis* in enhaned *ode! It
responds after reei&ing 'gree*ent pa,ets sent y the upstrea* de&ie!
The upstrea* de&ie sends a Proposal pa,et to the downstrea* de&ie" reuesting for
fast transition! 'fter reei&ing the pa,et" the downstrea* de&ie sets the port onneted
to the upstrea* de&ie as a root port and lo,s all non-edge ports! The upstrea* de&ie then sends an 'gree*ent pa,et to the downstrea* de&ie! 'fter
the downstrea* de&ie reei&es the pa,et" the status of the root port hanges to%orwarding!
The downstrea* de&ie sends an 'gree*ent pa,et to the upstrea* de&ie! 'fter
reei&ing the 'gree*ent pa,et" the upstrea* de&ie sets the port onneted to thedownstrea* de&ie as a designated port! The designated port then enters the %orwarding
state!
H3Csw-1 uses the ProposalD'gree*ent *ehanis* in o**on *ode! un the debugging stp
intera!e igabitEthernet*+*+8 pa!et re!ei"e o**and on the $6:00 to &iew $TP 5P7s
reei&ed y ports! >nly $TP 5P7s with the Proposal it are displayed!
ort#09'iga%it(thernet0&0&* /cvd ac)et9Length4 "!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
132
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 146/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
rotocol=ersion.5 4 0
35H6ype 4 09 /S6 35H
?lags 4 0e9 roposal 5(S.'86(5
/oot .denti$ier 4 0;000$-ee0-:"#
/oot ath ,ost 4 0
3ridge .denti$ier 4 0;000$-ee0-:"#
ort .denti$ier 4 1*;02
Bessage 8ge 4 0
Ba 8ge 4 0
Eello 6ime 4
?orward 5elay 4 1#
=ersion 1 Length 4 0
"%*%1%* Solution
>n the $6:00" run the stp no-agree#ent-!he! o**and on ports onneted to H3C
swithes for the $6:00 to o**uniate with H3C swithes!
"%*%1%) Summary
?hen $ series swithes wor, with non-Huawei de&ies" run the stp no-agree#ent-!he!
o**and on $ series swithes to onfigure the transition *ode aording to the
ProposalD'gree*ent *ehanis* of non-Huawei de&ies!
"%*%! Case !8 :ember 'orts o6 an &th#Trun. AreDown and Services Are Interrupted
"%*%!%1 Symptom and <etwor.ing
S/00 H3!sw S00
<e8383-+ <e*383+
<e=3838
'll ports are added to @#'B 100! A+0D0D21 of $6:00 (in @100008C00$PC<00) reei&es
ser&ie traffi and sends the traffi to A+6D0D1 of H3Csw through the onneted lin,aggregation group (#'A)! A+6D0D1 then forwards the traffi to A+8D0D0 of $::00!
The #'A infor*ation on H3Csw and $6:00 is displayed as follows/
<E!,sw>display lin)-aggregation ver%ose 1
Loadsharing 6ype4 Shar -- LoadsharingD onS -- on-Loadsharing
8ggregation .54 1D 8ggregation6ype4 StaticD Loadsharing 6ype4 Shar
8ggregation 5escription4
System .54 0*000D 000$-e1e-*a#
ort Status4 S -- SelectedD 6 -- s6and%y
Local4
ort Status riority ?lag @per-Aey Lin)-Status
--------------------------------------------------------------------------------
'iga%it(thernet0&0&1 S !:2* 0!d 1 Hp
'iga%it(thernet0&0& S !:2* 0!d 1 Hp
'iga%it(thernet0&0&! S !:2* 0!d 1 Hp
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
133
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 147/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
/emote4
8ctor artner riority ?lag @per-Aey System.5
--------------------------------------------------------------------------------
'iga%it(thernet0&0&1 1 !:2* 0!d !0# 0*000D00#-e$%-#:a
'iga%it(thernet0&0& !:2* 0!d !0# 0*000D00#-e$%-#:a
'iga%it(thernet0&0&! ! !:2* 0!d !0# 0*000D00#-e$%-#:a
<S#:00>display eth-trun) 1
(th-6run)1Is state in$ormation is4
Local4
L8' .54 1 Wor)ingBode4 S686.,
reempt 5elay4 5isa%led Eash arithmetic4 8ccording to S.-@/-5.
System riority4 !:2* System .54 00#-e$%-#:a
Least 8ctive-lin)num%er4 1 Ba 8ctive-lin)num%er4 *
@perate status4 up um%er @$ Hp ort .n 6run)4 !
--------------------------------------------------------------------------------
8ctorortame Status ort6ype ortri orto ortAey ortState Weight
'iga%it(thernet0&0&1 Selected 1'( !:2* 1 !0# 10111100 1'iga%it(thernet0&0& Selected 1'( !:2* !0# 10111100 1
'iga%it(thernet0&0&! Selected 1'( !:2* ! !0# 10111100 1
artner4
--------------------------------------------------------------------------------
8ctorortame Sysri System.5 ortri orto ortAey ortState
'iga%it(thernet0&0&1 !:2* 000$-e1e-*a# !:2* 0 1 10111100
'iga%it(thernet0&0& !:2* 000$-e1e-*a# !:2* 1 1 10111100
'iga%it(thernet0&0&! !:2* 000$-e1e-*a# !:2* 1 10111100
'fter the optial fier onneting the two A+0D0D2 ports is re*o&ed" the two ports are own
and ser&ie traffi is interrupted for aout 30s!
"%*%!%! +oot Cause
$6:00 has $TP enaled gloally and wor,s in $TP *ode! The $TP *ode of $::00 is $TP!
H3Csw is not gloally enaled with $TP" ut ports on H3Csw an transparently trans*it $TP
5P7s y default! 'fter a *e*er port in the #'A is own" the ost of the entire #'A
hanges and $TP reon&erges! 5eause $TP is not enaled on the peer end of A+0D0D21 on$6:00" $TP on&erges slowly on A+0D0D21!
"%*%!%" Identi>cation :ethod
The onfiguration shows that $TP is gloally enaled on $6:00! H3Csw is not gloally
enaled with $TP" ut ports on H3Csw an transparently trans*it $TP 5P7s! 'fterreei&ing $TP 5P7s fro* $::00" $6:00 negotiates with $::00!
[S#:00]dis stp %rie$
BS6.5 ort /ole S6 State rotection
0 (th-6run)1 /@@6 ?@/W8/5.' @(
0 'iga%it(thernet0&0&1 5(S. ?@/W8/5.' @(
<E!,sw>dis stp %rie$
rotocol Status 4disa%led
rotocol Std; 4.((( *0;1s
=ersion 4!
,.S6 3ridge-rio; 4!:2*
B8, address 4000$-e1e-*a#
Ba age9s 40
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
139
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 148/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
?orward delay9s 41#
Eello time9s 4
Ba hops 40
The $TP ost of an +th-Trun, is the ost of a *e*er port di&ided y the nu*er of *e*er
ports! 5y default" the ost of A+ ports on $6:00 is 20000! ?hen all the three *e*er ports in+th-Trun, 1 are 7p" the $TP ost of +th-Trun, 1 is 8888 (20000D3)! 'fter the optial fier
onneted to A+0D0D2 is re*o&ed" only two *e*er ports in +th-Trun, 1 are 7p" and the $TP
ost of +th-Trun, 1 is 10000 (20000D2)! ?hen seleting port roles" $TP alulates the path
ost aording to the $TP ost of ports!
+th-Trun, 1 is the root port of $6:00! 'fter the $TP ost of +th-Trun, 1 hanges" $TP
alulation is triggered and $TP reon&erges on A+0D0D21! 5eause $TP is not enaled on the peer end of A+0D0D21 on $6:00" $TP on&erges slowly on A+0D0D21 and traffi is interrupted
for 30s!
"%*%!%* Solution
1! Configure A+0D0D21 on $6:00 as an $TP edge port!
2! $et the $TP ost of +th-Trun, 1 to 10000 so that $TP on&ergene is not triggered after
*e*er ports of +th-Trun, 1 are own!
"%*%!%) Summary
If $TP is gloally enaled on a de&ie and a port is onneted to a peer de&ie that is not
enaled with $TP" onfigure the port as an $TP edge port or disale $TP on the port!
$TP is triggered to reon&erge after the status of *e*er ports in an +th-Trun, hanges!
$et the $TP ost of the +th-Trun, to a fi4ed &alue s*aller than the ost of its physial*e*er ports!
"%*%" Case "8 Di@erent :ST' +egion Con>gurations+esult in the Same Convergence o6 :ultipleInstances
"%*%"%1 Symptom and <etwor.ing
Switch-1 Swtich-2
<&8383-8
<&8383-9
<&8383->
$TP is enaled on two $ series swithes onneted through A+0D0D20" A+0D0D23" and
A+0D0D29 on the two swithes! Configure $TP *ulti-instane!
instance 1 vlan 101
instance vlan
The A+0D0D20 ports elong to instane 1 and 2! The A+0D0D23 ports only elong to instane 1!The A+0D0D29 ports only elong to instane 2!
The A+0D0D20 ports in instane 1 and 2 are in %orwarding state! Howe&er" the A+0D0D20 ports
are reuired to e in different $TP state in instane 1 and 2!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
136
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 149/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
"%*%"%! +oot Cause
The two swithes are onfigured with different region na*es! $TP on&erges in the CI$T!
"%*%"%" Identi>cation :ethod
Che, the $TP on&ergene infor*ation of the two swithes!
<Switch-1>display stp %rie$
BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet0&0&0 5(S. ?@/W8/5.' @(
0 'iga%it(thernet0&0&! 5(S. ?@/W8/5.' @(
0 'iga%it(thernet0&0&" 5(S. ?@/W8/5.' @(
1 'iga%it(thernet0&0&0 5(S. ?@/W8/5.' @(
1 'iga%it(thernet0&0&! 5(S. ?@/W8/5.' @(
'iga%it(thernet0&0&0 5(S. ?@/W8/5.' @(
'iga%it(thernet0&0&" 5(S. ?@/W8/5.' @(
<Switch->display stp %rie$
BS6.5 ort /ole S6 State rotection
0 'iga%it(thernet0&0&0 /@@6 ?@/W8/5.' @(
0 'iga%it(thernet0&0&! 8L6( 5.S,8/5.' @(
0 'iga%it(thernet0&0&" 8L6( 5.S,8/5.' @(
1 'iga%it(thernet0&0&0 B8S6 ?@/W8/5.' @(
1 'iga%it(thernet0&0&! 8L6( 5.S,8/5.' @(
'iga%it(thernet0&0&0 B8S6 ?@/W8/5.' @(
'iga%it(thernet0&0&" 8L6( 5.S,8/5.' @(
Che, the $TP region onfigurations of the two swithes!
[Switch-1]display stp region-con$iguration
@per con$iguration
?ormat selector 40
/egion name 4vlan101 /evision level 40
.nstance =lans Bapped
0 1 to *D 100D 10 to "0"
1 101
[Switch-]display stp region-con$iguration
@per con$iguration
?ormat selector 40
/egion name 4vlan /evision level 40
.nstance =lans Bapped
0 1 to *D 100D 10 to "0"
1 101
The o**and output shows that the two swithes ha&e different region na*es! They perfor*
alulation etween regions and the alulation of instane 0 ta,es effet for all instanes!
"%*%"%* Solution
'll region onfigurations of the two swithes are the sa*e e4ept the region na*e" and no
ser&ie is loaded on the two swithes! Change the region na*e of $with-2 to sol&e the
prole*!
[Switch-]stp region-con$iguration
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
138
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 150/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch--mst-region]region-name vlan101
[Switch--mst-region] active region-con$iguration
"%*%"%) Summary
5y default" $ series swithes use the syste* 'C address as the region na*e! In $TP planning" pay attention to the region na*e and *apping etween @#'Bs and instanes in the
region onfiguration! Changes in the region onfiguration trigger $TP realulation! 'fter
the networ, is stale" onsider the i*pat on ser&ies when hanging the region onfiguration!
"%*%* Case *8 'ac.ets Trigger +oot 'rotection andServices Are Interrupted
"%*%*%1 Symptom and <etwor.ing
Switch-1Switch-2
AAE
s*ot
AAE
s*ot
#
switch
&th5trunk8
<&83+*
<&83+ <&83+
<&83+?
Two $ series swithes and the 'T'+ swith oard for* an $TP ring! The two slots of the
'T'+ swith oard an e onsidered as two swithes that are onneted through A+0D16 ports on the two slots! $wtih-1 is the root ridge and $wtih-2 is the a,up root ridge! In
nor*al situations" A+0D1= of 'T'+ slot< is the lo,ed port! $with-1 and $with-2 ha&e
@P enaled and funtion as gateways of the 'T'+ swithoard! ?hen the two swithes
are faulty" ser&ie traffi sent y the 'T'+ swith oard is interrupted!
$er&ies are te*porarily restored after $wtih-1 is powered off!
"%*%*%! +oot Cause
>n $with-1" root protetion is enaled on ports onneted to $with-2 and 'T'+ slot:! 'fter >F swith with a higher priority is inorretly onneted to the networ," root protetion is
triggered to ta,e effet! 'll ports that ha&e root protetion enaled are lo,ed and ser&ies
are interrupted!
"%*%*%" Identi>cation :ethod
'fter the fault ours" he, the @P state on $with-1 and $with-2! 5oth of the twoswithes are the aster" indiating that @P hearteat pa,et forwarding is faulty!
Bor*ally" @P hearteat pa,ets are forwarded through the +th-Trun, etween the two
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
13:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 151/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
swithes! If the +th-Trun, negotiation fails after the fault ours" $TP reon&erges andhearteat pa,ets are forwarded through the 'T'+ swith oard!
Power on $with-1 ut do not onnet it the the networ,! Che, the onfiguration file of$with-1! The onfiguration file shows that $TP root protetion is enaled on all ports in 7p
state! 'fter reei&ing $TP 5P7s with a higher priority" the ports enter the isarding stateand stop forwarding pa,ets! 5eause $with-1 is restarted" it is un,nown whether $with-1reei&es pa,ets with a higher priority when the fault ours! 'nalye the $TP history
alulation infor*ation of the 'T'+ swith oard!
'ording to the $TP history alulation infor*ation" A+0D1= of 'T'+ slot< reei&es $TP5P7s fro* the de&ie whose 'C address is 000f-e2f8-1d1< and the priority is 0"
triggering $TP realulation!
'iga%it(thernet0&1 8lte->5esi at 011&10& 0"4!*402
Q0;#"*-*$#-2%$ 1* "02; #"*-*$#-*!"d 0 "02; #"*-*$#-*!"d 1*;1*R
'iga%it(thernet0&1: 5esi->/oot at 011&10& 0"4!*402
Q0;000$-e$2-1d1* 0 0;000$-e$2-1d1* 0 0;000$-e$2-1d1* 1*;12R
'iga%it(thernet0&1# /oot->5esi at 011&10& 0"4!*402
Q0; #"*-*$#-2%$ 0000 !:2*;001*-*00-#"* 0 !:2*;001*-*00-#"* 1*;1"R
$TP selets the root ridge aording to the ridge I (the ridge priority and 'C address)!?hen two de&ies ha&e the sa*e ridge priority" the de&ie with a s*aller syste* 'C
address has a s*aller ridge I and a higher priority! ?hen the fault ours" 'T'+ slot<
reei&es $TP 5P7s with a higher priority (0!000f-e2f8-1d1<) than the priority (0!000f-e2f8-28f) of the original root ridge $with-1! 's a result" ports onfigured with $TP root
protetion on $with-1 are lo,ed! @P hearteat pa,ets annot e forwarded etween
$with-1 and $with-2! 5oth the two swithes eo*e the @P *aster and ser&ies are
interrupted!
It is found that 000f-e2f8-1d1< is the syste* 'C address of an >F swith onneted to
A+0D1:! The swith is inorretly onneted to the networ, when the fault ours!
"%*%*%* Solution
isale $TP on ports that are not added to the $TP ring on the 'T'+ swith oard!
"%*%*%) Summary
If a de&ie with a higher priority sends pa,ets to pree*pt to e the root ridge" ser&ies *ay
e interrupted! ?hen onfiguring root protetion to protet the root ridge" onsider the
situation and a&oid it eforehand!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
13<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 152/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
* ++''
*%1 ++'' Overview
*%1%1 3eature Description
apid ing Protetion Protool (PP) is a lin, layer (#ayer 2) protool used to pre&ent
loops on +thernet ring networ,s!
?hen the networ, is o*plete" PP-enaled swithes detet loops on the networ, and lo,
so*e ports to eli*inate loops! ?hen a networ, fault ours" the PP-enaled swithesunlo, the lo,ed ports and swith data traffi to a running lin,!
*%1%1%1 2asic ++'' Concepts
'fter an PP do*ain and P ring are reated" PP assigns different roles to nodes on
the P ring! Bodes on the ring networ, e4hange and proess PP pa,ets through pri*ary and seondary ports to detet the ring networ, status and trans*it infor*ation aout
topology hanges! The nodes lo, or unlo, the ports ased on the ring networ, status!
PP an pre&ent loops when the ring is o*plete" and rapidly swith ser&ie data to the
a,up lin, if a de&ie or lin, fails" ensuring nonstop ser&ie trans*ission!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
13=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 153/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
++'' <etwor. Architecture
Figure 1.1 PP networ,ing
PP do*ain
'n PP do*ain onsists of a group of interonneted swithesDrouters with the sa*e
do*ain I and ontrol @#'B I! The PP do*ain ontains the following entities/*aor ring" su-ring" ontrol @#'B" *aster node" transit node" edge node" assistant edge
node" o**on port" edge port" pri*ary port" and seondary port!
PP ring
' physial PP ring uses an +thernet ring topology! +ah PP ring is a unit of thePP do*ain that it elongs to! 'n PP do*ain o*prises a single ring or *ultiple
interonneted rings! ?hen *ultiple interonneted rings e4ist" one ring is the *aor ring
and the others are su-rings!
Control @#'B
' ontrol @#'B is used to trans*it only PP pa,ets! 'n PP do*ain has two
ontrol @#'Bs/ *aor ontrol @#'B and su-ontrol @#'B!
PP pa,ets on the *aor ring are trans*itted in the *aor ontrol @#'B" and PP
pa,ets on the su-rings are trans*itted in the su-ontrol @#'B!
Bode
+ah swith on an PP ring is a node! Bodes on the PP ring are lassified into
following types/
M aster node
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
190
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 154/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
The *aster node deter*ines how to handle topology hanges! +ah PP ring *ustha&e only one *aster node!
'ny swith on the +thernet ring an ser&e as the *aster node!
M Transit node
>n an PP ring" all nodes e4ept the *aster node are transit nodes! ' transit node*onitors the status of its diretly-onneted lin,s and notifies the *aster node of lin,
hanges!
M +dge node and assistant edge node
>n the lin, where the *aor ring and su-ring o&erlap" if the swith on one
intersetion point is an edge node" the swith on the other intersetion point is anassistant edge node! ' swith ser&es as an edge node or an assistant edge node on the
su-ring" and ser&es as a transit node on the *aor ring!
Port role
M Pri*ary port and seondary port
>n the *aster node and transit nodes" one of the two ports onneted to an +thernetring an e onfigured as the pri*ary port and the other as the seondary port!
The *aster node sends Hello pa,ets fro* its pri*ary port and reei&es Hello
pa,ets on its seondary port! The pri*ary port and seondary port of a transit node
pro&ide the sa*e funtion!
M Co**on port and edge port
>n an edge node or assistant edge node" the port that onnets to oth the *aor ring
and su-ring is the o**on port" and the port that onnets to only the su-ring is theedge port!
Hello Timer and 3ail Timer
?hen PP detets the lin, status on the +thernet ring" the *aster node sends Hello pa,ets
aording to the Hello ti*er and deter*ines whether the seondary port reei&es the Hello pa,ets aording to the %ail ti*er!
The Hello ti*er speifies the inter&al at whih the *aster node sends Hello pa,ets fro*
the pri*ary port! The Hello ti*er &alue ranges fro* 1 to 10" in seonds!
The %ail ti*er speifies the *a4i*u* delay period during whih the pri*ary port sends
a Hello pa,et and the seondary port reei&es the Hello pa,et! The %ail ti*er &alue
ranges fro* 3 to 30" in seonds!
The %ail ti*er on the transit node speifies the ti*e to unlo, the te*porarily lo,ed port!
?hen a lin, eo*es faulty" PP i**ediately sends a #IBJ->?B pa,et to notify the *aster node
of the lin, fault! The *aster node then unlo,s the seondary port! ?hen the lin, reo&ers" the *aster
node sends a C>P#+T+-%#7$H-%5 pa,et to reuest the transit node to unlo, the te*porarily
lo,ed port! This proess is irrele&ant to the &alue range of the Hello and %ail ti*ers!
*%1%1%! ++'' 'ac.ets
PP e*ploys &arious types of pa,ets to i*ple*ent the polling *ehanis* and lin, statehange notifiation *ehanis*" as well as to reuest trans*it nodes to update their port status
and 'C address forwarding entries! PP pa,ets are uniast pa,ets! ifferent pa,ets
arry different destination 'C addresses and ontain identifiation infor*ation suh asdo*ain Is and ring Is!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
191
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 155/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
'ac.et Type
Tale 1!1 lists different types of PP pa,ets!
Table 1.1 Types of PP pa,ets
Type Description
H+'#TH
(H+##>)
Pa,et sent y the *aster node to he, for loops on a networ,!
#IBJ->?B Pa,et sent y a transit node" edge node" or assistant edge node tonotify the *aster node that a port goes own!
C>>B-%#7$H-%5
Pa,et sent y the *aster node to reuest that transit nodes update their 'C address forwarding entries and 'P entries!
C>P#+T+-
%#7$H-%5
Pa,et sent y the *aster node to reuest that transit nodes" edge
nodes" or assistant edge nodes update their 'C address forwardingentries and 'P entries" and enale transit nodes to unlo,te*porarily lo,ed ports of the data @#'B!
+A+-H+##> Pa,et sent y an edge node on a su-ring and reei&ed y an assistantedge node on the sa*e su-ring to he, whether a *aor ring is in
Co*plete state in the do*ain where the su-ring is loated!
'E>-%'7#T Pa,et sent y an assistant edge node on a su-ring to notify the edgenode that a *aor ring in the PP do*ain has failed if the assistant
edge node does not reei&e the +A+-H+##> pa,et fro* the edge
node within a speified period!
*%1%1%" ++'' ;or.ing 'rinciples
'olling :echanism
The polling *ehanis* allows the *aster node to *onitor the ring status and ta,e
orresponding *easures to handle topology hanges through Hello pa,ets! The *aster node
periodially sends Hello pa,ets aording to the &alue of the Hello ti*er and he,s whether
the seondary port reei&es the Hello pa,et within the delay ti*e speified y the %ail ti*er!In this way" the *aster node deter*ines whether to unlo, the seondary port!
Proess of the polling *ehanis*
1! The *aster node periodially sends Hello pa,ets fro* its pri*ary port ased on the
&alue of the Hello ti*er!
2! The Hello pa,et is trans*itted along transit nodes on the ring! Bor*ally" the *aster
node reei&es the Hello pa,et on its seondary port!
M If the *aster node reei&es the Hello pa,et on its seondary port efore the %ailti*er ti*es out" the *aster node onsiders the ring o*plete!
M If the *aster node does not reei&e the Hello pa,et on its seondary port after the
%ail ti*er ti*es out" the *aster node onsiders the ring faulty!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
192
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 156/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
-in. State Change <oti>cation :echanism
The swith that ser&es as the *aster node on the PP ring needs to fast detet status hangeof lin,s on the ring! The *aster node an fast detet faults on its diretly-onneted lin,s! To
enale the *aster node to fast detet faults on non-diretly onneted lin,s" lin, fault
notifiation *ehanis* is i*ple*ented! To enale the *aster node to detet the lin, reo&ery"lin, reo&ery *ehanis* is reuired!
Co*pared with the polling *ehanis*" the lin, state hange notifiation *ehanis* an
detet and handle ring networ, topology hanges faster! The initiator of the *ehanis* is atransit node! ' transit node ,eeps *onitoring the lin, status on its own ports! ?hen the lin,
status on a port eo*es own" the node i**ediately sends a #IBJ->?B pa,et to the
*aster node to infor* the hange! Then" the *aster node deter*ines how to handle thehange! ?hen the lin, status on the port eo*es 7p again" the transit node does not need to
send any pa,et to the *aster node!
'ath Status Detection :echanism 6or Sub#+ing 'rotocol 'ac.ets
on the :aEor +ing
This *ehanis* applies to networ,s where *ultiple su-rings are interseting with the *aor
ring to pre&ent loops a*ong su-rings after seondary ports are unlo,ed!
?hen the o**on lin, etween the *aor ring and su-ring is faulty and *ore than one non-
o**on lin, is faulty" the *aster node on eah su-ring lo,s its seondary port eause itannot reei&e any Hello pa,et on the seondary port! In this ase" roadast loops *ay
our etween su-rings! To pre&ent loops" the path status detetion *ehanis* for su-ring
protool pa,ets on the *aor ring is introdued! The edge node on a su-ring periodially
sends +A+-H+##> pa,ets to the two PP ports on the *aor ring! If the assistant edgenode reei&es the +A+-H+##> pa,ets within the speified period" the protool pa,et path
is nor*al if the assistant edge node reei&es no +A+-H+##> pa,et within the speified
period" the path is disonneted! The assistant edge node then sends a 'E>-%'7#T pa,etto the edge node! 'fter reei&ing the 'E>-%'7#T pa,et" the edge node lo,s its edge
port!
In this way" the edge node wor,s with the assistant edge node and lo,s the edge port efore
the seondary port of the *aster node on the su-ring is unlo,ed to a&oid data loops a*ong
su-rings!
++'' :ulti#Instance
>n a o**on PP networ," a physial ring ontains only one PP do*ain and a physial
ring has only one *aster node! ?hen the *aster node is in Co*plete state" the *aster node
lo,s the seondary port" prohiiting all user pa,ets fro* passing through! Then all user pa,ets are trans*itted on the PP ring along one path! 's a result" the lin, at the seondary
port side of the *aster node eo*es idle" wasting andwidth!
PP *ulti-instane is i*ple*ented y do*ain" allowing one physial ring to ha&e *ultiple
PP do*ains onfigured! In a do*ain" all ports" node roles" and topologies o*ply with
PP rules! Therefore" a physial ring has *ultiple *aster nodes! +ah *aster node
independently detets the o*pleteness of the physial ring and lo,s or unlo,s itsseondary port aordingly! PP do*ains ha&e different proteted @#'Bs onfigured!
PP in a do*ain ta,es effet only for data fro* its proteted @#'Bs! ?hen the *aster node
in a do*ain lo,s its seondary port" data fro* proteted @#'Bs in other do*ains are notaffeted! This i*ple*ents lin, a,up and traffi load alaning!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
193
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 157/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
's shown in %igure 2!1" Instane 1 is reated in o*ain 1" and data of @#'Bs 100 to 200 is*apped to Instane 1 and trans*itted along the path $with '-L$with C-L$with +! aster
2 ($with C) ser&es as the *aster node in o*ain 2! The seondary port on aster 2 is
lo,ed! >nly data in @#'Bs 201 to 900 is prohiited and data in @#'Bs 100 to 200 an pass through! Instane2 is reated in o*ain 2" and data in @#'Bs 201 to 900 is *apped to
Instane2 and trans*itted along the path $with 5-L$with -L$with +! aster 1 ($with) ser&es as the *aster node in o*ain 1! The seondary port on aster 1 is lo,ed! >nly
data in @#'Bs 100 to 200 is prohiited and data in @#'Bs 201 to 900 an pass through!
Figure 2.1 PP *ulti-instane
+ing roup
In PP *ulti-instane" su-rings are grouped to redue the nu*er of reei&ed and sent
+A+-H+##> pa,ets and to i*pro&e syste* perfor*ane!
In the path status detetion *ehanis* for su-ring protool pa,ets on the *aor ring" the
edge node on a su-ring periodially sends +A+-H+##> pa,ets to the two PP ports on
the *aor ring to detet the o*pleteness of the path for su-ring protool pa,ets!
's shown in %igure 2!2" the edge nodes on *ultiple su-rings (su-ring 2 and su-ring 3 in
o*ain 1 su-ring 2 and su-ring 3 in o*ain 2) are the sa*e de&ie" and the assistant edge
nodes on the su-rings are also the sa*e de&ie! In addition" the edge nodes and assistant edgenodes onnet to the *aor ring in the sa*e lin,! The +A+-H+##> pa,ets fro* edge
nodes on the su-rings arri&e at assistant edge nodes along the sa*e path! In this ase" the
su-rings with the sa*e edge nodes and assistant edge nodes an e added to a ring group! 'su-ring in the ring group is seleted to send +A+-H+##> pa,ets to detet the path for
su-ring protool pa,ets on the *aor ring! This redues the nu*er of reei&ed and sent
+A+-H+##> pa,ets and i*pro&es syste* perfor*ane!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
199
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 158/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 2.2 ing group in PP *ulti-instane
*%! Con>guration uide
*%!%1 Scenario 18 Con>guring Single ++'' +ing witha Single Instance
*%!%1%1 <etwor.ing Description
's shown in %igure 1!1" $with'" $with5" $withC" and $with onstitute a ring networ,!
The networ, is reuired to pre&ent loops when the ring is o*plete and i*ple*ent fast
on&ergene to rapidly restore o**uniation etween nodes on the ring when the ring fails!Kou an enale PP on $with'" $with5" $withC" and $with to *eet this reuire*ent!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
196
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 159/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 $ingle PP ring
*%!%1%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure ports to e added to the PP ring on the swithes so that @#'B data an pass through the ports! isale protools that onflit with PP" suh as $TP!
2! Create an PP do*ain and its ontrol @#'B!
3! ap @#'Bs that are allowed on the PP ring to instane 1" inluding data @#'Bs 100
to 300 and ontrol @#'Bs 20 and 21!
9! In the PP do*ain" onfigure a proteted @#'B" reate an PP ring" and onfigure
$with'" $with5" $withC" and $with as nodes on ring 1 in do*ain 1! Configure
$with' as the *aster node on ring 1" and onfigure other swithes as transit nodes!
6! +nale the PP ring and PP protool on the swithes to *a,e PP ta,e effet!
*%!%1%" Con>guration &7ample
Step 1 Create an PP do*ain and its ontrol @#'B!
N Create PP do*ain 1 on $with' (the *aster node on ring 1) and onfigure @#'B
20 as the *aor ontrol @#'B!
<Switch8>system-view
[Swich8] rrpp domain 1
[Swich8-rrpp-domain-region1] control-vlan 0
[Swich8-rrpp-domain-region1] quit
N The onfigurations on $with5" $withC" and $with are si*ilar to that on $with'
and not pro&ided here! %or details" see the onfiguration files!
Step ! ap instane 1 to ontrol @#'B 20 and @#'B 21" and data @#'Bs 100 to 300! The proess
to reate the @#'Bs is not pro&ided here!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
198
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 160/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Swich8] stp region-con$iguration
[Switch8-mst-region] instance 1 vlan 0 1 100 to !00
[Switch8-mst-region] active region-con$iguration
[Switch8-mst-region] quit
N The onfigurations on $with5" $withC" and $with are si*ilar to that on $with'and not pro&ided here! %or details" see the onfiguration files!
Step " Configure the ports to e added to the PP ring as trun, ports" allow data @#'Bs 100 to
300 to pass through the ports" and disale $TP on the ports!
[Switch8] inter$ace giga%itethernet 1&0&1
[Switch8-'iga%it(thernet1&0&1] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&1] port trun) allow-pass vlan 100 to !00
[Switch8-'iga%it(thernet1&0&1] stp disa%le
[Switch8-'iga%it(thernet1&0&1] quit
[Switch8] inter$ace giga%itethernet 1&0&
[Switch8-'iga%it(thernet1&0&] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&] port trun) allow-pass vlan 100 to !00[Switch8-'iga%it(thernet1&0&] stp disa%le
[Switch8-'iga%it(thernet1&0&] quit
N The onfigurations on $with5" $withC" and $with are si*ilar to that on $with'
and not pro&ided here! %or details" see the onfiguration files!
Step * $peify a proteted @#'B" and reate and enale an PP ring!
N Configure the proteted @#'B on $with'" onfigure $with' as the *aster node on
ring 1" and speify the pri*ary and seondary ports!
[Switch8] rrpp domain 1
[Switch8-rrpp-domain-region1] protected-vlan re$erence-instance 1
[Switch8-rrpp-domain-region1] ring 1 node-mode master primary-port
giga%itethernet 1&0&1 secondary-port giga%itethernet 1&0& level 0
[Switch8-rrpp-domain-region1] ring 1 ena%le
[Switch8-rrpp-domain-region1] quit
N Configure the proteted @#'B on $with5" onfigure $with5 as a transit node on
ring 1" and speify the pri*ary and seondary ports!
[Switch3] rrpp domain 1
[Switch3-rrpp-domain-region1] protected-vlan re$erence-instance 1
[Switch3-rrpp-domain-region1] ring 1 node-mode transit primary-port
giga%itethernet 1&0&1 secondary-port giga%itethernet 1&0& level 0
[Switch3-rrpp-domain-region1] ring 1 ena%le
[Switch3-rrpp-domain-region1] quit
N The onfigurations on $withC and $with are si*ilar to that on $with5 and not pro&ided here! %or details" see the onfiguration files!
Step ) +nale PP!
'fter the PP ring onfiguration is o*plete" enale PP on eah node of the ring toati&ate the PP ring! The onfiguration proedure is as follows/
N +nale PP on $with'!
[Switch8] rrpp ena%le
N +nale PP on $with5!
[Switch3] rrpp ena%le
N +nale PP on $withC!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
19:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 161/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch,] rrpp ena%le
N +nale PP on $with!
[Switch5] rrpp ena%le
Step @erify the onfiguration!'fter the preeding onfigurations are o*plete and the networ, eo*es stale" run the
following o**ands to &erify the onfiguration! $with ' is used as an e4a*ple!
M un the display rrpp brie o**and on $with'! The o**and output is as
follows/
<Switch8> display rrpp %rie$
8%%reviations $or Switch ode Bode 4
B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
// Wor)ing Bode4 EW
// Lin)up 5elay 6imer4 0 sec 90 sec de$aultum%er o$ // 5omains4 1
5omain .nde 4 1
,ontrol =L8 4 maFor 0 su% 1
rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2
sec
/ing /ing ode rimary&,ommon Secondary&(dge
.s
.5 Level Bode ort ort
(na%led
---------------------------------------------------------------------------
-----
1 0 B 'iga%it(thernet1&0&1 'iga%it(thernet1&0&
Ges
The o**and output shows that PP is enaled on $with'" the *aor ontrol
@#'B of do*ain 1 is @#'B 20 and the su-ontrol @#'B is @#'B 21" and
$with' is the *aster node on ring 1! The pri*ary port is Aigait+thernet1D0D1 andthe seondary port is Aigait+thernet1D0D2!
M un the display rrpp "erbose do#ain o**and on $with'! The o**and output
is as follows/
N Che, detailed infor*ation aout $with' in do*ain 1!<Switch8> display rrpp ver%ose domain 1
5omain .nde 4 1
,ontrol =L8 4 maFor 0 su% 1
rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2
sec
// /ing 4 1
/ing Level 4 0
ode Bode 4 Baster
/ing State 4 ,omplete
.s (na%led 4 (na%le .s 8ctive 4 Ges
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
19<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 162/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
rimary port 4 'iga%it(thernet1&0&1 ort status4 H
Secondary port 4 'iga%it(thernet1&0& ort status4 3L@,A(5
The o**and output shows that the PP ring is o*plete!
Con>guration 3iles Configuration file of $with'
+
sysname Switch8
+
vlan %atch 0 to 1 100 to !00
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan 0 to 1 100 to !00
active region-con$iguration
+
rrpp domain 1
control-vlan 0
protected-vlan re$erence-instance 1
ring 1 node-mode master primary-port 'iga%it(thernet1&0&1 secondary-port
'iga%it(thernet1&0& level 0
ring 1 ena%le
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 0 to 1 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 0 to 1 100 to !00
stp disa%le
+
Configuration file of $with5
+
sysname Switch3
+
vlan %atch 0 to 1 100 to !00
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan 0 to 1 100 to !00
active region-con$iguration
+
rrpp domain 1
control-vlan 0
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&1 secondary-port
'iga%it(thernet1&0& level 0
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
19=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 163/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
ring 1 ena%le
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 0 to 1 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 0 to 1 100 to !00
stp disa%le
+
Configuration file of $withC
+
sysname Switch,
+
vlan %atch 0 to 1 100 to !00
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan 0 to 1 100 to !00
active region-con$iguration
+
rrpp domain 1
control-vlan 0
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&1 secondary-port
'iga%it(thernet1&0& level 0
ring 1 ena%le
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 0 to 1 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
undo port trun) allow-pass vlan 1 port trun) allow-pass vlan 0 to 1 100 to !00
stp disa%le
+
Configuration file of $with
+
sysname Switch5
+
vlan %atch 0 to 1 100 to !00
+
rrpp ena%le
+
stp region-con$iguration
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
160
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 164/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
instance 1 vlan 0 to 1 100 to !00
active region-con$iguration
+
rrpp domain 1
control-vlan 0
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&1 secondary-port
'iga%it(thernet1&0& level 0
ring 1 ena%le
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 0 to 1 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun) undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 0 to 1 100 to !00
stp disa%le
+
*%!%! Scenario !8 Con>guring Intersecting ++''+ings with a Single Instance
*%!%!%1 <etwor.ing Description
' *etro +thernet networ, uses a two-layer struture/ one is the aggregation layer etween
aggregation swithes P+-'AAs and the other is the aess layer etween P+-'AAs and7P+s!
Figure 1.1 Interseting PP rings with a single instane
's shown in %igure 1!1" the networ, is reuired to pre&ent loops when the ring is o*plete
and i*ple*ent fast on&ergene to rapidly restore o**uniation etween nodes on the ring
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
161
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 165/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
when the ring fails! PP an *eet this reuire*ent! PP supports *ultiple rings! In thise4a*ple" onfigure the aggregation layer as the *aor ring and the aess layer as the su-
ring" whih si*plifies the networ, onfiguration!
%igure 1!2 is the si*plified networ,ing diagra* of %igure 1!1! $with5" $with'" $with"
and $withC *ap P+-'AA1" P+-'AA2" P+-'AA3" and 7P+1 respeti&ely! %igure 1!2 isused as an e4a*ple to desrie how to onfigure interseting PP rings with a singleinstane!
Figure 1.2 Interseting PP rings with a single instane
*%!%!%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Create an PP do*ain and its ontrol @#'B!
2! ap the @#'Bs that need to pass through the PP ring to instane 1" inluding data
@#'Bs 2 to = and ontrol @#'Bs 10 and 11 (@#'B 11 is the su-ontrol @#'Bgenerated y the swith)!
3! Configure the swithes to wor, in PP *ode defined y Huawei!
9! Configure ports to e added to the PP ring on the swithes so that @#'B data an
pass through the ports! isale protools that onflit with PP" suh as $TP!
6! Configure a proteted @#'B and reate an PP ring in the PP do*ain!
M Configure ring 1 (*aor ring) in do*ain 1 on $with'" $with5" and $with!
M Configure ring 2 (su-ring) in do*ain 1 on $with'" $withC" and $with!
M Configure $with5 as the *aster node on the *aor ring and onfigure $with' and
$with as transit nodes on the *aor ring!
M Configure $withC as the *aster node on the su-ring" onfigure $with' as the
edge node on the su-ring" and onfigure $with as the assistant edge node on the
su-ring!
8! +nale the PP ring and PP protool on the swithes to *a,e PP ta,e effet!
@#'Bs that are not *entioned in this e4a*ple are onsidered none4istent! Howe&er" swith ports oin
@#'B 1 y default! Kou need to re*o&e orresponding ports fro* @#'B 1!
*%!%!%" Con>guration &7ample
Step 1 Configure $with5 as the *aster node on the *aor ring!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
162
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 166/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
N Create data @#'Bs 2 to = on $with5!
<Switch> system-view
[Switch] sysname Switch3
[Switch3] vlan %atch to
N Configure instane 1" and *ap it to the data @#'Bs and ontrol @#'Bs allowed ythe PP ports!
[Switch3] stp region-con$iguration
[Switch3-mst-region] instance 1 vlan to 11
[Switch3-mst-region] active region-con$iguration
[Switch3-mst-region] quit
N Configure do*ain 1 on $with5! Then onfigure @#'B 10 as the *aor ontrol@#'B and ind instane 1 to the proteted @#'B in do*ain 1!
[Switch3] rrpp domain 1
[Switch3-rrpp-domain-region1] control-vlan 10
[Switch3-rrpp-domain-region1] protected-vlan re$erence-instance 1
[Switch3-rrpp-domain-region1] quitN Configure the ports to e added to the PP ring as trun, ports" allow @#'Bs 2 to = to pass through the ports" and disale $TP on the ports!
[Switch3] inter$ace giga%itethernet &0&1
[Switch3-'iga%it(thernet&0&1] port lin)-type trun)
[Switch3-'iga%it(thernet&0&1] port trun) allow-pass vlan to
[Switch3-'iga%it(thernet&0&1] stp disa%le
[Switch3-'iga%it(thernet&0&1] quit
[Switch3] inter$ace giga$itethernet &0&
[Switch3-'iga%it(thernet&0&] port lin)-type trun)
[Switch3-'iga%it(thernet&0&] port trun) allow-pass vlan to
[Switch3-'iga%it(thernet&0&] stp disa%le
[Switch3-'iga%it(thernet&0&] quit
N Configure the pri*ary and seondary ports on the *aster node of the *aor ring!
[Switch3] rrpp domain 1
[Switch3-rrpp-domain-region1] ring 1 node-mode master primary-port
giga%itethernet &0&1 secondary-port giga%itethernet &0& level 0
[Switch3-rrpp-domain-region1] ring 1 ena%le
[Switch3-rrpp-domain-region1] quit
Step ! Configure $withC as the *aster node on the su-ring!
N Create data @#'Bs 2 to = on $withC!
<Switch> system-view
[Switch] sysname &*itchC[Switch,] vlan %atch to
N Configure instane 1" and *ap it to the data @#'Bs and ontrol @#'Bs allowed ythe PP ports!
[Switch,] stp region-con$iguration
[Switch,-mst-region] instance 1 vlan to 11
[Switch,-mst-region] active region-con$iguration
[Switch,-mst-region] quit
N Configure do*ain 1 on $withC! Then onfigure @#'B 10 as the *aor ontrol@#'B and ind instane 1 to the proteted @#'B in do*ain 1!
[Switch,] rrpp domain 1
[Switch,-rrpp-domain-region1] control-vlan 10
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
163
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 167/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch,-rrpp-domain-region1] protected-vlan re$erence-instance 1
[Switch,-rrpp-domain-region1] quit
N Configure the ports to e added to the PP ring as trun, ports" allow @#'Bs 2 to = to pass through the ports" and disale $TP on the ports!
[Switch,] inter$ace giga$itethernet 1&0&1[Switch,-'iga%it(thernet1&0&1] port lin)-type trun)
[Switch,-'iga%it(thernet1&0&1] port trun) allow-pass vlan to
[Switch,-'iga%it(thernet1&0&1] stp disa%le
[Switch,-'iga%it(thernet1&0&1] quit
[Switch,] inter$ace giga$itethernet 1&0&
[Switch,-'iga%it(thernet1&0&] port lin)-type trun)
[Switch,-'iga%it(thernet1&0&] port trun) allow-pass vlan to
[Switch,-'iga%it(thernet1&0&] stp disa%le
[Switch,-'iga%it(thernet1&0&] quit
N Configure the pri*ary and seondary ports on the *aster node of the su-ring!
[Switch,] rrpp domain 1
[Switch,-rrpp-domain-region1] ring node-mode master primary-port
giga$itethernet 1&0&1 secondary-port giga$itethernet 1&0& level 1
[Switch,-rrpp-domain-region1] ring ena%le
[Switch,-rrpp-domain-region1] quit
Step " Configure $with' as the transit node on the *aor ring and the edge node on the su-ring!
N Create data @#'Bs 2 to = on $with'!
<Switch> system-view
[Switch] sysname Switch8
[Switch8] vlan %atch to
N Configure instane 1" and *ap it to the data @#'Bs and ontrol @#'Bs allowed y
the PP ports![Switch8] stp region-con$iguration
[Switch8-mst-region] instance 1 vlan to 11
[Switch8-mst-region] active region-con$iguration
[Switch8-mst-region] quit
N Configure do*ain 1 on $with'! Then onfigure @#'B 10 as the *aor ontrol
@#'B and ind instane 1 to the proteted @#'B in do*ain 1!
[Switch8] rrpp domain 1
[Switch8-rrpp-domain-region1] control-vlan 10
[Switch8-rrpp-domain-region1] protected-vlan re$erence-instance 1
[Switch8-rrpp-domain-region1] quit
N Configure the ports to e added to the PP ring as trun, ports" allow @#'Bs 2 to = to pass through the ports" and disale $TP on the ports!
[Switch8] inter$ace giga$itethernet 1&0&1
[Switch8-'iga%it(thernet1&0&1] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&1] port trun) allow-pass vlan to
[Switch8-'iga%it(thernet1&0&1] stp disa%le
[Switch8-'iga%it(thernet1&0&1] quit
[Switch8] inter$ace giga$itethernet 1&0&
[Switch8-'iga%it(thernet1&0&] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&] port trun) allow-pass vlan to
[Switch8-'iga%it(thernet1&0&] stp disa%le
[Switch8-'iga%it(thernet1&0&] quit
[Switch8] inter$ace giga$itethernet 1&0&!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
169
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 168/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch8-'iga%it(thernet1&0&!] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&!] port trun) allow-pass vlan to
[Switch8-'iga%it(thernet1&0&!] stp disa%le
[Switch8-'iga%it(thernet1&0&!] quit
N Configure the pri*ary and seondary ports on the transit node of the *aor ring![Switch8] rrpp domain 1
[Switch8-rrpp-domain-region1] ring 1 node-mode transit primary-port
giga$itethernet 1&0& secondary-port giga$itethernet 1&0&1 level 0
[Switch8-rrpp-domain-region1] ring 1 ena%le
[Switch8-rrpp-domain-region1] quit
N Configure the o**on and edge ports of the edge node on the su-ring!
[Switch8] rrpp domain 1
[Switch8-rrpp-domain-region1] ring node-mode edge common-port
giga$itethernet 1&0& edge-port giga$itethernet 1&0&!
[Switch8-rrpp-domain-region1] ring ena%le
[Switch8-rrpp-domain-region1] quit
Step * Configure $with as the transit node on the *aor ring and the assistant edge node on the
su-ring!
N Create data @#'Bs 2 to = on $with!
<Switch> system-view
[Switch] sysname &*itch%
[Switch5] vlan %atch to
N Configure instane 1" and *ap it to the data @#'Bs and ontrol @#'Bs allowed y
the PP ports!
[Switch5] stp region-con$iguration
[Switch5-mst-region] instance 1 vlan to 11
[Switch5-mst-region] active region-con$iguration
[Switch5-mst-region] quit
N Configure do*ain 1 on $with! Then onfigure @#'B 10 as the *aor ontrol
@#'B and ind instane 1 to the proteted @#'B in do*ain 1!
[Switch5] rrpp domain 1
[Switch5-rrpp-domain-region1] control-vlan 10
[Switch5-rrpp-domain-region1] protected-vlan re$erence-instance 1
[Switch5-rrpp-domain-region1] quit
N Configure the ports to e added to the PP ring as trun, ports" allow @#'Bs 2 to = to
pass through the ports" and disale $TP on the ports!
[Switch5] inter$ace giga$itethernet 1&0&1
[Switch5-'iga%it(thernet1&0&1] port lin)-type trun)
[Switch5-'iga%it(thernet1&0&1] port trun) allow-pass vlan to
[Switch5-'iga%it(thernet1&0&1] stp disa%le
[Switch5-'iga%it(thernet1&0&1] quit
[Switch5] inter$ace giga$itethernet 1&0&
[Switch5-'iga%it(thernet1&0&] port lin)-type trun)
[Switch5-'iga%it(thernet1&0&] port trun) allow-pass vlan to
[Switch5-'iga%it(thernet1&0&] stp disa%le
[Switch5-'iga%it(thernet1&0&] quit
[Switch5] inter$ace giga$itethernet 1&0&!
[Switch5-'iga%it(thernet1&0&!] port lin)-type trun)
[Switch5-'iga%it(thernet1&0&!] port trun) allow-pass vlan to
[Switch5-'iga%it(thernet1&0&!] stp disa%le
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
166
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 169/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch5-'iga%it(thernet1&0&!] quit
N Configure the pri*ary and seondary ports on the transit node of the *aor ring!
[Switch5] rrpp domain 1
[Switch5-rrpp-domain-region1] ring 1 node-mode transit primary-port
giga$itethernet 1&0& secondary-port giga$itethernet 1&0&1 level 0[Switch5-rrpp-domain-region1] ring 1 ena%le
[Switch5-rrpp-domain-region1] quit
N Configure the o**on and edge ports on the assistant edge node of the su-ring!
[Switch5] rrpp domain 1
[Switch5-rrpp-domain-region1] ring node-mode assistant-edge common-port
giga$itethernet 1&0& edge-port giga$itethernet 1&0&!
[Switch5-rrpp-domain-region1] ring ena%le
[Switch5-rrpp-domain-region1] quit
Step ) +nale PP!
'fter the PP ring onfiguration is o*plete" enale PP on eah node of the ring toati&ate the PP ring!
N +nale PP on $with'!
[Switch8] rrpp ena%le
N The onfigurations on $with5" $withC" and $with are si*ilar to that on $with'
and not pro&ided here! %or details" see the onfiguration files!
Step @erify the onfiguration!
'fter the preeding onfigurations are o*plete and the networ, eo*es stale" run the
following o**ands to &erify the onfiguration!
M un the display rrpp brie o**and on $with5! The o**and output is as
follows/<Switch3> display rrpp %rie$
8%%reviations $or Switch ode Bode 4
B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
// Wor)ing Bode4
// Lin)up 5elay 6imer4 0 sec 90 sec de$ault
um%er o$ // 5omains4 1
5omain .nde 4 1
,ontrol =L8 4 maFor 10 su% 11
rotected =L8 4 /e$erence .nstance 1Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2
sec
/ing /ing ode rimary&,ommon Secondary&(dge
.s
.5 Level Bode ort ort
(na%led
---------------------------------------------------------------------------
1 0 B 'iga%it(thernet&0&1 'iga%it(thernet&0&
Ges
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
168
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 170/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
The o**and output shows that PP is enaled on $with5" the *aor ontrol@#'B is @#'B 10 and the su-ontrol @#'B is @#'B 11" and $with5 is the
*aster node on the *aor ring" with A+2D0D1 as the pri*ary port and A+2D0D2 as the
seondary port!
M un the display rrpp "erbose do#ain o**and on $with5! The o**and outputis as follows/
<Switch3> display rrpp ver%ose domain 1
5omain .nde 4 1
,ontrol =L8 4 maor 10 su$ 11
rotected =L8 4 /e$erence .nstance 1
ello Timer " 1 sec4default is 1 sec5 ,ail Timer " 6 sec4default is 6
sec5
// /ing 4 1
/ing Level 4 0
ode Bode 4 7aster
/ing State 4 ,omplete.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet&0&1 ort status4 H
Secondary port 4 'iga%it(thernet&0& ort status4 3L@,A(5
The o**and output shows that the ring is in Co*plete state" and the seondary port
on the *aster node is lo,ed!
M un the display rrpp brie o**and on $withC! The o**and output is as
follows/
<Switch,> display rrpp %rie$
8%%reviations $or Switch ode Bode 4
B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
// Wor)ing Bode4 EW
!! 8inkup %elay Timer" 0 sec 40 sec default5
um%er o$ // 5omains4 1
5omain .nde 4 1
,ontrol =L8 4 maFor 10 su% 11
rotected =L8 4 /e$erence .nstance 1
ello Timer " 1 sec4default is 1 sec5 ,ail Timer " 6 sec4default is 6
sec5
/ing /ing ode rimary&,ommon Secondary&(dge
.s
.5 Level Bode ort ort(na%led
---------------------------------------------------------------------------
-----
1 7 'iga%it(thernet&0&1 'iga%it(thernet&0&
Ges
The o**and output shows that PP is enaled on $withC" the *aor ontrol
@#'B is @#'B 10 and the su-ontrol @#'B is @#'B 11" and $withC is the*aster node on the su-ring" with A+1D0D1 as the pri*ary port and A+1D0D2 as the
seondary port!
M un the display rrpp "erbose do#ain o**and on $withC! The o**and output
is as follows/
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
16:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 171/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
<Switch,> display rrpp ver%ose domain 1
5omain .nde 4 1
,ontrol =L8 4 maFor 10 su% 11
rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2
sec
// /ing 4
/ing Level 4 1
ode Bode 4 Baster
/ing State 4 ,omplete
.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet&0&1 ort status4 H
Secondary port 4 'iga%it(thernet&0& ort status4 3L@,A(5
The o**and output shows that the su-ring is in Co*plete state" and the seondary
port of the *aster node on the su-ring is lo,ed!
M
un the display rrpp brie o**and on $with'! The o**and output is asfollows/
<Switch8> display rrpp %rie$
8%%reviations $or Switch ode Bode 4
B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
// Wor)ing Bode4 EW
// Lin)up 5elay 6imer4 0 sec 90 sec de$ault
um%er o$ // 5omains4 1
5omain .nde 4 1
,ontrol =L8 4 maFor 10 su% 11
rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2
sec
/ing /ing ode rimary&,ommon Secondary&(dge
.s
.5 Level Bode ort ort
(na%led
---------------------------------------------------------------------------
-----
1 0 6 'iga%it(thernet1&0& 'iga%it(thernet1&0&1
Ges
1 ( 'iga%it(thernet1&0& 'iga%it(thernet1&0&!
Ges
The o**and output shows that PP is enaled on $with'" the *aor ontrol
@#'B is @#'B 10 and the su-ontrol @#'B is @#'B 11" and $with' is thetransit node on the *aor ring 1" with A+1D0D2 as the pri*ary port and A+1D0D1 as the
seondary port! $with' is also the edge node on su-ring 2" with A+1D0D2 as the
o**on port and A+1D0D3 as the edge port!
M un the display rrpp "erbose do#ain o**and on $with'! The o**and output
is as follows/
<Switch8> display rrpp ver%ose domain 1
5omain .nde 4 1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
16<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 172/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
,ontrol =L8 4 maFor 10 su% 11
rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2
sec
// /ing 4 1
/ing Level 4 0
ode Bode 4 6ransit
/ing State 4 Lin)up
.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet1&0& ort status4 H
Secondary port4 'iga%it(thernet1&0&1 ort status4 H
// /ing 4
/ing Level 4 1
ode Bode 4 (dge
/ing State 4 Lin)up
.s (na%led 4 (na%le .s 8ctive 4 Ges,ommon port 4 'iga%it(thernet1&0& ort status4 H
(dge port 4 'iga%it(thernet1&0&! ort status4 H
M un the display rrpp brie o**and on $with! The o**and output is as
follows/
<Switch5> display rrpp %rie$
8%%reviations $or Switch ode Bode 4
B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
// Wor)ing Bode4 EW
// Lin)up 5elay 6imer4 0 sec 90 sec de$ault
um%er o$ // 5omains4 1
5omain .nde 4 1
,ontrol =L8 4 maFor 10 su% 11
rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2
sec
/ing /ing ode rimary&,ommon Secondary&(dge
.s
.5 Level Bode ort ort
(na%led
---------------------------------------------------------------------------
-----
1 0 6 'iga%it(thernet1&0& 'iga%it(thernet1&0&1
Ges
1 8 'iga%it(thernet1&0& 'iga%it(thernet1&0&!
Ges
The o**and output shows that PP is enaled on $with" the *aor ontrol
@#'B is @#'B 10 and the su-ontrol @#'B is @#'B 11" and $with is thetransit node on the *aor ring 1" with A+1D0D2 as the pri*ary port and A+1D0D1 as the
seondary port! $with is also the assistant edge node on su-ring 2" with A+1D0D2
as the o**on port and A+1D0D3 as the edge port!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
16=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 173/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
M un the display rrpp "erbose do#ain o**and on $with! The o**and outputis as follows/
<Switch5> display rrpp ver%ose domain 1
5omain .nde 4 1
,ontrol =L8 4 maFor 10 su% 11rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2
sec
// /ing 4 1
/ing Level 4 0
ode Bode 4 6ransit
/ing State 4 Lin)up
.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet1&0& ort status4 H
Secondary port4 'iga%it(thernet1&0&1 ort status4 H
// /ing 4
/ing Level 4 1
ode Bode 4 8ssistant-edge
/ing State 4 Lin)up
.s (na%led 4 (na%le .s 8ctive 4 Ges
,ommon port 4 'iga%it(thernet1&0& ort status4 H
(dge port 4 'iga%it(thernet1&0&! ort status4 H
Con>guration 3iles
Configuration file of $with'
+
sysname Switch8
+
vlan %atch to 11
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan to 11
active region-con$iguration
+
rrpp domain 1
control-vlan 10
protected-vlan re$erence-instance 1 ring 1 node-mode transit primary-port 'iga%it(thernet1&0& secondary-port
'iga%it(thernet1&0&1 level 0
ring 1 ena%le
ring node-mode edge common-port 'iga%it(thernet1&0& edge-port
'iga%it(thernet1&0&!
ring ena%le
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan to 11
stp disa%le
+
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
180
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 174/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan to 11
stp disa%le
+
inter$ace 'iga%it(thernet1&0&!
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan to 11
stp disa%le
+
return
Configuration file of $with5
+
sysname Switch3
+
vlan %atch to 11
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan to 11
active region-con$iguration
+
rrpp domain 1
control-vlan 10
protected-vlan re$erence-instance 1
ring 1 node-mode master primary-port 'iga%it(thernet&0&1 secondary-port
'iga%it(thernet&0& level 0
ring 1 ena%le
+
inter$ace 'iga%it(thernet&0&1
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan to 11
stp disa%le
+
inter$ace 'iga%it(thernet&0&
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan to 11 stp disa%le
+
return
Configuration file of $withC
+
sysname Switch,
+
vlan %atch to 11
+
rrpp ena%le
+
stp region-con$iguration
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
181
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 175/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
instance 1 vlan to 11
active region-con$iguration
+
rrpp domain 1
control-vlan 10
protected-vlan re$erence-instance 1
ring node-mode master primary-port 'iga%it(thernet1&0&1 secondary-port
'iga%it(thernet1&0& level 1
ring ena%le
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan to 11
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun) undo port trun) allow-pass vlan 1
port trun) allow-pass vlan to 11
stp disa%le
+
return
Configuration file of $with
+
sysname Switch5
+
vlan %atch to 11
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan to 11
active region-con$iguration
+
rrpp domain 1
control-vlan 10
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet1&0& secondary-port
'iga%it(thernet1&0&1 level 0
ring 1 ena%le
ring node-mode assistant-edge common-port 'iga%it(thernet1&0& edge-port'iga%it(thernet1&0&!
ring ena%le
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan to 11
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan to 11
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
182
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 176/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
stp disa%le
+
inter$ace 'iga%it(thernet1&0&!
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan to 11
stp disa%le
+
return
*%!%" Scenario "8 Con>guring Intersecting ++''+ings with :ultiple Instances
*%!%"%1 <etwor.ing Description
's shown in %igure 1!1" idle lin,s on the ring networ, are reuired to forward data! In this
way" data in different @#'Bs are forwarded along different paths" i*pro&ing networ, usageeffiieny and i*ple*enting load alaning! 'll the swithes on the networ, are Huawei
de&ies therefore" the PP &ersion defined y Huawei is used!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
183
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 177/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 Interseting PP rings with *ultiple instanes
Tale 1!1 lists the *appings etween proteted @#'Bs and instanes in o*ain 1 and
o*ain 2!
Table 1.1 appings etween proteted @#'Bs and instanes!
DomainID
Control ?-A< Data ?-A< Instance
o*ain 1 @#'B 6 and @#'B 8 @#'Bs 100 to 200 Instane 1
o*ain 2 @#'B 10 and @#'B 11 @#'Bs 201 to 300 Instane 2
Tale 1!2 lists the *aster node on eah ring" and the pri*ary and seondary ports on eah
*aster node!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
189
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 178/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Table 1.2 aster node and its pri*ary and seondary ports
+ing ID :aster<ode
'rimary'ort
Secondary'ort
+ing Type
ing 1 ino*ain 1
P+-'AA A+1D0D0 A+2D0D0 aor ring
ing 1 in
o*ain 2
P+-'AA A+2D0D0 A+1D0D0 aor ring
ing 2 in
o*ain 1
C+1 A+1D0D0 A+2D0D0 $u-ring
ing 2 in
o*ain 2
C+1 A+2D0D0 A+1D0D0 $u-ring
ing 3 ino*ain 1
C+2 A+1D0D0 A+2D0D0 $u-ring
ing 3 in
o*ain 2
C+2 A+2D0D0 A+1D0D0 $u-ring
Tale 1!3 lists the edge nodes" assistant edge nodes" o**on and edge ports of the su-rings!
Table 1.3 +dge nodes" assistant edge nodes" o**on port" and edge ports of the su-rings
+ing ID &dge<ode
Common 'ort
&dge'ort
&dge#Assistant
<ode
Common 'ort
&dge'ort
ing 2 in
o*ain 1
7P+ 5 A+1D0D0 A+3D0D0 7P+ C A+2D0D0 A+3D0D0
ing 3 in
o*ain 1
7P+ 5 A+1D0D0 A+3D0D1 7P+ C A+2D0D0 A+3D0D1
ing 2 in
o*ain 2
7P+ 5 A+1D0D0 A+3D0D0 7P+ C A+2D0D0 A+3D0D0
ing 3 in
o*ain 2
7P+ 5 A+1D0D0 A+3D0D1 7P+ C A+2D0D0 A+3D0D1
*%!%"%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Create different PP do*ains and ontrol @#'Bs!
2! ap the @#'Bs that need to pass through o*ain 1 to instane 1" inluding data@#'Bs and ontrol @#'Bs!
3! ap the @#'Bs that need to pass through o*ain 2 to instane 2" inluding data@#'Bs and ontrol @#'Bs!
9! Configure ports to e added to the PP ring on the swithes so that @#'B data an
pass through the ports! isale protools that onflit with PP" suh as $TP!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
186
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 179/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
6! Configure the swithes to wor, in PP *ode defined y Huawei!
8! Configure proteted @#'Bs and reate PP rings in PP do*ains!
M 'dd 7P+'" 7P+5" 7P+C" 7P+" and P+-'AA to ring 1 in o*ain 1 and ring 1 ino*ain 2!
M 'dd C+ 1" 7P+5" and 7P+C to ring 2 in o*ain 1 and ring 2 in o*ain 2!
M 'dd C+ 2" 7P+5" and 7P+C to ring 3 in o*ain 1 and ring 3 in o*ain 2!
M Configure P+-'AA as the *aster node and onfigure 7P+'" 7P+5" 7P+C" and
7P+ as transit nodes on ring 1 in o*ain 1 and ring 1 in o*ain 2!
M Configure C+ 1 as the *aster node" 7P+5 as an edge node" and 7P+C as an assistant
edge node on ring 2 in o*ain 1 and ring 2 in o*ain 2!
M Configure C+ 2 as the *aster node" 7P+5 as an edge node" and 7P+C as an assistant
edge node on ring 3 in o*ain 1 and ring 3 in o*ain 2!
:! To pre&ent topology flapping" set the #in,7p ti*er on the *aster nodes!
<! To redue the nu*er of +A+-H+##> pa,ets sent on the *aor ring and inrease
a&ailale andwidth" add the four su-rings to a ring group!=! +nale the PP ring and PP protool on the swithes to *a,e PP ta,e effet!
@#'Bs that are not *entioned in this e4a*ple are onsidered none4istent! Howe&er" swith ports oin@#'B 1 y default! Kou need to re*o&e orresponding ports fro* @#'B 1!
*%!%"%" Con>guration &7ample
Step 1 Create instanes!
N Create data @#'Bs 100 to 300 on C+ 1!
<Switch> system-view
[Switch] sysname ,(1
[,(1] vlan %atch 100 to !00
N Create instane 1" and *ap the ontrol @#'Bs 6 and 8" and data @#'Bs 100 to 200 in
o*ain 1 to instane 1!
[,(1] stp region-con$iguration
[,(1-mst-region] instance 1 vlan # 2 100 to 00
N Create instane 2" and *ap the ontrol @#'Bs 10 and 11 and data @#'Bs 201 to 300
in o*ain 2 to instane 2!
[,(1-mst-region] instance vlan 10 11 01 to !00
N 'ti&ate the onfiguration!
[,(1-mst-region] active region-con$iguration[,(1-mst-region] quit
N The onfigurations on C+ 2" 7P+'" 7P+5" 7P+C" 7P+" and P+-'AA are si*ilar to
that on C+ 1 and not pro&ided here! %or details" see the onfiguration files!
Step ! Configure the ports to e added to the PP rings!
N Configure the PP ports as trun, ports to allow data fro* @#'Bs 100 to 300 to pass
through and disale $TP on the ports to e added to the PP rings!
[,(1] inter$ace giga$itethernet 1&0&0
[,(1-'iga%it(thernet1&0&0] port lin)-type trun)
[,(1-'iga%it(thernet1&0&0] port trun) allow-pass vlan 100 to !00
[,(1-'iga%it(thernet1&0&0] stp disa%le
[,(1-'iga%it(thernet1&0&0] quit
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
188
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 180/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[,(1] inter$ace giga$itethernet &0&0
[,(1-'iga%it(thernet&0&0] port lin)-type trun)
[,(1-'iga%it(thernet&0&0] port trun) allow-pass vlan 100 to !00
[,(1-'iga%it(thernet&0&0] stp disa%le
[,(1-'iga%it(thernet&0&0] quit
N The onfigurations on C+ 2" 7P+'" 7P+5" 7P+C" 7P+" and P+-'AA are si*ilar tothat on C+ 1 and not pro&ided here! %or details" see the onfiguration files!
Step " Create PP do*ains and onfigure proteted @#'Bs and ontrol @#'Bs!
N Configure the @#'Bs *apped to instane 1 as the proteted @#'Bs in o*ain 1" and@#'B 6 as the ontrol @#'B!
[,(1] rrpp domain 1
[,(1-rrpp-domain-region1] protected-vlan re$erence-instance 1
[,(1-rrpp-domain-region1] control-vlan #
[,(1-rrpp-domain-region1] quit
N Configure the @#'Bs *apped to instane 2 as the proteted @#'Bs in o*ain 2" and
@#'B 10 as the ontrol @#'B!
[,(1] rrpp domain 2
[,(1-rrpp-domain-region] protected-vlan re$erence-instance
[,(1-rrpp-domain-region] control-vlan 10
[,(1-rrpp-domain-region] quit
N The onfigurations on C+ 2" 7P+'" 7P+5" 7P+C" 7P+" and P+-'AA are si*ilar to
that on C+ 1 and not pro&ided here! %or details" see the onfiguration files!
Step * Create PP rings!
N Configure P+-'AA as the *aster node on ring 1 in o*ain 1" with A+1D0D0 as the
pri*ary port and A+2D0D0 as the seondary port!
[(-8''] rrpp domain 1
[(-8''-rrpp-domain-region1] ring 1 node-mode master primary-port
giga$itethernet 1&0&0 secondary-port giga$itethernet &0&0 level 0
[(-8''-rrpp-domain-region1] ring 1 ena%le
[(-8''-rrpp-domain-region1] quit
N Configure P+-'AA as the *aster node on ring 1 in o*ain 2" with A+2D0D0 as the
pri*ary port and A+1D0D0 as the seondary port!
[(-8''] rrpp domain 2
[(-8''-rrpp-domain-region] ring 1 node-mode master primary-port
giga$itethernet &0&0 secondary-port giga$itethernet 1&0&0 level 0
[(-8''-rrpp-domain-region] ring 1 ena%le
[(-8''-rrpp-domain-region] quitN Configure 7P+' as a transit node on ring 1 in o*ain 1 and speify its pri*ary and
seondary ports!
[H(8] rrpp domain 1
[H(8-rrpp-domain-region1] ring 1 node-mode transit primary-port
giga$itethernet 1&0&0 secondary-port giga$itethernet &0&0 level 0
[H(8-rrpp-domain-region1] ring 1 ena%le
[H(8-rrpp-domain-region1] quit
N Configure 7P+' as a transit node on ring 1 in o*ain 2 and speify its pri*ary and
seondary ports!
[H(8] rrpp domain 2
[H(8-rrpp-domain-region] ring 1 node-mode transit primary-portgiga$itethernet 1&0&0 secondary-port giga$itethernet &0&0 level 0
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
18:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 181/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[H(8-rrpp-domain-region] ring 1 ena%le
[H(8-rrpp-domain-region] quit
N Configure 7P+ as a transit node on ring 1 in o*ain 1 and speify its pri*ary andseondary ports!
[H(5] rrpp domain 1[H(5-rrpp-domain-region1] ring 1 node-mode transit primary-port
giga$itethernet 1&0&0 secondary-port giga$itethernet &0&0 level 0
[H(5-rrpp-domain-region1] ring 1 ena%le
[H(5-rrpp-domain-region1] quit
N Configure 7P+ as a transit node on ring 1 in o*ain 2 and speify its pri*ary andseondary ports!
[H(5] rrpp domain
[H(5-rrpp-domain-region] ring 1 node-mode transit primary-port
giga$itethernet 1&0&0 secondary-port giga$itethernet &0&0 level 0
[H(5-rrpp-domain-region] ring 1 ena%le
[H(5-rrpp-domain-region] quit
N Configure 7P+5 as a transit node on ring 1 in o*ain 1 and speify its pri*ary and
seondary ports!
[H(3] rrpp domain 1
[H(3-rrpp-domain-region1] ring 1 node-mode transit primary-port
giga$itethernet 1&0&0 secondary-port giga$itethernet &0&0 level 0
[H(3-rrpp-domain-region1] ring 1 ena%le
[H(3-rrpp-domain-region1] quit
N Configure 7P+5 as a transit node on ring 1 in o*ain 2 and speify its pri*ary and
seondary ports!
[H(3] rrpp domain
[H(3-rrpp-domain-region] ring 1 node-mode transit primary-port
giga$itethernet 1&0&0 secondary-port giga$itethernet &0&0 level 0
[H(3-rrpp-domain-region] ring 1 ena%le
[H(3-rrpp-domain-region] quit
N Configure 7P+5 as an edge node on ring 2 in o*ain 1" with A+1D0D0 as the o**on
port and A+3D0D0 as the edge port!
[H(3] rrpp domain 1
[H(3-rrpp-domain-region1] ring node-mode edge common-port giga$itethernet
1&0&0 edge-port giga$itethernet !&0&0
[H(3-rrpp-domain-region1] ring ena%le
[H(3-rrpp-domain-region1] quit
N Configure 7P+5 as an edge node on ring 2 in o*ain 2" with A+1D0D0 as the o**on
port and A+3D0D0 as the edge port![H(3] rrpp domain
[H(3-rrpp-domain-region] ring node-mode edge common-port giga$itethernet
1&0&0 edge-port giga$itethernet !&0&0
[H(3-rrpp-domain-region] ring ena%le
[H(3-rrpp-domain-region] quit
N Configure 7P+5 as an edge node on ring 3 in o*ain 1" with A+1D1D0 as the o**on
port and A+3D0D0 as the edge port!
[H(3] rrpp domain 1
[H(3-rrpp-domain-region1] ring ! node-mode edge common-port giga$itethernet
1&0&0 edge-port giga$itethernet !&0&1
[H(3-rrpp-domain-region1] ring ! ena%le
[H(3-rrpp-domain-region1] quit
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
18<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 182/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
N Configure 7P+5 as an edge node on ring 3 in o*ain 2" with A+1D1D0 as the o**on port and A+3D0D0 as the edge port!
[H(3] rrpp domain
[H(3-rrpp-domain-region] ring ! node-mode edge common-port giga$itethernet
1&0&0 edge-portgiga$itethernet
!&0&1[H(3-rrpp-domain-region] ring ! ena%le
[H(3-rrpp-domain-region] quit
N Configure 7P+C as a transit node on ring 1 in o*ain 1 and speify its pri*ary and
seondary ports!
[H(,] rrpp domain 1
[H(,-rrpp-domain-region1] ring 1 node-mode transit primary-port
giga$itethernet 1&0&0 secondary-port giga$itethernet &0&0 level 0
[H(,-rrpp-domain-region1] ring 1 ena%le
[H(,-rrpp-domain-region1] quit
N Configure 7P+C as a transit node on ring 1 in o*ain 2 and speify its pri*ary and
seondary ports!
[H(,] rrpp domain
[H(,-rrpp-domain-region] ring 1 node-mode transit primary-port
giga$itethernet 1&0&0 secondary-port giga$itethernet &0&0 level 0
[H(,-rrpp-domain-region] ring 1 ena%le
[H(,-rrpp-domain-region] quit
N Configure 7P+C as an assistant edge node on ring 2 in o*ain 1" with A+2D0D0 as the
o**on port and A+3D0D0 as the edge port!
[H(,] rrpp domain 1
[H(,-rrpp-domain-region1] ring node-mode assistant-edge common-port
giga$itethernet &0&0 edge-port giga$itethernet !&0&0
[H(,-rrpp-domain-region1] ring ena%le
[H(,-rrpp-domain-region1] quit
N Configure 7P+C as an assistant edge node on ring 2 in o*ain 2" with A+2D0D0 as the
o**on port and A+3D0D0 as the edge port!
[H(,] rrpp domain
[H(,-rrpp-domain-region] ring node-mode assistant-edge common-port
giga$itethernet &0&0 edge-port giga$itethernet !&0&0
[H(,-rrpp-domain-region] ring ena%le
[H(,-rrpp-domain-region] quit
N Configure 7P+C as an assistant edge node on ring 3 in o*ain 1" with A+2D0D0 as the
o**on port and A+3D0D1 as the edge port!
[H(,] rrpp domain 1
[H(,-rrpp-domain-region1] ring ! node-mode assistant-edge common-portgiga$itethernet &0&0 edge-port giga$itethernet !&0&1
[H(,-rrpp-domain-region1] ring ! ena%le
[H(,-rrpp-domain-region1] quit
N Configure 7P+C as an assistant edge node on ring 3 in o*ain 2" with A+2D0D0 as theo**on port and A+3D0D1 as the edge port!
[H(,] rrpp domain
[H(,-rrpp-domain-region] ring ! node-mode assistant-edge common-port
giga$itethernet &0&0 edge-port giga$itethernet !&0&1
[H(,-rrpp-domain-region] ring ! ena%le
[H(,-rrpp-domain-region] quit
N Configure C+ 1 as the *aster node on ring 2 in o*ain 1" with A+1D0D0 as the pri*ary port and A+2D0D0 as the seondary port!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
18=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 183/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[,(1] rrpp domain 1
[,(1-rrpp-domain-region1] ring node-mode master primary-port giga$itethernet
1&0&0 secondary-port giga$itethernet &0&0 level 1
[,(1-rrpp-domain-region1] ring ena%le
[,(1-rrpp-domain-region1] quit
N Configure C+ 1 as the *aster node on ring 2 in o*ain 2" with A+2D0D0 as the pri*ary port and A+1D0D0 as the seondary port!
[,(1] rrpp domain
[,(1-rrpp-domain-region] ring node-mode master primary-port giga$itethernet
&0&0 secondary-port giga$itethernet 1&0&0 level 1
[,(1-rrpp-domain-region] ring ena%le
[,(1-rrpp-domain-region] quit
N Configure C+ 2 as the *aster node on ring 3 in o*ain 1" with A+1D0D0 as the pri*ary
port and A+2D0D0 as the seondary port!
[,(] rrpp domain 1
[,(-rrpp-domain-region1] ring ! node-mode master primary-port giga$itethernet
1&0&0 secondary-port giga$itethernet &0&0 level 1
[,(-rrpp-domain-region1] ring ! ena%le
[,(-rrpp-domain-region1] quit
N Configure C+ 2 as the *aster node on ring 3 in o*ain 2" with A+2D0D0 as the pri*ary
port and A+1D0D0 as the seondary port!
[,(] rrpp domain
[,(-rrpp-domain-region] ring ! node-mode master primary-port giga$itethernet
&0&0 secondary-port giga$itethernet 1&0&0 level 1
[,(-rrpp-domain-region] ring ! ena%le
[,(-rrpp-domain-region] quit
Step ) +nale PP!
'fter the PP ring onfiguration is o*plete" enale PP on eah node of the ring to
ati&ate the PP ring! The onfiguration proedure is as follows/
N +nale PP!
[,(1] rrpp ena%le
N The onfigurations on C+ 2" 7P+'" 7P+5" 7P+C" 7P+" and P+-'AA are si*ilar to
that on C+ 1 and not pro&ided here! %or details" see the onfiguration files!
Step Configure ring groups!
N Create ring group 1" whih onsists of four su-rings/ ring 2 in o*ain 1" ring 3 in
o*ain 1" ring 2 in o*ain 2" and ring 3 in o*ain 2!
[H(,] rrpp ring-group 1
[H(,-rrpp-ring-group1] domain 1 ring to !
[H(,-rrpp-ring-group1] domain ring to !
[H(,-rrpp-ring-group1] quit
N Create ring group 1" whih onsists of four su-rings/ ring 2 in o*ain 1" ring 3 in
o*ain 1" ring 2 in o*ain 2" and ring 3 in o*ain 2!
[H(3] rrpp ring-group 1
[H(3-rrpp-ring-group1] domain 1 ring to !
[H(3-rrpp-ring-group1] domain ring to !
[H(3-rrpp-ring-group1] quit
Step ( $et the #in,7p ti*er!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1:0
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 184/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
N $et the #in,7p ti*er to 1 seond!
[,(1] rrpp lin)up-delay-timer 1
N $et the #in,7p ti*er to 1 seond!
[,(] rrpp lin)up-delay-timer 1
N $et the #in,7p ti*er to 1 seond!
[(-8''] rrpp lin)up-delay-timer 1
Step , @erify the onfiguration!
'fter the preeding onfigurations are o*plete and the networ, eo*es stale" run thefollowing o**ands to &erify the onfiguration! 7P+5 and P+-'AA are used as
e4a*ples!
un the display rrpp brie o**and on 7P+5! The o**and output is as follows/
[H(3] display rrpp %rie$
8%%reviations $or Switch ode Bode 4
B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
// Wor)ing Bode4 EW
// Lin)up 5elay 6imer4 0 sec 90 sec de$ault
um%er o$ // 5omains4
5omain .nde 4 1
,ontrol =L8 4 maFor # su% 2
rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
/ing /ing ode rimary&,ommon Secondary&(dge .s
.5 Level Bode ort ort
(na%led
------------------------------------------------------------------------------
--
1 0 6 'iga%it(thernet1&0&0 'iga%it(thernet&0&0 Ges
1 ( 'iga%it(thernet1&0&0 'iga%it(thernet!&0&0 Ges
! 1 ( 'iga%it(thernet1&0&0 'iga%it(thernet!&0&1 Ges
5omain .nde 4
,ontrol =L8 4 maFor 10 su% 11
rotected =L84 /e$erence .nstance
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec /ing /ing ode rimary&,ommon Secondary&(dge .s
.5 Level Bode ort ort
(na%led
------------------------------------------------------------------------------
--
1 0 6 'iga%it(thernet1&0&0 'iga%it(thernet&0&0 Ges
1 ( 'iga%it(thernet1&0&0 'iga%it(thernet!&0&0 Ges
! 1 ( 'iga%it(thernet1&0&0 'iga%it(thernet!&0&1 Ges
The o**and output shows that PP is enaled on 7P+5!
In o*ain 1/
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1:1
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 185/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
The *aor ontrol @#'B is @#'B 6 and the proteted @#'Bs are the @#'Bs *appedto instane 1!
M 7P+5 is a transit node on ring 1" with the pri*ary port A+1D0D0 and seondary port
A+2D0D0!
M 7P+5 is an edge node on ring 2" with the o**on port A+1D0D0 and edge portA+3D0D0!
M 7P+5 is an edge node on ring 3" with the o**on port A+1D0D0 and edge portA+3D0D1!
In o*ain 2/
The *aor ontrol @#'B is @#'B 10 and the proteted @#'Bs are the @#'Bs *apped
to instane 2!
1! 7P+5 is a transit node on ring 1" with the pri*ary port A+1D0D0 and seondary port
A+2D0D0!
M 7P+5 is an edge node on ring 2" with the o**on port A+1D0D0 and edge portA+3D0D0!
M 7P+5 is an edge node on ring 3" with the o**on port A+1D0D0 and edge port
A+3D0D1!
un the display rrpp brie o**and on P+-'AA! The o**and output is as follows/
[(-8''] display rrpp %rie$
8%%reviations $or Switch ode Bode 4
B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
// Wor)ing Bode4 EW
!! Lin)up 5elay 6imer4 1 sec 90 sec de$ault
um%er o$ !! 5omains4
5omain .nde 4 1
,ontrol =L8 4 maFor # su% 2
rotected =L8 4 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
/ing /ing ode rimary&,ommon Secondary&(dge .s
.5 Level Bode ort ort (na%led
--------------------------------------------------------------------------------
1 0 B 'iga%it(thernet1&0&0 'iga%it(thernet&0&0 Ges
5omain .nde 4
,ontrol =L8 4 maFor 10 su% 11
rotected =L84 /e$erence .nstance
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
/ing /ing ode rimary&,ommon Secondary&(dge .s
.5 Level Bode ort ort (na%led
--------------------------------------------------------------------------------
1 0 B 'iga%it(thernet&0&0 'iga%it(thernet1&0&0 Ges
The o**and output shows that PP is enaled on P+-'AA" and the #in,7p ti*er is 2
seonds!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1:2
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 186/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
In o*ain 1" the *aor ontrol @#'B is @#'B 6 and the proteted @#'Bs are the @#'Bs*apped to instane 1! P+-'AA is the *aster node on ring 1" with the pri*ary port A+1D0D0
and seondary port A+2D0D0!
In o*ain 2" the *aor ontrol @#'B is @#'B 10" the proteted @#'Bs are the @#'Bs
*apped to instane 2! P+-'AA is the *aster node on ring 1" with the pri*ary port A+2D0D0and seondary port A+1D0D0!
un the display rrpp "erbose do#ain o**and on 7P+5! The o**and output is as
follows/
N Che, detailed infor*ation aout 7P+5 in o*ain 1!
[H(3] display rrpp ver%ose domain 1
5omain .nde 4 1
,ontrol =L8 4 maFor # su% 2
rotected =L84 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
// /ing 4 1
/ing Level 4 0
ode Bode 4 6ransit
/ing State 4 Lin)Hp
.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet1&0&0 ort status4 H
Secondary port4 'iga%it(thernet&0&0 ort status4 H
// /ing 4
/ing Level 4 1
ode Bode 4 (dge
/ing State 4 Lin)Hp
.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet1&0&0 ort status4 H
Secondary port4 'iga%it(thernet!&0&0 ort status4 H
// /ing 4 !
/ing Level 4 1
ode Bode 4 (dge
/ing State 4 Lin)Hp
.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet1&0&0 ort status4 H
Secondary port4 'iga%it(thernet"&0&0 ort status4 H
The o**and output shows that the ontrol @#'B in o*ain 1 is @#'B 6" and the
proteted @#'Bs are the @#'Bs *apping instane 1!
7P+5 is a transit node on ring 1 in o*ain 1 and is in #in,7p state!
7P+5 is an edge node on ring 2 in o*ain 1 and is in #in,7p state! A+1D0D0 is the o**on
port and A+3D0D0 is the edge port!
7P+5 is an edge node on ring 3 in o*ain 1 and is in #in,7p state! A+1D0D0 is the o**on
port and A+3D0D1 is the edge port!
N Che, detailed infor*ation aout 7P+5 in o*ain 2!
<H(3> display rrpp ver%ose domain
5omain .nde 4
,ontrol =L8 4 maFor 10 su% 11
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1:3
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 187/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
rotected =L84 /e$erence .nstance
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
// /ing 4 1
/ing Level 4 0
ode Bode 4 6ransit
/ing State 4 Lin)Hp
.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet1&0&0 ort status4 H
Secondary port4 'iga%it(thernet&0&0 ort status4 H
// /ing 4
/ing Level 4 1
ode Bode 4 (dge
/ing State 4 Lin)Hp
.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet1&0&0 ort status4 H
Secondary port4 'iga%it(thernet!&0&0 ort status4 H
// /ing 4 !
/ing Level 4 1
ode Bode 4 (dge
/ing State 4 Lin)Hp
.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet1&0&0 ort status4 H
Secondary port4 'iga%it(thernet"&0&0 ort status4 H
The o**and output shows that the ontrol @#'B in o*ain 2 is @#'B 10" and the
proteted @#'Bs are the @#'Bs *apping instane 2!
7P+5 is a transit node on ring 1 in o*ain 2 and is in #in,7p state!
7P+5 is an edge node on ring 2 in o*ain 2 and is in #in,7p state! A+1D0D0 is the o**on
port and A+3D0D0 is the edge port!
7P+5 is an edge node on ring 3 in o*ain 2 and is in #in,7p state! A+1D0D0 is the o**on port and A+3D0D1 is the edge port!
un the display rrpp "erbose do#ain o**and on P+-'AA! The o**and output is asfollows/
N Che, detailed infor*ation aout P+-'AA in o*ain 1!
[(-8''] display rrpp ver%ose domain 1
5omain .nde 4 1,ontrol =L8 4 maFor # su% 2
rotected =L84 /e$erence .nstance 1
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
// /ing 4 1
/ing Level 4 0
ode Bode 4 Baster
/ing State 4 ,omplete
.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet1&0&0 ort status4 H
Secondary port4 'iga%it(thernet&0&0 ort status4 3L@,A(5
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1:9
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 188/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
The o**and output shows that the ontrol @#'B in o*ain 1 is @#'B 6" and the proteted @#'Bs are the @#'Bs *apping instane 1!
P+-'AA is the *aster node in o*ain 1 and is in Co*plete state!
A+1D0D0 is the pri*ary port and A+2D0D0 is the seondary port!N Che, detailed infor*ation aout P+-'AA in o*ain 2!
[(-8''] display rrpp ver%ose domain
5omain .nde 4
,ontrol =L8 4 maFor 10 su% 11
rotected =L84 /e$erence .nstance
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
// /ing 4 1
/ing Level 4 0
ode Bode 4 Baster
/ing State 4 ,omplete.s (na%led 4 (na%le .s 8ctive 4 Ges
rimary port 4 'iga%it(thernet&0&0 ort status4 H
Secondary port4 'iga%it(thernet1&0&0 ort status4 3L@,A(5
The o**and output shows that the ontrol @#'B in o*ain 2 is @#'B 10" and the proteted @#'Bs are the @#'Bs *apping instane 2!
P+-'AA is the *aster node in o*ain 2 and is in Co*plete state!
A+2D0D0 is the pri*ary port and A+1D0D0 is the seondary port!
un the display rrpp ring-group o**and on 7P+5 to he, the onfiguration of the ringgroup!
N Che, the onfiguration of ring group 1!
[H(3] display rrpp ring-group 1
/ing 'roup 14
domain 1 ring to !
domain ring to !
domain 1 ring send (dge-Eello pac)et
Con>guration 3iles
Configuration file of C+ 1
+
sysname ,(1
+
vlan %atch # to 2 10 to 11 100 to !00
+
rrpp ena%le
rrpp lin)up-delay-timer 1
+
stp region-con$iguration
instance 1 vlan # to 2 100 to 00
instance vlan 10 to 11 01 to !00
active region-con$iguration
+
rrpp domain 1 control-vlan #
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1:6
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 189/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
protected-vlan re$erence-instance 1
ring node-mode master primary-port 'iga%it(thernet1&0&0 secondary-port
'iga%it(thernet&0&0 level 1
ring ena%le
rrpp domain
control-vlan 10
protected-vlan re$erence-instance
ring node-mode master primary-port 'iga%it(thernet&0&0 secondary-port
'iga%it(thernet1&0&0 level 1
ring ena%le
+
inter$ace 'iga%it(thernet1&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 2 11 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet&0&0 port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 2 11 100 to !00
stp disa%le
+
return
Configuration file of C+ 2
+
sysname ,(
+
vlan %atch # to 2 10 to 11 100 to !00
+
rrpp ena%le
rrpp lin)up-delay-timer 1
+
stp region-con$iguration
instance 1 vlan # to 2 100 to 00
instance vlan 10 to 11 01 to !00
active region-con$iguration
+
rrpp domain 1
control-vlan #
protected-vlan re$erence-instance 1
ring ! node-mode master primary-port 'iga%it(thernet1&0&0 secondary-port'iga%it(thernet&0&0 level 1
ring ! ena%le
rrpp domain
control-vlan 10
protected-vlan re$erence-instance
ring ! node-mode master primary-port 'iga%it(thernet&0&0 secondary-port
'iga%it(thernet1&0&0 level 1
ring ! ena%le
+
inter$ace 'iga%it(thernet1&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 2 11 100 to !00
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1:8
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 190/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
stp disa%le
+
inter$ace 'iga%it(thernet&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 2 11 100 to !00
stp disa%le
+
return
Configuration file of 7P+'
+
sysname H(8
+
vlan %atch # to 2 10 to 11 100 to !00
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan # to 2 100 to 00
instance vlan 10 to 11 01 to !00
active region-con$iguration
+
rrpp domain 1
control-vlan #
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&0 secondary-port
'iga%it(thernet&0&0 level 0
ring 1 ena%le
rrpp domain
control-vlan 10
protected-vlan re$erence-instance
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&0 secondary-port
'iga%it(thernet&0&0 level 0
ring 1 ena%le
+
inter$ace 'iga%it(thernet1&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan # to 2 10 to 11 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet&0&0 port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan # to 2 10 to 11 100 to !00
stp disa%le
+
return
Configuration file of 7P+5
+
sysname H(3
+
vlan %atch # to 2 10 to 11 100 to !00
+
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1::
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 191/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan # to 2 100 to 00
instance vlan 10 to 11 01 to !00
active region-con$iguration
+
rrpp domain 1
control-vlan #
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&0 secondary-port
'iga%it(thernet&0&0 level 0
ring 1 ena%le
ring node-mode edge common-port 'iga%it(thernet1&0&0 edge-port
'iga%it(thernet!&0&0
ring ena%le
ring ! node-mode edge common-port 'iga%it(thernet1&0&0 edge-port
'iga%it(thernet!&0&1 ring ! ena%le
rrpp domain
control-vlan 10
protected-vlan re$erence-instance
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&0 secondary-port
'iga%it(thernet&0&0 level 0
ring 1 ena%le
ring node-mode edge common-port 'iga%it(thernet1&0&0 edge-port
'iga%it(thernet!&0&0
ring ena%le
ring ! node-mode edge common-port 'iga%it(thernet1&0&0 edge-port
'iga%it(thernet!&0&1
ring ! ena%le
+
rrpp ring-group 1
domain 1 ring to !
domain ring to !
+
inter$ace 'iga%it(thernet1&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan # to 2 10 to 11 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan # to 2 10 to 11 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet!&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 2 11 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet!&0&1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1:<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 192/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 2 11 100 to !00
stp disa%le
+
return
Configuration file of 7P+C
+
sysname H(,
+
vlan %atch # to 2 10 to 11 100 to !00
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan # to 2 100 to 00
instance vlan 10 to 11 01 to !00
active region-con$iguration
+
rrpp domain 1
control-vlan #
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&0 secondary-port
'iga%it(thernet&0&0 level 0
ring 1 ena%le
ring node-mode assistant-edge common-port 'iga%it(thernet&0&0 edge-port
'iga%it(thernet!&0&0
ring ena%le
ring ! node-mode assistant-edge common-port 'iga%it(thernet&0&0 edge-port
'iga%it(thernet!&0&1
ring ! ena%le
rrpp domain
control-vlan 10
protected-vlan re$erence-instance
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&0 secondary-port
'iga%it(thernet&0&0 level 0
ring 1 ena%le
ring node-mode assistant-edge common-port 'iga%it(thernet&0&0 edge-port
'iga%it(thernet!&0&0
ring ena%le
ring ! node-mode assistant-edge common-port 'iga%it(thernet&0&0 edge-port
'iga%it(thernet!&0&1 ring ! ena%le
+
rrpp ring-group 1
domain 1 ring to !
domain ring to !
+
inter$ace 'iga%it(thernet1&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan # to 2 10 to 11 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet&0&0
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1:=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 193/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan # to 2 10 to 11 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet!&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 2 11 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet!&0&1
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan 2 11 100 to !00
stp disa%le
+
return
Configuration file of the 7P+
+
sysname H(5
+
vlan %atch # to 2 10 to 11 100 to !00
+
rrpp ena%le
+
stp region-con$iguration
instance 1 vlan # to 2 100 to 00
instance vlan 10 to 11 01 to !00
active region-con$iguration
+
rrpp domain 1
control-vlan #
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&0 secondary-port
'iga%it(thernet&0&0 level 0
ring 1 ena%le
rrpp domain
control-vlan 10
protected-vlan re$erence-instance
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&0 secondary-port
'iga%it(thernet&0&0 level 0 ring 1 ena%le
+
inter$ace 'iga%it(thernet1&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan # to 2 10 to 11 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan # to 2 10 to 11 100 to !00
stp disa%le
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<0
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 194/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
+
return
Configuration file of P+-'AA
+
sysname (-8''+
vlan %atch # to 2 10 to 11 100 to !00
+
rrpp ena%le
rrpp lin)up-delay-timer 1
+
stp region-con$iguration
instance 1 vlan # to 2 100 to 00
instance vlan 10 to 11 01 to !00
active region-con$iguration
+
rrpp domain 1
control-vlan #
protected-vlan re$erence-instance 1
ring 1 node-mode master primary-port 'iga%it(thernet1&0&0 secondary-port
'iga%it(thernet&0&0 level 0
ring 1 ena%le
rrpp domain
control-vlan 10
protected-vlan re$erence-instance
ring 1 node-mode master primary-port 'iga%it(thernet&0&0 secondary-port
'iga%it(thernet1&0&0 level 0
ring 1 ena%le
+
inter$ace 'iga%it(thernet1&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan # to 2 10 to 11 100 to !00
stp disa%le
+
inter$ace 'iga%it(thernet&0&0
port lin)-type trun)
undo port trun) allow-pass vlan 1
port trun) allow-pass vlan # to 2 10 to 11 100 to !00
stp disa%le
+
return
*%!%* Deployment 'recautions
*%!%*%1 Chec. that All Switches on the ++'' +ing Have theSame ;or.ing :ode
0es!ription; 'll nodes on the PP ring *ust ha&e the sa*e wor,ing *ode onfigured!
They an wor, in either the PP *ode defined y Huawei or the PP *ode defined yinternational standards!
oot !ause; If nodes on the PP ring wor, in different PP *odes" transit nodes annot
identify the C>>B-%#7$H-%5 and C>P#+T+-%#7$H-%5 pa,ets! 's a result"
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<1
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 195/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
the transit nodes fail to update their 'C address forwarding entries and 'P entries when alin, fails or a faulty lin, reo&ers! Traffi forwarding is therefore affeted!
dentii!ation #ethod/ un the display rrpp brie do#ain 'do#ain-id( o**and tohe, wor,ing *odes of all nodes on the PP ring!
olution/ If de&ies fro* different &endors are used on the networ," onfigure the de&ies towor, in the PP *ode defined y international standards! If only Huawei de&ies are used
on the networ," onfigure the de&ies to wor, in the PP *ode defined y Huawei!
ersions in"ol"ed/ 'll &ersions
*%!%*%! Suppression o6 5n.nown 5nicast TraBc Cannot 2eCon>gured on Transmit <odes o6 the ++' +ing
0es!ription; $uppression of un,nown uniast traffi annot e onfigured on pri*ary andseondary ports of trans*it nodes on the PP ring otherwise" a networ, loop *ay our!
oot !ause; PP pa,ets *ay e disarded when the un,nown uniast pa,ets on thenetwor, are of a large a*ount" whih auses the *aster node on the PP ring unale to
reei&e the Hello pa,ets! If the *aster node reei&es no Hello pa,et on its seondary port" it
unlo,s the seondary port" ausing a loop!
dentii!ation #ethod/ un the display !urrent-!oniguration intera!e o**and to he,
whether suppression of un,nown uniast traffi is onfigured on pri*ary and seondary ports
of all trans*it nodes!
olution/ o not onfigure suppression of un,nown uniast traffi on pri*ary and seondary
ports of trans*it nodes on the PP ring!
ersions in"ol"ed/ 'll &ersions
*%!%*%" -DTF-2DT and ++'' Cannot 2e Con>guredSimultaneously on the Same 'ort
0es!ription; #TD#5T and PP annot e onfigured si*ultaneously on the sa*e port
otherwise" a loop *ay our!
oot !ause; The port that has een lo,ed y PP an still forward #TD#5T pa,ets!
?hen the PP ring is o*plete" #TD#5T pa,ets ause a networ, loop" resulting in
roadast stor*s!
dentii!ation #ethod/ un the display !urrent-!oniguration intera!e o**and to he,
whether #TD#5T is enaled on pri*ary and seondary ports of all nodes!
olution/ o not onfigure #TD#5T on pri*ary and seondary ports on the PP ring!
ersions in"ol"ed/ 'll &ersions
*%" Troubleshooting
*%"%1 Troubleshooting Overview
PP is onfigured during networ, deploy*ent! oles of PP nodes and ports on the ring
are onfigured y the user rather than otained through auto*ati alulation! Therefore"
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<2
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 196/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
PP *ust e orretly onfigured! Inorret PP onfiguration *ay ause a te*poraryloop or status errors!
*%"%! An ++'' Temporary -oop Occurs
*%"%!%1 3ault Description
If PP is inorretly onfigured" a loop *ay our" ausing roadast stor*s! The o**onauses are as follows/
PP is not onfigured on a ertain de&ie and ports on the ring are not added to the
ontrol @#'B! 's a result" PP pa,ets annot pass through the de&ie" and the
seondary port of the *aster node annot reei&e the Hello pa,et! The *aster nodeunlo,s the seondary port" ausing a loop!
The *aster node is not onfigured on the ring! In this ase" all nodes on the PP ring
are onfigured as transit nodes! 'll ports are unlo,ed" ausing a loop!
The proteted @#'B is inorretly onfigured! $o*e @#'Bs are allowed y ports onthe PP ring! Howe&er" proteted @#'Bs referened y the instane do not inlude
these @#'Bs! ata fro* these @#'Bs annot e *anaged y PP" ausing a loop!
?hen PP snooping is enaled" the trust 8*21p o**and is not onfigured on
orresponding ports! If the trust 8*21p o**and is not onfigured on ports that trans*it
PP pa,ets" PP pa,ets are trans*itted with other data pa,ets! ?hen there is alarge nu*er of pa,ets to e trans*itted" PP pa,ets *ay e disarded" and Hello
pa,ets *ay not reah the seondary port of the *aster node in a ti*ely *anner! The
*aster node then unlo,s the seondary port" ausing a loop!
*%"%!%! Troubleshooting +oadmap
1! Che, whether PP is orretly onfigured on all nodes!
2! Che, whether the &alues of %ail ti*ers are set the sa*e on nodes of the PP ring!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<3
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 197/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
*%"%!%" Troubleshooting 3lowchart
Figure 1.1 Trouleshooting flowhart
*%"%!%* Troubleshooting 'rocedure
Step 1 Che, whether PP is orretly onfigured on all nodes!
un the display !urrent-!oniguration !oniguration rrpp-do#ain-region o**and
to he, whether PP onfigurations are orret" and run the display stp region-
!oniguration o**and to he, whether PP *ulti-instane is onfigured and
whether so*e data @#'Bs are not onfigured as proteted @#'Bs!
+ display current-con$iguration con$iguration rrpp-domain-region
[Switch] display current-con$iguration con$iguration rrpp-domain-region
+
rrpp domain 1
control-vlan 10#
protected-vlan re$erence-instance 1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<9
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 198/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&1 secondary-port
'iga%it(thernet1&0& level 0
ring 1 ena%le
+
return
[Switch]
+ display stp region-con$iguration
[Switch] display stp region-con$iguration
@per con$iguration
?ormat selector 40
/egion name 4:0:%e*c*00e
/evision level 40
.nstance =L8s Bapped
0 1 to "0"
[Switch]
un the display "lan 'vlan-id ( o**and to he, whether ports of de&ies on the
PP ring that are not enaled with PP allow the ontrol @#'B! If the de&ies are ona *aor ring" he, whether the ports allow the *aor ontrol @#'B if the de&ies areon a su-ring" he, whether the ports allow su-ontrol @#'B!
[Switch] display vlan 10#
------------------------------------------------------------------------------
--
H4 HpT 54 5ownT 6'4 6aggedT H64 HntaggedT
B4 =lan-mappingT S64 =lan-stac)ingT
+4 rotocol6ransparent-vlanT U4 Banagement-vlanT
------------------------------------------------------------------------------
--
=.5 6ype orts
------------------------------------------------------------------------------
--
000 common 6'4'(0&0&19H '(0&0&!9H
=.5 Status roperty B8,-L/ Statistics 5escription
------------------------------------------------------------------------------
--
000 ena%le de$ault ena%le disa%le =L8 000
[Switch]
If a @P#$ networ, is on the PP ring" he, whether PP snooping is enaled and
whether the trust 8*21p o**and is onfigured on orresponding ports! Kou an run the
display rrpp snooping enable+"si o**and to he, ports that ha&e PP snoopingenaled" @$Is" and @#'Bs! If PP snooping is not enaled" he, the reasons and
deploy PP snooping aording to atual situations!
[Switch] display rrpp snooping ena%le all
ort =siame =lan
---------------------------------------------------------------------------
[Cuidway]
un the display rrpp brie do#ain 'do#ain id( and display rrpp "erbose do#ain
'do#ain id( ring 'ring id( o**ands to he, urrent PP status!
+ display rrpp %rie$ domain <domain id>
< Switch> display rrpp %rie$
8%%reviations $or Switch ode Bode 4
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<6
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 199/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
um%er o$ // 5omains4 1
5omain .nde 4 1
,ontrol =L8 4 maFor 001 su% 00
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 ! sec9de$ault is ! sec
/ing /ing ode rimary&,ommon Secondary&(dge .s
.5 Level Bode ort ort (na%led
----------------------------------------------------------------------------
1 0 B (th-6run)0 (th-6run)1 Ges
< Switch>
+ display rrpp ver%ose domain <domain id> ring <ring id>
< Switch> display rrpp ver%ose domain 1 ring 1
5omain .nde 4 1,ontrol =L8 4 maFor 001 su% 00
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 ! sec9de$ault is ! sec
// /ing 4 1
/ing Level 4 0
ode Bode 4 Baster
/ing State 4 ,omplete
.s (na%led 4 (na%le .s 8ctive4 Ges
rimary port 4 (th-6run)0 ort status4 H
Secondary port 4 (th-6run)1 ort status4 3L@,A(5
< Switch>
Step ! Che, whether the &alues of %ail ti*ers on nodes of the PP ring are the sa*e!
un the display rrpp brie do#ain 'do#ain-id( and display rrpp "erbose do#ain
'do#ain-id( ring 'ring-id( o**ands to he, whether &alues of %ail ti*ers on all
nodes are the sa*e!
+ display rrpp %rie$ domain <domain id>
<Cuidway> display rrpp %rie$
8%%reviations $or Switch ode Bode 4
B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
um%er o$ // 5omains4 1
5omain .nde 4 1
,ontrol =L8 4 maFor 001 su% 00
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 ! sec9de$ault is ! sec
/ing /ing ode rimary&,ommon Secondary&(dge .s
.5 Level Bode ort ort (na%led
----------------------------------------------------------------------------
1 0 B (th-6run)0 (th-6run)1 Ges
<Cuidway>
+ display rrpp ver%ose domain <domain id> ring <ring id>
<Cuidway> display rrpp ver%ose domain 1 ring 1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<8
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 200/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
5omain .nde 4 1
,ontrol =L8 4 maFor 001 su% 00
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 ! sec9de$ault is ! sec
// /ing 4 1
/ing Level 4 0
ode Bode 4 Baster
/ing State 4 ,omplete
.s (na%led 4 (na%le .s 8ctive4 Ges
rimary port 4 (th-6run)0 ort status4 H
Secondary port 4 (th-6run)1 ort status4 3L@,A(5
<Cuidway>
*%"%" In6ormation Collection
If the fault annot e loated" ollet the following infor*ation! If non-Huawei de&ies are
in&ol&ed" ollet infor*ation aording to the o**and referene! %or *ethods of olletingswith logs and diagnosis logs" see hapter =$with #ogs and iagnosis #ogs!
*%"%"%1 <etwor. Topology
Collet networ, topology infor*ation inluding de&ie na*es" syste* 'C addresses" andna*es of onneted interfaes!
*%"%"%! display Command -ist
Command Description
display &ersion isplays &ersion infor*ation!
display de&ie isplays de&ie status!
display path-infor*ation isplays path infor*ation!
display pu-usage Oslot slot-id LQ isplays CP7 usage!
display *e*ory-usage Oslot slot-id LQ isplays *e*ory usage!
display urrent-onfiguration isplays the de&ie onfiguration!
display interfae isplays traffi on all ports e&ery 6 *inutesor twie!
display rrpp rief Odo*ain domain-id LQ isplays rief infor*ation aout PPdo*ains!
display rrpp &erose do*ain domain-id L
Oring ring-idLQ
isplays detailed infor*ation aout PP
do*ains!
display rrpp statistis do*aindomain-id LOring ring-idLQ
isplays statistis infor*ation aout PPdo*ains!
display loguffer isplays infor*ation in the log uffer!
display trapuffer isplays infor*ation in the trap uffer!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 201/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Command Description
reset rrpp statistis do*ain domain-id L
Oring ring-idLQ
Clears statistis on PP pa,ets!
*%* Troubleshooting Cases
*%*%1 Switch 'orts Goin ?-A< 1 by De6ault% ?-A< 1 Is<ot Con>gured as 'rotected ?-A< ;hen ++'' :ulti#Instance Is Con>gured Causing an ++'' Temporary-oop
*%*%1%1 Symptom and <etwor.ing
Figure 1.1 Betwor,ing diagra*
's shown in %igure 1!1" $with '" $with 5" $with C" and $with onstitute an PPring! ata fro* @#'Bs 10 and 20 is proteted on the PP ring! @#'B 10 and @#'B 20are added to instane 1! The proteted @#'Bs are onfigured to referene instane 1! $with
ports oin @#'B 1 y default" ausing data fro* @#'B 1 to for* a loop!
*%*%1%! +oot Cause
$with ports oin @#'B 1 y default! @#'B 1 not onfigured as a proteted @#'B on thePP ring! 's a result" data fro* @#'B 1 is not prohiited and auses a loop on the PP
ring!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 202/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
*%*%1%" Identi>cation :ethod
1! un the display !urrent-!oniguration intera!e igabitEthernet 1+*+* o**and tohe, PP onfigurations on swith ports! If the undo port trun allow-pass "lan
o**and is not displayed" the ports oin @#'B 1 y default!
[Switch]display current-con$iguration inter$ace 'iga%it(thernet 1&0&0
+
inter$ace 'iga%it(thernet1&0&0
port lin)-type trun)
port trun) allow-pass vlan 10 0
stp disa%le
+
return
[Switch]
2! un the display stp region-!oniguration o**and to he, *ulti-instane
onfigurations!
[Switch]display stp region-con$iguration@per con$iguration
?ormat selector 40
/egion name 400e0*":01:00
/evision level 40
.nstance =L8s Bapped
0 1 to D 11 to 1D 1 to "0"
1 10D 0
[Switch]
3! un the display !urrent-!oniguration !oniguration rrpp-do#ain-region o**andto he, PP onfigurations! @#'Bs in instane 1 are proteted! @#'B 1 is not added
to instane 1 therefore" the PP ring annot protet data fro* @#'B 1![Switch]display current-con$iguration con$iguration rrpp-domain-region
+
rrpp domain 1
control-vlan 10#
protected-vlan re$erence-instance 1
ring 1 node-mode transit primary-port 'iga%it(thernet1&0&1 secondary-port
'iga%it(thernet1&0& level 0
ring 1 ena%le
+
return
[Switch]
*%*%1%* Solution
1! 'dd @#'B 1 to instane 1!
[Switch] stp region-con$iguration
.n$o4 lease activate the stp region-con$iguration a$ter it is modi$ied;
[Cuidway-mst-region] instance 1 vlan 1 10 0
[Cuidway-mst-region] active region-con$iguration
.n$o4 6his operation may ta)e a $ew seconds; lease wait $or a moment;;;done;
[Cuidway-mst-region]quit
[Cuidway] display stp region-con$iguration
@per con$iguration
?ormat selector 40/egion name 400e0*":01:00
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1<=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 203/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
/evision level 40
.nstance =L8s Bapped
0 to D 11 to 1D 1 to "0"
1 1D 10D 0
[Switch]
.$ =L8 1 is uselessD con$igure the ports to prohi%it =L8 1;
[Switch] inter$ace 'iga%it(thernet1&0&0
[Switch-'iga%it(thernet1&0&0] undo port trun) allow-pass vlan 1
*%*%1%) Summary
?hen planning the proteted @#'Bs on the PP ring" note that swith ports are added to
@#'B 1 y default! Kou need to add @#'B 1 to the proteted @#'Bs to pre&ent loops!
*%*%! :ulti#Instance Con>guration Causes an ++''
-oop*%*%!%1 Symptom and <etwor.ing
Figure 1.1 Betwor,ing diagra*
's shown in %igure 1!1" $with'" $with5" and $withC for* an PP ring! $with5
funtions as the *aster node! $withC is the transit node! Ports A+2D0D9 and A+1D0D6 on$with' allow ontrol @#'B 2616! @#'Bs *apping instane 0 on $with5 and $withC are
proteted @#'Bs! PP *ulti-instane is onfigured on $with5! Pa,ets fro* @#'Bs in
other instanes ause a loop! 's a result" *any aess de&ies are disonneted!
*%*%!%! +oot Cause
PP *ulti-instane is onfigured on $with5! The PP ring protets only @#'Bs ininstane 0! The three @#'Bs in instane 1 are not proteted y PP! 's a result" a loop
ours!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1=0
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 204/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
*%*%!%" Identi>cation :ethod
1! Che, PP onfigurations!
un the display !urrent-!oniguration !oniguration rrpp-do#ain-region o**and
to he, PP do*ain onfigurations![Switch3] display current-con$iguration con$iguration rrpp-domain-region
+
rrpp domain 1
control-vlan #1#
protected-vlan re$erence-instance 1
ring 1 node-mode master primary-port 'iga%it(thernet0&1&1 secondary-port
'iga%it(thernet0&1& level 0
ring 1 ena%le
+
return
[Switch3]
2! Che, *ulti-instane onfigurations!un the display stp region-!oniguration o**and to he, *ulti-instane
onfigurations!
[Switch3] display stp region-con$iguration
@per con$iguration
?ormat selector 40
/egion name 400#e#cec1
/evision level 40
.nstance =lans Bapped
0 1 to "D #01 to #"D #"" to #:D #:" to "0"
1 #00D #"!D #:!
[Switch3]
3! Che, @#'B onfigurations!
un the display "lan o**and to he, ports of @#'Bs in instane 1!
+ Switch3
[Switch3] display vlan 2900
=L8 .5 6ype Status B8, Learning
----------------------------------------------------------
#00 common ena%le ena%le
----------------
6agged ort4 'iga%it(thernet0&1&1 'iga%it(thernet0&1&
----------------.nter$ace hysical
#iga$itEthernet011 :!
#iga$itEthernet012 %(
+Switch,
[Switch3] display vlan 2900
=L8 .5 6ype Status B8, Learning
----------------------------------------------------------
#00 common ena%le ena%le
----------------
6agged ort4 'iga%it(thernet0&1&1 'iga%it(thernet0&1&
----------------
.nter$ace hysical
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1=1
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 205/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
#iga$itEthernet011 :!
#iga$itEthernet012 :!
+ Switch8
[Switch3]display vlan #00
=L8 .5 6ype Status B8, Learning 3roadcast&Bulticast&Hnicast
roperty
------------------------------------------------------------------------------
--
#00 common ena%le ena%le $orward $orward $orward
de$ault
----------------
6agged ort4 'iga%it(thernet&0&0 'iga%it(thernet&0&1
'iga%it(thernet&0& 'iga%it(thernet&0&"
'iga%it(thernet&0&# 'iga%it(thernet&0&2
----------------
.nter$ace hysical#iga$itEthernet200 :!
#iga$itEthernet201 :!
#iga$itEthernet202 :!
#iga$itEthernet20; :!
#iga$itEthernet209 %(
#iga$itEthernet206 :!
The o**and output shows that eah port on the ring allows @#'B 2600" and so*e
ports that are not on the ring also allow @#'B 2600! @#'B 2600 is added to instane 1!The PP ring protets @#'Bs in instane 0! Conseuently" data fro* @#'B 2600 is
not lo,ed" ausing a loop!
*%*%!%* SolutionPP is onfigured to protet all @#'Bs! In this ase" delete instane 1!
[Switch3] stp region-con$iguration
.n$o4 lease activate the stp region-con$iguration a$ter it is modi$ied;
[Switch3-mst-region] undo instance 1
[Switch3-mst-region] active region-con$iguration
.n$o4 6his operation may ta)e a $ew seconds; lease wait $or a moment;;;done;
Switch3-mst-region]quit
[Switch3] display stp region-con$iguration
@per con$iguration
?ormat selector 40
/egion name 400#e#cec1
/evision level 40
.nstance =lans Bapped
0 1 to "0"
[Switch3]
*%*%!%) Summary
?hen deploying an PP ring" ensure that *ulti-instane onfigurations on the de&ie do not
affet the PP ring!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1=2
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 206/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
*%*%" :AC Address 3orwarding &ntries and A+'&ntries Cannot 2e 5pdated 2ecause ++'' :aster<ode and Transmit <odes ;or. in Di@erent :odes
*%*%"%1 Symptom and <etwor.ing
Figure 1.1 Betwor,ing diagra*
's shown in %igure 1!1" $with'" $with5" $withC" and $with for* an PP ring!$with' is the *aster node" and $with5" $withC" and $with are the transit nodes! ?henthe lin, etween $with5" $withC" and $with eo*es faulty or reo&ers fro* a fault"
other transit nodes do not update their 'C address forwarding entries or 'P entries!
Traffi forwarding is affeted!
*%*%"%! +oot Cause
$with' uses the PP wor,ing *ode defined y international standards" while $with5"$withC" and $with use the PP wor,ing *ode defined y Huawei! ?hen a transit node
eo*es faulty" C>>B-%#7$H-%5 and C>P#+T+-%#7$H-%5 pa,ets sent y
$with' annot e proessed y the transit nodes! 's a result" 'C address forwarding
entries and 'P entries on these nodes are not updated! Traffi forwarding is affeted!
*%*%"%" Identi>cation :ethod
Che, whether the *aster node and transit nodes on the PP ring use the sa*e PP
&ersion! If PP &ersions are different" this prole* ours!
un the display rrpp brie do#ain 'do#ain-id( o**and to he, node types and PP
wor,ing *odes!
+ '3
< Switch8 > display rrpp $rief
8%%reviations $or Switch ode Bode 4
B - Baster D 6 - 6ransit D (B - (dge BasterD (6 - (dge 6ransit
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1=3
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 207/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
// rotocol Status4 (na%le
!! orking 7ode" #<
// Lin)up 5elay 6imer4 0 sec 90 sec de$ault;
um%er o$ // 5omains4 1
5omain .nde 4 1
,ontrol =L8 4 maFor 01# su% 012
rotected =L8 4 /e$erence .nstance 0
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
/ing /ing ode rimary Secondary&(dge .s
.5 Level Bode ort ort (na%led
----------------------------------------------------------------------------
1 0 7 'iga%it(thernet&0&"# 'iga%it(thernet&0&"2 Ges
< Switch8 >
+ EW
< Switch3 > display rrpp $rief domain 1
8%%reviations $or Switch ode Bode 4B - Baster D 6 - 6ransit D ( - (dge D 8 - 8ssistant-(dge
// rotocol Status4 (na%le
!! orking 7ode"
// Lin)up 5elay 6imer4 0 sec 90 sec de$ault;
um%er o$ // 5omains4 1
5omain .nde 4 1
,ontrol =L8 4 maFor 01# su% 012
rotected =L8 4 /e$erence .nstance 0
Eello 6imer 4 1 sec9de$ault is 1 sec ?ail 6imer 4 2 sec9de$ault is 2 sec
/ing /ing ode rimary&,ommon Secondary&(dge .s
.5 Level Bode ort ort (na%led
----------------------------------------------------------------------------
1 0 6 'iga%it(thernet1&0&1 'iga%it(thernet1&0& Ges
< Switch3 >
*%*%"%* Solution
Configure all nodes on the PP ring to wor, in the sa*e PP wor,ing *ode!
*%*%"%) Summary
'll nodes on the PP ring *ust ha&e the sa*e PP wor,ing *ode onfigured! They anwor, in the *ode defined y Huawei or the *ode defined y international standards!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1=9
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 208/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
) Smart -in.
)%1 Smart -in. Overview
)%1%1 3eature Description
)%1%1%1 2asic 'rinciples and Concepts
$*art #in, is a solution de&eloped to pro&ide effiient lin, redundany and switho&er for
dual-ho*ed networ,s! Co*pared with the $panning Tree Protool ($TP)" $*art #in,
pro&ides faster on&ergene o*pared with the apid ing Protetion Protool (PP) and$+P ($*art +thernet Protetion)" $*art #in, reuires si*pler onfiguration *ethods!
onitor #in, supple*ents $*art #in, y introduing a port assoiation solution! ' onitor#in, group onsists of an uplin, port and se&eral downlin, ports! If the uplin, port fails" the
onitor #in, group auto*atially shuts down the downlin, ports! ?hen the uplin, port
reo&ers" the onitor #in, group also reo&ers the downlin, ports!
)%1%1%! Characteristics
Figure 1.1 $*art #in, networ,ing
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1=6
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 209/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
's shown in %igure 1!1" lin, redundany an e pro&ided on the dual-ho*ed networ," ut aloop ($with' --L $with5 --L$with --L $withC --L $with') results in roadast
stor*s! $TP an e used to pre&ent loops" ut the on&ergene speed is low! ?hen the ati&e
lin, eo*es faulty" traffi is swithed to the standy lin,! uring the switho&er" a largea*ount of traffi is lost eause the on&ergene ta,es se&eral seonds! $TP annot e
applied to the networ,s that reuire short on&ergene ti*e! PP and $+P an i*pro&e theon&ergene perfor*ane" ut they are applied to o*pliated ring networ,s and are diffiult
to onfigure! Bew de&ies reuire e4tra onfigurations" and the onfigurations are o*ple4!?hen the ring networ, fails" you need to trouleshoot the fault on the de&ies one y one!
To address the preeding prole*" Huawei introdues $*art #in, on dual-ho*ed networ,s toi*ple*ent lin, redundany and rapid lin, status transition! This solution ensures high
perfor*ane and si*plifies networ, onfigurations! In addition" onitor #in, supple*ents
$*art #in, y introduing a port assoiation solution" whih *onitors uplin, status andwidens the sope of lin, a,up!
$*art #in, has the following ad&antages/
Pre&enting roadast stor*s aused y loops! ?hen two lin,s are running properly on adual-ho*ed networ," only one lin, trans*its traffi and the other lin, is lo,ed!
+nsuring nonstop data forwarding! ?hen the ati&e lin, is faulty" traffi is swithed to
the standy lin, in *illiseonds!
$i*plifying onfigurations!
)%1%! ?ersion Di@erence
$tarting fro* @200003C00$PC300" $*art #in, supports *ultiple ontrol @#'Bs and
passwords on a port" and an swith traffi and perfor* aurate o*putation ased on the
ontrol @#'Bs! In &ersions earlier than @200003C00$PC300" $*art #in, supports only
one ontrol @#'B and password on a port!
)%! Con>guration uide
)%!%1 Scenario 18 Con>guring -oad 2alancing2etween Active and Standby -in.s o6 a Smart -in.roup
)%!%1%1 <etwor.ing Description
's shown in %igure 1!1" the usto*er networ, is dual-ho*ed to the 'B to ensure networ,
reliaility! Pa,ets of @#'B 100 and @#'B 600 are trans*itted through the standy lin,"
and pa,ets of other @#'Bs are trans*itted through the ati&e lin,! ?hen the ati&e lin,fails" pa,ets on the ati&e lin, an e swithed to the standy lin, rapidly! ?hen the standy
lin, fails" pa,ets of @#'B 100 and @#'B 600 an e swithed to the ati&e lin, rapidly!
The ser&ie interruption duration is ontrolled within *illiseonds!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1=8
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 210/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 Configuring load alaning etween ati&e and standy lin,s of a $*art #in, group
)%!%1%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure $*art #in, *ulti-instane on $with' and add uplin, ports to the $*art #in,group!
2! Configure load alaning on $with'!
3! +nale the re&erti&e swithing funtion on $with'!
9! +nale $with' to send %lush pa,ets!
6! +nale $with5 and $withC to reei&e %lush pa,ets!
8! +nale the $*art #in, group funtion on $with'!
)%!%1%" Con>guration &7ampleStep 1 Create a ontrol @#'B on $with'" and add orresponding ports to the @#'B!
<Switch8> system-view
[Switch8] vlan %atch 10 100 #00
[Switch8] inter$ace giga%itethernet 1&0&1
[Switch8-'iga%it(thernet1&0&1] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&1] port trun) allow-pass vlan 10 100 #00
[Switch8-'iga%it(thernet1&0&1] quit
[Switch8] inter$ace giga%itethernet 1&0&
[Switch8-'iga%it(thernet1&0&] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&] port trun) allow-pass vlan 10 100 #00
[Switch8-'iga%it(thernet1&0&] quit
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1=:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 211/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
The onfigurations on $with5 and $withC are si*ilar to $with'!
Step ! Configure @#'B *apping on $with'!
[Switch8] stp region-con$iguration
[Switch8-mst-region] instance 10 vlan 100 #00[Switch8-mst-region] active region-con$iguration
[Switch8-mst-region] quit
Step " isale $TP on uplin, ports" add the ports to the $*art #in, group" and speify the *aster
and sla&e ports!
N Configure $with'!
[Switch8] inter$ace giga%itethernet 1&0&1
[Switch8-'iga%it(thernet1&0&1] stp disa%le
[Switch8-'iga%it(thernet1&0&1] quit
[Switch8] inter$ace giga%itethernet 1&0&
[Switch8-'iga%it(thernet1&0&] stp disa%le
[Switch8-'iga%it(thernet1&0&] quit[Switch8] smart-lin) group 1
[Switch8-sml)-group1] port giga%itethernet 1&0&1 master
[Switch8-sml)-group1] port giga%itethernet 1&0& slave
Step * Configure load alaning on $with'!
[Switch8-sml)-group1] load-%alance instance 10 slave
Step ) +nale re&erti&e swithing and set the ?T ti*e!
N Configure $with'!
[Switch8-sml)-group1] restore ena%le
[Switch8-sml)-group1] timer wtr !0
Step +nale the funtion of sending %lush pa,ets!
N Configure $with'!
[Switch8-sml)-group1] $lush send control-vlan 10 password simple 1!
Step ( +nale the $*art #in, group funtion on $with'!
[Switch8-sml)-group1] smart-lin) ena%le
Step , +nale the funtion of reei&ing %lush pa,ets!
N Configure $with5!
[Switch3] inter$ace giga%itethernet 1&0&1
[Switch3-'iga%it(thernet1&0&1] smart-lin) $lush receive control-vlan 10
password simple 1!
[Switch3-'iga%it(thernet1&0&1] quit
[Switch3] inter$ace giga%itethernet 1&0&
[Switch3-'iga%it(thernet1&0&] smart-lin) $lush receive control-vlan 10
password simple 1!
[Switch3-'iga%it(thernet1&0&] quit
N Configure $withC!
[Switch,] inter$ace giga%itethernet 1&0&1
[Switch,-'iga%it(thernet1&0&1] smart-lin) $lush receive control-vlan 10
password simple 1!
[Switch,-'iga%it(thernet1&0&1] quit
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1=<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 212/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch,] inter$ace giga%itethernet 1&0&
[Switch,-'iga%it(thernet1&0&] smart-lin) $lush receive control-vlan 10
password simple 1!
[Switch,-'iga%it(thernet1&0&] quit
Step / @erify the onfiguration!
N un the display s#art-lin group o**and to &iew infor*ation aout the $*art
#in, group on $with'! If the following infor*ation is displayed" the onfiguration issuessful/
M The $*art #in, group funtion is enaled!
M The ?T ti*e is 30 seonds!
M The ontrol @#'B I is 10!
M Aigait+thernet 1D0D1 is the *aster port and is in /!ti"e state" and Aigait+thernet
1D0D2 is the sla&e port and is in na!ti"e state! The load alaning funtion is
onfigured!
<Switch8> display smart-lin) group 1Smart Lin) group 1 in$ormation 4
Smart Lin) group was ena%led
Wtr-time is4 !0 sec;
Load-3alance .nstance4 10
6here is no protected-vlan re$erence-instance
5evice.54 001*-000-00*! ,ontrol-vlan .54 10
Bem%er /ole State ?lush ,ount Last-?lush-6ime
------------------------------------------------------------------------
'iga%it(thernet1&0&1 Baster 8ctive 1 00&01&0#
104!!4"2 H6,O0#400
'iga%it(thernet1&0& Slave .nactive 0 0000&00&00
00400400 H6,O0#400N un the shutdown o**and to shut down Aigait+thernet 1D0D1" and you an findthat Aigait+thernet 1D0D1 is in na!ti"e state and Aigait+thernet 1D0D2 is in /!ti"e
state!
[Switch8-'iga%it(thernet1&0&1] shutdown
[Switch8-'iga%it(thernet1&0&1] display smart-lin) group 1
Smart Lin) group 1 in$ormation 4
Smart Lin) group was ena%led
Wtr-time is4 !0 sec;
Load-3alance .nstance4 10
6here is no protected-vlan re$erence-instance
5evice.54 001*-000-00*! ,ontrol-vlan .54 10
Bem%er /ole State ?lush ,ount Last-?lush-6ime ------------------------------------------------------------------------
'iga%it(thernet1&0&1 Baster .nactive 1 00&01&0#
104!!4"2 H6,O0#400
'iga%it(thernet1&0& Slave 8ctive 1 00&01&0#
104!"4"2 H6,O0#400
N un the undo shutdown o**and to enale Aigait+thernet 1D0D1! ?ait for 30
seonds" and you an find that Aigait+thernet 1D0D1 is in /!ti"e state and A+ 1D0D2is in na!ti"e state!
[Switch8-'iga%it(thernet1&0&1] undo shutdown
[Switch8-'iga%it(thernet1&0&1] display smart-lin) group 1
Smart Lin) group 1 in$ormation 4
Smart Lin) group was ena%led
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
1==
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 213/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Wtr-time is4 !0 sec;
Load-3alance .nstance4 10
6here is no protected-vlan re$erence-instance
5evice.54 001*-000-00*! ,ontrol-vlan .54 10
Bem%er /ole State ?lush ,ount Last-?lush-6ime
------------------------------------------------------------------------
'iga%it(thernet1&0&1 Baster 8ctive 00&01&0#
104!#4"2 H6,O0#400
'iga%it(thernet1&0& Slave .nactive 1 00&01&0#
104!"4"2 H6,O0#400
Con>guration 3iles
Configuration file of $with'
+
sysname Switch8
+
vlan %atch 10 100 #00
+
stp region-con$iguration
instance 10 vlan 100 #00
active region-con$iguration
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 #00
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun) port trun) allow-pass vlan 10 100 #00
stp disa%le
+
smart-lin) group 1
load-%alance instance 10 slave
restore ena%le
smart-lin) ena%le
port 'iga%it(thernet1&0&1 master
port 'iga%it(thernet1&0& slave
timer wtr !0
$lush send control-vlan 10 password simple 1!
+
return
Configuration file of $with5
+
sysname Switch3
+
vlan %atch 10 100 #00
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 #00
smart-lin) $lush receive control-vlan 10 password simple 1!
+inter$ace 'iga%it(thernet1&0&
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
200
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 214/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
port lin)-type trun)
port trun) allow-pass vlan 10 100 #00
smart-lin) $lush receive control-vlan 10 password simple 1!
+
return
Configuration file of $withC
+
sysname Switch,
+
vlan %atch 10 100 #00
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 #00
smart-lin) $lush receive control-vlan 10 password simple 1!
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100 #00
smart-lin) $lush receive control-vlan 10 password simple 1!
+
return
)%!%! Scenario !8 Con>guring Association 2etween:onitor -in. and Smart -in.
)%!%!%1 <etwor.ing Description
's shown in %igure 1!1" $withC on the 'B is onneted to user networ,s! It aesses the a,one networ, through uplin, de&ies $with' and $with5 in dual-ho*ed *ode!
$with' and $withC are dual-ho*ed to uplin, de&ies! >ne of eah lin, pair needs to e
lo,ed to pre&ent loops! ?hen the ati&e lin, fails" the data flows an e rapidly swithed to
the standy lin, to ensure nonstop ser&ies!
In addition" a *onitoring *ehanis* is reuired to pre&ent ser&ie interruption aused y
faults of the uplin,! ?hen the uplin, fails" the downlin, an rapidly detet the fault and lin,swithing an e perfor*ed i**ediately to shorten the duration of ser&ie interruption!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
201
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 215/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 'ssoiation etween $*art #in, and onitor #in,
)%!%!%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure a $*art #in, group on $with' and $withC and add orresponding ports tothe $*art #in, group!
2! Configure a onitor #in, group on $with' and $with5!
3! +nale $with' and $withC to send %lush pa,ets!
9! +nale $with' and $with5 to reei&e %lush pa,ets!
)%!%!%" Con>guration &7ample
Step 1 Configure the sa*e ontrol @#'B on $with'" $with5" and $withC! 'dd the ports of the
$*art #in, group or onitor #in, group to this @#'B!
The onfiguration details are not pro&ided here! %or details" see @#'B Configuration in the
S9300&S9300E Terabit Routing Switch Configuration Guide - Ethernet Configuration!
Step ! Create a $*art #in, group!
N Configure $with'!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
202
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 216/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
<Switch8> system-view
[Switch8] smart-lin) group 1
[Switch8-sml)-group1] quit
N Configure $withC!
<Switch,> system-view[Switch,] smart-lin) group
[Switch,-sml)-group1] quit
Step " 'dd ports to the $*art #in, group and speify the *aster and sla&e ports!
N Configure $with'!
[Switch8] inter$ace giga%itethernet1&0&1
[Switch8-'iga%it(thernet1&0&1] stp disa%le
[Switch8-'iga%it(thernet1&0&1] quit
[Switch8] inter$ace giga%itethernet1&0&
[Switch8-'iga%it(thernet1&0&] stp disa%le
[Switch8-'iga%it(thernet1&0&] quit
[Switch8] smart-lin) group 1
[Switch8-sml)-group1] port giga%itethernet 1&0&1 master
[Switch8-sml)-group1] port giga%itethernet 1&0& slave
N Configure $withC!
[Switch,] inter$ace giga%itethernet1&0&1
[Switch,-'iga%it(thernet1&0&1] stp disa%le
[Switch,-'iga%it(thernet1&0&1] quit
[Switch,] inter$ace giga%itethernet1&0&
[Switch,-'iga%it(thernet1&0&] stp disa%le
[Switch,-'iga%it(thernet1&0&] quit
[Switch,] smart-lin) group
[Switch,-sml)-group] port giga%itethernet 1&0&1 master
[Switch,-sml)-group] port giga%itethernet 1&0& slave
Step * +nale re&erti&e swithing and set the ?T ti*e!
N Configure $with'!
[Switch8-sml)-group1] restore ena%le
[Switch8-sml)-group1] timer wtr !0
N Configure $withC!
[Switch,-sml)-group] restore ena%le
[Switch,-sml)-group] timer wtr !0
Step ) +nale the funtion of sending or reei&ing %lush pa,ets!
N Configure $with'!
[Switch8-sml)-group1] $lush send control-vlan 10 password simple 1!
[Switch8-sml)-group1] quit
[Switch8] inter$ace giga%itethernet &0&1
[Switch8-'iga%it(thernet&0&1] smart-lin) $lush receive control-vlan 10
password simple 1!
[Switch8-'iga%it(thernet&0&1] quit
[Switch8] inter$ace giga%itethernet &0&
[Switch8-'iga%it(thernet&0&] smart-lin) $lush receive control-vlan 10
password simple 1!
[Switch8-'iga%it(thernet&0&] quit
N Configure $with5!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
203
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 217/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
<Switch3> system-view
[Switch3] inter$ace giga%itethernet &0&1
[Switch3-'iga%it(thernet&0&1] smart-lin) $lush receive control-vlan 10
password simple 1!
[Switch3-'iga%it(thernet&0&1] quit
[Switch3] inter$ace giga%itethernet &0&
[Switch3-'iga%it(thernet&0&] smart-lin) $lush receive control-vlan 10
password simple 1!
[Switch3-'iga%it(thernet&0&] quit
N Configure $withC!
[Switch,-sml)-group] $lush send control-vlan 10 password simple 1!
Step +nale the $*art #in, group funtion!
N Configure $with'!
[Switch8] smart-lin) group 1
[Switch8-sml)-group1] smart-lin) ena%le
[Switch8-sml)-group1] quit
N Configure $withC!
[Switch,] smart-lin) group
[Switch,-sml)-group] smart-lin) ena%le
[Switch,-sml)-group] quit
Step ( Create a onitor #in, group and add the uplin, and downlin, ports to the onitor #in,
group!
N Configure $with'!
[Switch8] monitor-lin) group 1
[Switch8-mtl)-group1] smart-lin) group 1 uplin)
[Switch8-mtl)-group1] port giga%itethernet &0&1 downlin) 1
N Configure $with5!
[Switch3] monitor-lin) group
[Switch3-mtl)-group] port giga%itethernet 1&0&1 uplin)
[Switch3-mtl)-group] port giga%itethernet &0&1 downlin) 1
Step , $et the ?T ti*e of a onitor #in, group!
N Configure $with'!
[Switch8-mtl)-group1] timer recover-time 10
N Configure $with5!
[Switch3-mtl)-group] timer recover-time 10
Step / @erify the onfiguration!
<Switch8> display smart-lin) group 1
Smart Lin) group 1 in$ormation 4
Smart Lin) group was ena%led
6here is no Load-3alance
6here is no protected-vlan re$erence-instance
5evice.54 001*-000-00*! ,ontrol-vlan .54 10
Bem%er /ole State ?lush ,ount Last-?lush-6ime
------------------------------------------------------------------------
'iga%it(thernet1&0&1 Baster 8ctive 1 00&01&0# 104!!4"2
H6,
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
209
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 218/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
O0#400
'iga%it(thernet1&0& Slave .nactive 0 0000&00&00 00400400
H6,
O0#400
<Switch8> display monitor-lin) group 1
Bonitor Lin) group 1 in$ormation 4
/ecover-timer is ! sec;
Bem%er /ole State Last-up-time Last-down-
tim
e
Smart-lin)1 HpL) H 0000&00&00 00400400 H6,O0#400
0000&0
0&00 00400400 H6,O0#400
'iga%it(thernet&0&1 5wL)[1] H 0000&00&00 00400400 H6,O0#400
0000&0
0&00 00400400 H6,O0#400
Con>guration 3iles Configuration file of $with'
+
sysname Switch8
+
vlan %atch 10
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10
stp disa%le
+inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10
stp disa%le
+
inter$ace 'iga%it(thernet&0&1
port lin)-type trun)
port trun) allow-pass vlan 10
smart-lin) $lush receive control-vlan 10 password simple 1!
+
inter$ace 'iga%it(thernet&0&
port lin)-type trun)
port trun) allow-pass vlan 10
smart-lin) $lush receive control-vlan 10 password simple 1!
+
smart-lin) group 1
smart-lin) ena%le
port 'iga%it(thernet1&0&1 master
port 'iga%it(thernet1&0& slave
timer wtr !0
restore ena%le
$lush send control-vlan 10 password simple 1!
+
monitor-lin) group 1
smart-lin) group 1 uplin)
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
206
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 219/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
port 'iga%it(thernet&0&1 downlin) 1
timer recover-time 10
+
return
Configuration file of $with5+
sysname Switch3
+
vlan %atch 10
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10
+
inter$ace 'iga%it(thernet&0&1
port lin)-type trun)
port trun) allow-pass vlan 10
smart-lin) $lush receive control-vlan 10 password simple 1!
+
inter$ace 'iga%it(thernet&0&
port lin)-type trun)
port trun) allow-pass vlan 10
smart-lin) $lush receive control-vlan 10 password simple 1!
+
monitor-lin) group
port 'iga%it(thernet1&0&1 uplin)
port 'iga%it(thernet&0&1 downlin) 1
timer recover-time 10
+
return
Configuration file of $withC
+
sysname Switch,
+
vlan %atch 10
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10
stp disa%le
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10
stp disa%le
+
smart-lin) group
restore ena%le
smart-lin) ena%le
port 'iga%it(thernet1&0&1 master
port 'iga%it(thernet1&0& slave
timer wtr !0
$lush send control-vlan 10 password simple 1!
+
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
208
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 220/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
return
)%!%" Deployment 'recautions
)%!%"%1 All 'orts on the Smart -in. +ing :ust 2e &nabled to+eceive 3lush 'ac.ets
0es!ription; 'll ports on the $*art #in, ring *ust e ale to reei&e %lush pa,ets
otherwise" the ports annot detet networ, hanges and are unale to update their 'Caddress entries and 'P entries!
oot )ause; >nly after the funtion of reei&ing %lush pa,ets is onfigured" the ports anreei&e and proess %lush pa,ets sent y $*art #in," and update their 'C address entries
and 'P entries when the networ, hanges!
dentii!ation 9ethod; un the display this o**and in the interfae &iew to he,
whether the s#art-lin lush re!ei"e !ontrol-"lan < o**and is onfigured!
olution/ Configure the ontrol @#'B and password for reei&ing %lush pa,ets!
ersions in"ol"ed/ 'll &ersions
)%" Troubleshooting
)%"%1 Troubleshooting Overview
$*art #in, is a o**only used feature in dual-ho*ed senarios! The state of $*art #in,depends on the port state! The upper-layer networ, is notified of networ, hanges through the
%lush pa,ets sent y $*art #in,! Inorret onfigurations ause a traffi swithing failure inthe $*art #in, group!
)%"%! ActiveFStandby -in. Switchover 3ails in aSmart -in. roup
)%"%!%1 3ault Description
$*art #in, an detet only the physial status of ports! Bor*ally" no $*art #in, pa,et is
e4hanged! >nly when a lin, switho&er ours" %lush pa,ets are sent to update 'Caddress entries and 'P entries on the ring networ,! If the ati&eDstandy lin, switho&er
fails in a $*art #in, group" ser&ie forwarding is interrupted!
)%"%!%! Troubleshooting +oadmap
The trouleshooting road*ap is as follows/
1! Che, status of ports in the $*art #in, group!
2! Che, whether the %ore and #o, funtions are enaled in the $*art #in, group!
3! Che, whether the funtion of sending %lush pa,ets is enaled for the $*art #in, group
and whether orresponding ports are added to the ontrol @#'B!
9! Che, whether the funtion of reei&ing %lush pa,ets is enaled" whether the ontrol
@#'B and password are orret" and whether orresponding ports are added to the
ontrol @#'B!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
20:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 221/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
)%"%!%" Troubleshooting 3lowchart
etify the fault aording to %igure 1!1!
Figure 1.1 Trouleshooting flowhart
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
20<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 222/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
)%"%!%* Troubleshooting 'rocedure
Step 1 Che, the *e*er port status in the $*art #in, group!
un the display intera!e interface-t!e interface-number o**and to &iew the port
status through the &alue of the !urrent state field!
M If the &alue of the !urrent state field is 0own" retify the fault aording to
Connected Ethernet "nterfaces #own!
M If the &alue of the !urrent state field is &p" the port is 7p! Ao to step 2!
Step ! Che, the $*art #in, group status!
un the display s#art-lin group R all S grou!-id o**and to &iew the $*art #in,
group status through the &alue of the tate field!
M If one port is /!ti"e and the other port is na!ti"e" the $*art #in, group status is
orret! Ao to step 9!M If the $*art #in, group status is inorret" go to step 3!
Step " Che, whether data flows are lo,ed on a port in the $*art #in, group!
un the display s#art-lin group grou!-id o**and to he, whether data flows arelo,ed on a port in the $*art #in, group through the &alue of the =in status field!
<Cuidway> display smart-lin) group 1
Smart Lin) group 1 in$ormation 4
Smart Lin) group was ena%led
8ink status"lock
Load-3alance .nstance4 1 to
5evice.54 001*-000-00*! ,ontrol-vlan .54 0
Bem%er /ole State ?lush ,ount Last-?lush-6ime
------------------------------------------------------------------------
'iga%it(thernet1&0&1 Baster 8ctive 1 00*&11&1 124!:40 H6,-
0#400
'iga%it(thernet1&0& Slave .nactive 00*&11&1 1:4"#40 H6,-
0#400
M If the &alue of the =in status field is lo! or or!e" data flows are lo,ed on the
*aster or sla&e port in the $*art #in, group! un the undo s#art-lin > or!e ?
lo! @ o**and to unlo, data flows in the $*art #in, group!
M If no infor*ation is displayed in the =in status field" data flows are not lo,ed inthe $*art #in, group! Ao to step <!
Step * Che, whether pa,ets are disarded on *e*er ports in the $*art #in, group! 7se the
following *ethod to he, whether pa,ets are disarded/
un the ping- count -t timeout o**and to &iew pa,et loss infor*ation in the
o**and output!
If the networ, is unreliale" set the pa,et trans*ission ount (-) and ti*eout (-t) to the upper li*its!
This *a,es the test result aurate!
M If there are disarded pa,ets" go to step 6!
M If no pa,et is disarded" go to step <!
Step ) Che, whether the funtion of sending %lush pa,ets is enaled!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
20=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 223/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
un the display this o**and in the $*art #in, group &iew to he, whether thefuntion of sending %lush pa,ets is enaled!
M If the infor*ation flush send ontrol-&lan &lan-id is not displayed" run the lush
send o**and to enale the funtion of sending %lush pa,ets!
M If the infor*ation flush send ontrol-&lan &lan-id is displayed" go to step 8!
Step Che, whether the ontrol @#'B is reated! +nsure that *e*er ports of the $*art #in,
group oin the ontrol @#'B!
un the display "lan "lan-id o**and!
M If the following infor*ation is displayed" *e*er ports of the $*art #in, group oin
the ontrol @#'B! Ao to step :!
---------------------------------------------------------------------------
-----
H4 HpT 54 5ownT 6'4 6aggedT H64 HntaggedT
B4 =lan-mappingT S64 =lan-stac)ingT
+4 rotocol6ransparent-vlanT U4 Banagement-vlanT---------------------------------------------------------------------------
-----
=.5 6ype !orts
---------------------------------------------------------------------------
-----
10 common 6'4'(1&0&!9H '(1&0&9H
M If the preeding infor*ation is not displayed" reate a ontrol @#'B and add *e*er ports of the $*art #in, group to the ontrol @#'B!
Step ( Che, whether the funtion of reei&ing %lush pa,ets is enaled on the peer de&ie!
un the display this o**and in the interfae &iew!M If the infor*ation s*art-lin, flush reei&e ontrol-&lan &lan-id is displayed" go to
step <!
M If the infor*ation s*art-lin, flush reei&e ontrol-&lan &lan-id is not displayed" run
the s#art-lin lush re!ei"e o**and to enale the funtion of reei&ing %lush
pa,ets
Step , Collet the following infor*ation and ontat Huawei tehnial support personnel/
M esults of the preeding trouleshooting proedure
M Configuration file" logs" and alar*s of swithes
M 'C address entries on the de&ies with the $*art #in, group onfigured
)%"%" :onitor -in. roup Status Is Incorrect
)%"%"%1 3ault Description
The onitor #in, group usually wor,s with $*art #in,! It an also wor, independently as anassoiation funtion! If the onitor #in, group status eo*es faulty" lin, switho&er fails!
$er&ies are interrupted!
)%"%"%! Troubleshooting +oadmap
The trouleshooting road*ap is as follows/
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
210
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 224/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
1! Che, the status of the *e*er ports in the onitor #in, group!
2! Che, whether *e*er ports oin the ser&ie @#'B!
)%"%"%" Troubleshooting 3lowchart
etify the fault aording to %igure 1!1!
Figure 1.1 Trouleshooting flowhart
)%"%"%* Troubleshooting 'rocedure
Step 1 Che, the status of the *e*er ports in the onitor #in, group!
un the display #onitor-lin group grou!-id o**and to &iew the tate field!
<Cuidway> display monitor-lin) group 1
Bonitor Lin) group 1 in$ormation 4
/ecover-timer is # sec; Bem%er /ole &tate Last-up-time Last-down-time
'iga%it(thernet1&0&1 HpL) :! 0000&00&00 00400400 0000&00&00 00400400
H6,O00400
'iga%it(thernet1&0& 5wL)[1] %( 0000&00&00 00400400 0000&00&00
00400400 H6,O00400
M If the &alue of the tate field is 0," retify the fault aording to Connected
Ethernet "nterfaces #own!
' lin, fault" a unidiretional >' onneti&ity fault" or a failure to estalish >' onnetions *ay
our on the uplin, port! If the uplin, port elongs to a $*art #in, group" the uplin, port is onsidered
as faulty if none of the *aser and sla&e ports in the $*art #in, group are in ati&e state or the $*art
#in, group is not enaled!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
211
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 225/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
M If the &alue of the tate field is &" go to step 2!
Step ! Che, whether *e*er ports of the onitor #in, group are added to the ser&ie @#'B!
un the display !urrent-!oniguration interfae interface-t!e interface-number o**and
in the *e*er interfae &iew to he, whether *e*er ports of the onitor #in, group areadded to the ser&ie @#'B!
M If any *e*er port of the onitor #in, group is not added to the ser&ie @#'B" add
the *e*er port to the ser&ie @#'B!
M If *e*er ports of the onitor #in, group are added to the ser&ie @#'B" go to step
3!
Step " Collet the following infor*ation and ontat Huawei tehnial support personnel/
M esults of the preeding trouleshooting proedure
M Configuration file" logs" and alar*s of swithes
)%"%* In6ormation CollectionIf the fault annot e loated" ollet the following infor*ation! If non-Huawei de&ies are
in&ol&ed" ollet infor*ation aording to the o**and referene! %or *ethods of olleting
swith logs and diagnosis logs" see hapter =$with #ogs and iagnosis #ogs!
)%"%*%1 <etwor. Topology
Collet networ, topology infor*ation inluding de&ie na*es" syste* 'C addresses" and
na*es of onneted interfaes!
)%"%*%! display Command -ist
Command Description
display &ersion isplays &ersion infor*ation!
display de&ie isplays de&ie status!
display path-infor*ation isplays path infor*ation!
display pu-usage (slot slot-id ) isplays CP7 usage!
display *e*ory-usage (slot slot-id ) isplays *e*ory usage!
display urrent-onfiguration isplays the de&ie onfiguration!
display interfae isplays traffi on all ports e&ery 6 *inutes ortwie!
display s*art-lin, group 4 isplays infor*ation aout the $*art #in,
group!
display *onitor-lin, group 4 isplays infor*ation aout the onitor #in,
group!
display loguffer isplays infor*ation in the log uffer!
display trapuffer isplays infor*ation in the trap uffer!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
212
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 226/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
)%* Troubleshooting Cases
)%*%1 Smart -in. :ulti#Instance Is Con>gured to
2alance -oad% A6ter that An &rror Occurs ;hen theST' +egion Is :odi>ed
)%*%1%1 Symptom and <etwor.ing
$*art #in, *ulti-instane is onfigured! 'n error ours when @#'B 90 or @#'B 2 is added
to instane 10!
[Switch-mst-region]instance 10 vlan "0
[Switch-mst-region]active region-con$iguration
(rror4 6he instance 0 has %een used in Smart Lin) groupD please cancel the Smart
Lin) con$iguration $irst;
)%*%1%! +oot Cause
[Switch-mst-region]chec) region-con$iguration
8dmin con$iguration
?ormat selector 40
/egion name 4*2ed"$c$021
/evision level 40
.nstance =lans Bapped
0 1D ! to !D "1D "! to "D #1 to 00D # to "*D :! to 1000D
101 to 1:00D 001 to !0#0D !0#! to !100D !12 to !1!2D !1!* to
!1"*D !1:! to !!00D !!# to !!"*D !!:! to "01D "0! to "0"
10 D "0D "D #0D 01 to "D " to :D 1001 to 100D 1:01 to
000D !0#1 to !0#D !101 to !1#D !1!:D !1" to !1:D !!01 to
!!"D !!" to !!:D "0
un the !he! region-!oniguration o**and to he, $TP region onfigurations that do
not ta,e effet after the a!ti"e region-!oniguration o**and is e4euted!
[Switch-mst-region]display stp region-con$iguration
@per con$iguration
?ormat selector 40
/egion name 4*2ed"$c$021
/evision level 40
.nstance =lans Bapped
0 1 to "1D "! to ":D #1 to 00D : to 1000D 1201 to 1:00D 001 to
!0#0D !0#! to !100D !1: to !!00D !!: to "01D "0! to "0"
10 "D #0D 01 to "D " to :D 1001 to 100D 1:01 to 000D !0#1
to !0#D !101 to !1"D !1" to !1:D !!01 to !!"D !!" to !!:D
"0
0 "* to "D # to "*D :! to 2D 101 to 1200D !1# to !1"*D
!1:! to !12D !!# to !!"*D !!:! to !!2
The display stp region-!oniguration o**and output shows the $TP region onfigurations
that ta,e effet after the a!ti"e region-!oniguration o**and is run!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
213
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 227/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Co*pare the o**and outputs of the two o**ands" and you an find that instane 20 has een deleted fro* the de&ie efore! The operation of adding @#'B 2 or @#'B 90 to
instane 10 does not ta,e effet when the a!ti"e region-!oniguration o**and is e4euted!
Che, the de&ie onfigurations" and you an find that two $*art #in, groups ha&e een
reated on the de&ie" and instanes 10 and 20 are all referene instanes of the $*art #in,groups!
smart-lin) group 1
protected-vlan re$erence-instance 0 10 0
load-%alance re$erence-instance 0 slave
restore ena%le
smart-lin) ena%le
port 'iga%it(thernet1&0&0 master
port 'iga%it(thernet&0&0 slave
smart-lin) group
protected-vlan re$erence-instance 0 10 0
load-%alance re$erence-instance 0 slave
restore ena%le
smart-lin) ena%le
port 'iga%it(thernet1&0&1 master
port 'iga%it(thernet&0&1 slave
timer wtr !0
The error *essage is as follows/
(rror4 6he instance 0 has %een used in Smart Lin) groupD please cancel the Smart
Lin) con$iguration $irst;
'fter the $*art #in, group is ound to instane 20" the operation of deleting instane 20 is
perfor*ed on the de&ie! The error *essage is displayed when the a!ti"e region-
!oniguration o**and is e4euted at that ti*e! The analysis of the syste* logs also showsthat the related operation has een perfor*ed!
Bar !0 01 1"40!4"" Switch MM01SE(LL&#&,B5/(,@/59l4 /ecord command in$ormation;
96as)7vt0D .p721;120;100;12D Hser7sF011D ,ommand7Vundo instance 0V
Bar !0 01 1"40!4"2 Switch MM01SE(LL&2&5.SL8GJ,B5/(,@/59l4 /ecord command
in$ormation; 96as)7vt0D .p721;120;100;12D Hser7sF011D ,ommand7Vdisplay thisV
Bar !0 01 1"40!4# Switch MM01SE(LL&#&,B5/(,@/59l4 /ecord command in$ormation;
96as)7vt0D .p721;120;100;12D Hser7sF011D ,ommand7Vactive region-con$igurationV
Therefore" the error *essage is still displayed when @#'B 2 or @#'B 90 is added to
instane 10!
)%*%1%" Identi>cation :ethodThe error *essage indiates that the operation of deleting instane 20 has een perfor*ed on
the de&ie efore!
un the !he! region-!oniguration o**and in the $TP region to he, the $TP region
onfigurations that do not ta,e effet!
)%*%1%* Solution
isale the $*art #in, group funtion and unind the $*art #in, group fro* instane 20!
elete instane 20 in the $TP region &iew and then run the a!ti"e region-!oniguration
o**and! 'fter that" re-onfigure instane 20 and run the a!ti"e region-!onigurationo**and again!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
219
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 228/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
)%*%1%) Summary
$TP region onfigurations are not only appliale to the $TP funtion! Instanes in the $TPregion *ay also e ound to ring features suh as PP and $*art #in,!
?hen *odifying $TP region onfigurations" run the !he! region-!oniguration o**andto he, whether region para*eters that do not ta,e effet are orretly onfigured! Then runthe a!ti"e region-!oniguration o**and to he, whether *essages indiating an
ati&ation failure are displayed!
)%*%! Services Are Interrupted A6ter anActiveFStandby -in. Switchover Occurs in the Smart-in. roup
)%*%!%1 Symptom and <etwor.ing
Figure 1.1 'ti&eDstandy lin, switho&er in a $*art #in, group
's shown in %igure 1!1" the $*art #in, group is enaled on $?9! ' is the *aster port while
5 is the sla&e port! ?hen ' eo*es down" traffi is swithed to 5! Howe&er" traffi fro*
$?1 is interrupted!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
216
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 229/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
)%*%!%! +oot Cause
Ports on $?1 are not enaled to reei&e %lush pa,ets! ?hen an ati&eDstandy lin,switho&er ours on $?9" $?1 annot reei&e the %lush pa,ets sent fro* $?9" and fail to
update the 'P entries (updating the outound port to 5)! #ayer 3 traffi is still forwarded to
the outound port ' on $?1! 's a result" traffi is still forwarded along the original ati&elin, whih is already lo,ed! Pa,ets annot pass through! $er&ies are interrupted!
)%*%!%" Identi>cation :ethod
Che, whether the funtion of reei&ing %lush pa,ets is enaled on orresponding ports!
)%*%!%* Solution
+nale all ports on the $*art #in, ring" inluding ' and 5 on $?1" $?2" and $?3 to reei&e
%lush pa,ets!
)%*%!%) SummaryIn addition to swithes onneting to ports in the $*art #in, group" all ports on the $*art
#in, ring *ust e ale to reei&e %lush pa,ets!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
218
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 230/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
&+'S Overview
%1 Introduction to &+'S
%1%1 &+'S
+thernet ing Protetion $withing (+P$) is a protool defined y the International
Teleo**uniation 7nion - Teleo**uniation $tandardiation $etor (IT7-T) to pre&entloops at #ayer 2! 's the standard nu*er is IT7-T A!<032DK1399" +P$ is also alled
A!<032! +P$ defines ing 'uto Protetion $withing ('P$) Protool ata 7nits (P7s)
and protetion swithing *ehanis*s!
+P$ has two &ersions/ +P$&1 released in Eune 200< and +P$&2 released in 'ugust 2010!
+P$&2 is o*patile with +P$&1 and pro&ides the following enhane*ents/
ulti-ring topologies" suh as interseting rings
'P$ P7 trans*ission *odes on surings
Two *anual port lo,ing *odes/ fored swith (%$) and *anual swith ($)
e&erti&e and non-re&erti&e swithing
%aster protetion swithing on +thernet networ,s is reuired! $TP does not *eet thereuire*ent for on&ergene perfor*ane! PP and $+P are Huawei proprietary ring
protools" whih annot e used for o**uniation etween Huawei and non-Huawei
de&ies on a ring networ,!
+P$ is a standard protool issued y the IT7-T to pre&ent loops on ring networ,s" and
inherits ad&antages of ring networ, tehnologies suh as $TP! It opti*ies detetion and perfor*s fast on&ergene! In addition" +P$ pro&ides good o*patiility that an e usedfor o**uniation etween Huawei and non-Huawei de&ies on a ring networ,!
+P$ rings the following enefits/
>n networ,s with loops" +P$ an pre&ent roadast stor*s and fast swith ser&ies!
+P$ pro&ides fast on&ergene" ensuring arrier-lass reliaility!
+P$ is a standard protool issued y the IT7-T to pre&ent loops on ring networ,s! It
allows all +P$-apale de&ies on a ring networ, to o**uniate!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
21:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 231/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
%1%1%1 2asic &+'S Concepts
+P$ is a protool used to pre&ent loops at the lin, layer of an +thernet networ,! 'n +P$ring" as a asi unit" ontains se&eral nodes! +P$ lo,s the P# owner port and ontrols
o**on ports so that the port swithes etween %orwarding and isarding and loops are
eli*inated! In addition" the ontrol @#'B" data @#'B" and proteted instane are used toi*ple*ent +P$ funtions!
's shown in %igure 1!1" a C+ onnets to a ring networ, onsisting of #$?1 through #$?9!
This aess *ode *a,es the networ, reliale howe&er" to eli*inate loops and ensure lin,onneti&ity" a *ehanis* used to pre&ent loops is reuired!
Figure 1.1 +P$ single-ring networ,ing
+P$ an e deployed on a networ, as shown in %igure 1!1!
&+'S +ing
'n +P$ ring onsists of interonneted #ayer 2 swithing de&ies onfigured with the sa*e
ontrol @#'B! 'n +P$ ring is the asi unit for +P$!
'n +P$ ring an e a *aor ring or a suring! 5y default" an +P$ ring is a *aor ring! The
*aor ring is a losed ring" and a suring is a non-losed ring! Kou an onfigure the *aorring and suring using o**and lines!
>nly +P$&2 supports the suring onfiguration!
Node
' node refers to a #ayer 2 swithing de&ie added to an +P$ ring! ' *a4i*u* of two ports
on a node an e added to the sa*e +P$ ring!
'ort +ole
's defined in the +P$ protool" ports are lassified into the P# owner port" P# neighor
port" and o**on port! >nly +P$&2 supports the P# neighor port!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
21<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 232/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
P# owner port
'n +P$ ring has only one P# owner port" whih is onfigured y the user! 5lo,ing
the P# owner port pre&ents loops on the +P$ ring!
?hen the node where the P# owner port resides reei&es an 'P$ P7 indiating that
a lin, or node on the ring fails" it unlo,s the P# owner port to allow the port to sendand reei&e traffi! This ensures nonstop traffi forwarding! The lin, where the P#
owner port resides is a ring protetion lin, (P#)!
P# neighor port
'n P# neighor port is a ring port diretly onneted to an P# owner port! Bor*ally"P# owner and neighor ports are oth lo,ed to pre&ent loops! ?hen an +P$ ring
fails" oth P# owner and neighor ports are unlo,ed! P# neighor ports are used to
redue the nu*er of %5 entry updates on the de&ie where the P# neighor portresides!
Co**on port
>n an +P$ ring" the ports e4ept the P# owner port are o**on ports! ' o**on
port *onitors the status of the diretly-onneted +P$ lin," and sends 'P$ P7s toinfor* the other ports if the lin, status hanges!
'ort Status
>n an +P$ ring" an +P$-enaled port an e in either of the following states/
%orwarding/ The port forwards user traffi and sends and reei&es 'P$ P7s!
isarding/ The port only sends 'P$ P7s!
Control ?-A<
' ontrol @#'B is onfigured for an +P$ ring to trans*it 'P$ P7s! +ah +P$ ring*ust e onfigured with a ontrol @#'B! 'fter a port is added to an +P$ ring onfigured
with a ontrol @#'B" the port is added to the ontrol @#'B auto*atially! ifferent +P$
rings annot e onfigured with the sa*e ontrol @#'B I! 7nli,e ontrol @#'Bs" data
@#'Bs are used to trans*it data pa,ets!
'rotected Instance
>n a #ayer 2 de&ie running +P$" the @#'B in whih 'P$ P7s and data pa,ets are
trans*itted *ust e *apped to a proteted instane so that +P$ forwards or lo,s the@#'B pa,ets! >therwise" @#'B pa,ets *ay ause roadast stor*s on the ring networ,"
ausing the networ, to e una&ailale!
Timer
+P$ defines four ti*ers/ guard ti*er" ?T ti*er" holdoff ti*er" and ?T5 ti*er (only in
+P$&2)!
Auard ti*er
'fter a faulty lin," a node reo&ers" or a lear operation is e4euted" the nodes on the two
ends of the lin, or the reo&ered node sends 'P$ Bo euest (B) *essages to infor*the other nodes of the lin, or node reo&ery and starts a guard ti*er! 5efore the ti*er
e4pires" eah in&ol&ed node does not proess any 'P$ P7s to a&oid reei&ing out-of-
date 'P$ (B) *essages! 'fter the ti*er e4pires" if the in&ol&ed node still reei&es an
'P$ B *essage" the loal port enters the %orwarding state!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
21=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 233/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
?T ti*er
If the P# owner port is unlo,ed due to a lin, or node failure" the in&ol&ed port *ay
not go 7p i**ediately after the lin, or node reo&ers! To pre&ent the P# owner port
fro* alternating etween 7p and own" the node where the P# owner port resides
starts a ?T ti*er after reei&ing an 'P$ B *essage! If the node reei&es an 'P$$ignal %ail ($%) *essage efore the ti*er e4pires" it ter*inates the ?T ti*er! If the
node does not reei&e any 'P$ $% *essage efore the ti*er e4pires" it unlo,s theP# owner port when the ti*er e4pires and sends an 'P$ (B" 5) ('P$ no reuest"
root lo,ed) *essage! 'fter reei&ing this 'P$ (B" 5) *essage" the nodes set their
reo&ered ports on the ring to the %orwarding state!
Holdoff ti*er
Protetion swithing seuene reuire*ents &ary for #ayer 2 networ,s running +P$!
%or e4a*ple" in a *ulti-layer ser&ie appliation" if a ser&er fails" a period of ti*e is
needed for the ser&er to reo&er! Bo protetion swithing is perfor*ed i**ediately after
the ser&er fails" and the lient does not detet the failure in this period of ti*e! ' holdoffti*er an e set! If a fault ours" the fault is not i**ediately reported to +P$! Instead"
the hold-off ti*er starts! If the fault persists after the ti*er e4pires" the fault will ereported to +P$!
?T5 ti*er
The ?T5 ti*er starts after forile or *anual swithing is perfor*ed! ?hen *ultiple
nodes on an +P$ ring are in forile or *anual swithing state" the lear operation
ta,es effet only after the ?T5 ti*er e4pires so that the P# owner port will not e lo,ed i**ediately!
The ?T5 ti*er &alue annot e onfigured! Its &alue is the guard ti*er &alue plus 6!
The default ?T5 ti*er &alue is :s!
+evertive and <on#revertive Switching
'fter lin, faults are retified" whether to re-lo, the P# owner port depends on theswithing *ode!
In re&erti&e swithing" the P# owner port is re-lo,ed after the ?T ti*er e4pires"
and the traffi hannel is lo,ed on the P#!
In non-re&erti&e swithing" the traffi hannel ontinues to use the P#!
5y default" +P$ rings use re&erti&e swithing!
+P$&1 supports only re&erti&e swithing! +P$&2 supports oth re&erti&e and non-re&erti&e
swithing!
'ort 2loc.ing :odes
?hen andwidth of the lin, of the P# owner port is used to arry *ore user traffi" lo, a
lin, with low andwidth so that user traffi is trans*itted on the P#! +P$ supports two
*anual port lo,ing *odes/ fored swith (%$) and *anual swith ($)!
%$/ forily lo,s a port i**ediately after %$ is onfigured" irrespeti&e of whether
lin, failures ha&e ourred!
$/ forily lo,s a port when lin, failures and %$ onditions are asent!
In addition to %$ and $ operations" +P$ also supports the lear operation/
Clears the %$ or $ operation!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
220
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 234/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Triggers re&erti&e swithing efore the ?T or wait to lo, (?T5) ti*er e4pires on an
+P$ ring in re&erti&e swithing *ode!
Triggers re&erti&e swithing on an +P$ ring in non-re&erti&e swithing *ode!
>nly +P$&2 supports port lo,ing *odes!
+A'S 'D5 Transmission :ode on Subrings
+P$&2 supports single and *ulti-ring topologies! In *ulti-ring topologies" 'P$ P7s are
trans*itted through &irtual hannels (@Cs) or non-&irtual hannels (B@Cs) on surings!
@C/ 'P$ P7s on su-rings are trans*itted to the *aor ring through interonnetion
nodes! The P# owner port of a su-ring lo,s oth 'P$ P7s and data traffi!
B@Cs/ 'P$ P7s on su-rings are ter*inated on the interonnetion nodes! The P#
owner port lo,s data traffi ut not 'P$ P7s on eah su-ring!
>n the networ, shown in %igure 1!2" a *aor ring is interonneted with two su-rings! The
su-ring on the left has a @C" whereas the su-ring on the right has an B@C!
Figure 1.2 Interonneted rings with a @C or B@C
5y default" su-rings use B@Cs to trans*it 'P$ P7s" e4ept for the senario shown in%igure 1!3!
?hen su-ring lin,s are not ontiguous" @Cs *ust e used! >n the networ, shown in %igure 1!3" lin,s
and d elong to *aor rings 1 and 2" respeti&ely lin,s a and elong to the su-ring! 's lin,s a and are not ontiguous" they annot detet the status hange etween eah other" so @Cs *ust e used for
'P$ P7 trans*ission!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
221
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 235/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.3 @C appliation
Tale 3!1 lists the ad&antages and disad&antages of 'P$ P7 trans*ission *odes on su-
rings with @Cs or B@Cs!
Table 3.1 Co*parison etween 'P$ P7 trans*ission *odes on su-rings with @Cs or B@Cs
+A'S 'D5Transmission
:ode onSubrings
Advantage Disadvantage
@C 'pplies to senarios in
whih su-ring lin,s are
inontiguous!
euires @C resoure reser&ation and
ontrol @#'B assign*ent fro*
adaent rings!
B@C oes not need resoure
reser&ation or ontrol
@#'B assign*ent fro*
adaent rings!
Inappliale to senarios in whih
su-ring lin,s are inontiguous!
%1%1%! &+'S Single#ring 'rinciple
+P$ is a standard ring protool used to pre&ent loops on +P$ rings at the +thernet lin,
layer! ' *a4i*u* of two ports on a #ayer 2 swithing de&ie an e added to the sa*e +P$ring!
To pre&ent loops on an +P$ ring" you an enale a loop pre&ention *ehanis* to lo, the
ing Protetion #in, (P#) owner port to eli*inate redundant +thernet lin,s! If a lin, on thering networ, fails" the +P$-enaled de&ie i**ediately unlo,s the lo,ed port and
perfor*s lin, swithing to restore o**uniation etween nodes on the ring networ,!
This setion desries how +P$ is i*ple*ented on a single ring when lin,s are nor*al"
when a lin, fails" and when the lin, reo&ers!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
222
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 236/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
-in.s Are <ormal
>n the networ, shown in %igure 1!1" #$?1 through #$?6 onstitute a ring networ," andthey an o**uniate with eah other!
To pre&ent loops" +P$ lo,s the P# owner port and also the P# neighor port (ifany is onfigured)! 'll other ports an trans*it ser&ie traffi!
'll ports on the +P$ ring send 'P$ B *essages to all other nodes on the ring at an
inter&al of 6s" indiating that +P$ lin,s are nor*al!
Figure 1.1 +P$ single ring networ,ing (lin,s are nor*al)
A -in. 3ails
's shown in %igure 1!2" if the lin, etween #$?9 and #$?6 fails" the +P$ protetionswithing *ehanis* is triggered! The ports on oth ends of the faulty lin, are lo,ed and
the P# owner port and P# neighor port are unlo,ed to send and reei&e pa,ets! This
ensures nonstop traffi forwarding! The proess is as follows/
'fter #$?9 and #$?6 detet the lin, fault" they lo, their ports on the faulty lin, and
update %5 entries!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
223
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 237/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
#$?9 and #$?6 send three onseuti&e 'P$ $% *essages to the other #$?s and
then send one 'P$ $% *essage at an inter&al of 6s afterwards!
'fter reei&ing the 'P$ P7s" #$?3 where the P# owner port resides unlo,s the
P# owner port and updates %5 entries the other #$?s update loal %5 entries!
$i*ilarly" after reei&ing the 'P$ P7s" #$?2 where the P# owner port residesunlo,s the P# neighor port and updates %5 entries!
Figure 1.2 +P$ single ring networ,ing (a lin, is faulty)
The -in. +ecovers
'fter the lin, fault is retified" either of two situations *ay our/
If the +P$ ring uses re&erti&e swithing" the P# owner port is lo,ed again" and the
lin, that has reo&ered is used to forward traffi!
If the +P$ ring uses non-re&erti&e swithing" the P# re*ains unlo,ed" and the lin,
that has reo&ered is still lo,ed!
The following e4a*ple uses re&erti&e swithing to illustrate the proess after the lin,
reo&ers/
'fter the lin, etween #$?9 and #$?6 reo&ers" #$?9 and #$?6 start a guard ti*er
to a&oid reei&ing out-of-date 'P$ P7s! The two de&ies do not reei&e any 'P$
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
229
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 238/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
P7s efore the ti*er e4pires! 't the sa*e ti*e" #$?9 and #$?6 send 'P$ B*essages to the other #$?s!
'fter reei&ing an 'P$ B *essage" #$?3 on whih the P# owner port resides
starts the ?T ti*er! 'fter the ?T ti*er e4pires" #$?3 lo,s the P# owner port
and sends 'P$ (B" 5) *essages! 'fter reei&ing an -'P$ (B" 5) *essage" #$?9 and #$?6 unlo, the ports at the
two ends of the lin, that has reo&ered" stop sending 'P$ B *essages" and update
%5 entries! The other #$?s also update %5 entries after reei&ing an -'P$ (B"
5) *essage!
'rotection Switching
%ored swith (%$)
's shown in %igure 1!3" #$?1 through #$?6 on the +P$ ring an o**uniate witheah other! ' fored swith (%$) operation is perfor*ed on the #$?6Us port that onnets
to #$?9" and the #$?6Us port is lo,ed! Then the P# owner port and P# neighor
port are unlo,ed to send and reei&e traffi! This *ehanis* ensures that traffi is notinterrupted! The proess is as follows/
M 'fter the #$?9Us port that onnets to #$?6 is forily lo,ed" #$?6 updates%5 entries!
M #$?6 sends three onseuti&e 'P$ $% *essages to the other #$?s and then sends
one 'P$ $% *essage at an inter&al of 6s afterwards!
M 'fter reei&ing an 'P$ $% *essage" the other #$?s update %5 entries! #$?3 on
whih the P# owner port resides and #$?2 on whih the P# neighor port residesunlo, the respeti&e P# owner port and P# neighor port" and update %5
entries!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
226
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 239/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.3 #ayer 2 +P$ ring networ,ing (a lin, fails)
Clear
'fter a lear operation is perfor*ed on #$?6" the port that is forily lo,ed sends'P$ B *essages to all other ports on the +P$ ring!
M If the +P$ ring uses re&erti&e swithing" the P# owner port starts the ?T5 ti*er
after reei&ing an 'P$ B *essage! 'fter the ?T5 ti*er e4pires" the %$ operation
is leared! Then the P# owner port is lo,ed" and the lo,ed port on #$?6 is
unlo,ed! If a lear operation is perfor*ed on #$?3 on whih the P# owner portresides efore the ?T5 ti*er e4pires" the P# owner port is i**ediately lo,ed"
and the lo,ed port on #$?6 is unlo,ed!
M If the +P$ ring uses non-re&erti&e swithing and the P# owner port needs to e
lo,ed" perfor* a lear operation on #$?3 on whih the P# owner port resides!
:anual switch
Co*pared with an %$ operation" a *anual swith ($) operation triggers protetion
swithing in a si*ilar way e4ept that an $ operation does not ta,e effet in %$" $" or lin,
failure onditions!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
228
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 240/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
%1%1%" &+'S :ulti#ring 'rinciple
+P$&1 supports only single ring topology" whereas +P$&2 supports single and *ulti-ringtopologies!
' *ulti-ring networ, onsists of one or *ore *aor rings and su-rings! ' su-ring an ha&e a@C or B@C" depending on whether -'P$ P7s on the su-ring will e trans*itted to a*aor ring!
This setion desries how +P$ is i*ple*ented on a *ulti-ring networ, with su-rings thatha&e B@Cs when lin,s are nor*al" when a lin, fails" and when the lin, reo&ers!
-in.s Are <ormal
>n the *ulti-ring networ, shown in %igure 1!1" #$?1 through #$?6 onstitute a *aor ring
#$?2" #$?3" and #$?8 onstitute suring 1" and #$?3" #$?9" and #$?: onstitutesuring 2! The #$?s on eah ring an o**uniate with eah other!
To pre&ent loops" eah ring lo,s its P# owner port!
'll ports on eah ring send -'P$ (B) *essages to all other nodes on the sa*e ring at
an inter&al of 6s! The 'P$ B *essages on eah suring are ter*inated on the
interonnetion nodes and therefore are not trans*itted to the *aor ring!
Traffi etween PC1 and the upper-layer networ, tra&els along the path PC1 -L #$?8 -L
#$?2 -L #$?1 -L BP+1 traffi etween PC2 and the upper-layer networ, tra&els along the
path PC2 -L #$?: -L #$?9 -L #$?6 -L BP+2!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
22:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 241/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 +P$ *ulti-ring networ,ing (lin,s are nor*al)
A -in. 3ails
's shown in %igure 1!2" if the lin, etween #$?9 and #$?: fails" the +P$ protetion
swithing *ehanis* is triggered! The ports on oth ends of the faulty lin, are lo,ed" andthe P# owner port on suring 2 is unlo,ed to send and reei&e traffi! In this situation"
traffi fro* PC1 still tra&els along the original path! #$?2 and #$?3 infor* the other nodes
on the *aor ring of the topology hange so that traffi fro* PC2 is also not interrupted!
Traffi etween PC2 and the upper-layer networ, tra&els along the path PC2 -L #$?: -L#$?3 -L #$?2 -L #$?1 -L #$?6 -L BP+2! The proess is as follows/
!1 'fter #$?9 and #$?: detet the lin, fault" they lo, their ports on the faulty lin, andupdate %5 entries!
!2 #$?: sends three onseuti&e 'P$ $% *essages to the other #$?s and then sends
one 'P$ $% *essage at an inter&al of 6s afterwards!
!3 #$?: then unlo,s the P# owner port and updates %5 entries!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
22<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 242/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
!9 'fter the interonnetion node #$?3 reei&es an 'P$ $% *essage" it updates %5entries! #$?3 and #$?9 then send an 'P$ +&ent *essage within the *aor ring to
notify the topology hange in suring 2!
!6 'fter reei&ing the 'P$ +&ent *essage" the other #$?s on the *aor ring update %5
entries!Then traffi fro* PC2 is swithed to a nor*al lin,!
Figure 1.2 +P$ *ulti-ring networ,ing (a lin, is faulty)
The -in. +ecovers
'fter the lin, fault is retified" either of two situations *ay our/
If the +P$ ring uses re&erti&e swithing" the P# owner port is lo,ed again" and the
lin, that has reo&ered is used to forward traffi!
If the +P$ ring uses non-re&erti&e swithing" the P# re*ains unlo,ed" and the lin,
that has reo&ered is still lo,ed!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
22=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 243/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
The following e4a*ple uses re&erti&e swithing to illustrate the proess after the lin,reo&ers/
!1 'fter the lin, etween #$?9 and #$?: reo&ers" #$?9 and #$?: start a guard ti*erto a&oid reei&ing out-of-date 'P$ P7s! The two de&ies do not reei&e any 'P$
P7s efore the ti*er e4pires! Then #$?9 and #$?: send 'P$ B *essages withinsuring 2!
!2 #$?: on whih the P# owner port resides starts the ?T ti*er! 'fter the ?T ti*ere4pires" #$?: lo,s the P# owner port and unlo,s its port on the lin, that has
reo&ered and then sends 'P$ (B" 5) *essages within suring 2!
!3 'fter reei&ing an 'P$ (B" 5) *essage fro* #$?:" #$?9 unlo,s its port on the
reo&ered lin," stops sending 'P$ B *essages" and updates %5 flush entries!
#$?3 also updates %5 entries after reei&ing an 'P$ (B" 5) *essage fro*#$?:!
!9 #$?3 and #$?9" interonnetion nodes" then send an 'P$ +&ent *essage within the
*aor ring to notify the lin, reo&ery of suring 2!
!6 'fter reei&ing the 'P$ +&ent *essage" the other #$?s on the *aor ring update %5entries!
Then traffi hanges to the nor*al state" as shown in %igure 1!2!
%1%1%* &+'S :ulti#instance
>n a o**on +P$ networ," a physial ring an e onfigured with a single +P$ ring" and
a single lo,ed port an e speified on the ring! ?hen the +P$ ring is in nor*al state" the lo,ed port pre&ents all ser&ie pa,ets fro* passing through! 's a result" all ser&ie data is
trans*itted through one path o&er the +P$ ring" and the other lin, on the lo,ed port
eo*es idle" wasting andwidth! 's shown in %igure 1!1" when only +P$ ing1 is
onfigured" Interfae1 is lo,ed and data is forwarded through ata %low1! The lin, where
$withC" $with" and $with+ reside is idle!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
230
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 244/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 Betwor,ing of +P$ *ulti-instane
To i*pro&e lin, use effiieny" only two logial rings an e onfigured on the sa*e physial
ring in the +P$ *ulti-instane! ' port *ay ha&e different roles in different +P$ rings and
different +P$ rings use different ontrol @#'Bs! ' physial ring an ha&e two lo,ed portsaordingly! +ah lo,ed port independently *onitors the physial ring status and then
lo,s or unlo,s the ports! 'n +P$ ring *ust e onfigured with a proteted instane" and
eah instane speifies a range of @#'Bs! The topology alulated for a speifi +P$ ringonly ta,es effet on the +P$ ring! ifferent @#'Bs an use separate paths" i*ple*enting
traffi load alaning and lin, a,up!
's shown in %igure 1!1" +P$ ing1 and +P$ ing2 an e onfigured on the physial ringonsisting of $with' through $with+! Interfae1 is the lo,ed port in +P$ ing1! The
@#'Bs *apping to the proteted instane is @#'B 100 to @#'B 200! Interfae2 is the
lo,ed port in +P$ ing2! The @#'Bs *apping to the proteted instane is @#'B 300 to@#'B 900! 'fter the onfiguration is o*pleted" data fro* @#'B 100 to @#'B 200 is
forwarded through ata %low1" and data fro* @#'B 300 to @#'B 900 is forwarded through
ata %low2! In this *anner" load alaning is i*ple*ented and lin, use effiieny is
i*pro&ed!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
231
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 245/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
%1%! ?ersion Di@erence
$tarting fro* @200001" de&ies support +P$! There is slight differene etween +P$
supported y different &ersions!
$tarting fro* @200001" swithes support +P$&1! +P$ is a standard protool issued y the IT7-T to pre&ent loops on ring networ,s! It allows all +P$-apale de&ies on a
ring networ, to o**uniate! $withes support only single-ring networ,ing!
$tarting fro* @200003" swithes support +P$&2! +P$&2 was released y A!<032
IT7-T in 'ugust 2010! +P$&2 is o*patile with +P$&1 and pro&ides the following
enhane*ents/ *ulti-ring networ,ing" %$" $" re&erti&eDnon-re&erti&e swithing" and
C% assoiation!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
232
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 246/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
%! Con>guration uide
%!%1 Scenario 18 Con>guring a Single &+'S Instance
%!%1%1 <etwor.ing Description
's shown in %igure 1!1" to i*pro&e networ, reliaility" the aggregation layer uses the ring
networ, ($with' through $with+ onstitute a ring networ,)! This ring networ,(aggregation ring) i*ple*ents #ayer 2 aggregation and onnets to the #ayer 3 networ,! In
addition" de&ies on the ring networ, *ay o*e fro* different &endors!
The aggregation ring needs to use a protool that protets rings and i*ple*ents fast
swithing! This protool is reuired to pro&ide good o*patiility so that de&ies fro*
different &endors an o**uniate!
+P$ an e deployed on de&ies on the ring networ, to protet rings and i*ple*ent fast
swithing! 5eause +P$ is a standard protool issued y the IT7-T" +P$ allows de&ies
fro* different &endors to o**uniate!
Pa,ets elong to @#'Bs 100 through 200! To pre&ent loops on the ring networ," deploy
+P$ on de&ies of the ring networ,! ata pa,ets fro* the C+s are trans*itted as follows/
Pa,ets sent fro* C+1 are forwarded through $with5 and $with'! Pa,ets sent fro*
C+2 are forwarded through $withC" $with5" and $with'! Pa,ets sent fro* C+3 are
forwarded through $with and $with+!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
233
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 247/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 +P$ single-ring networ,ing
%!%1%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure #ayer 2 forwarding on $with' through $with+!
2! Create an +P$ ring" and onfigure a ontrol @#'B and a proteted instane! Theontrol @#'B is onfigured for an +P$ ring to trans*it 'P$ P7s! The @#'B in
whih 'P$ P7s and data pa,ets are trans*itted *ust e *apped to a proteted
instane so that +P$ forwards or lo,s the @#'B pa,ets!
3! 'dd #ayer 2 ports onneting the swithes to the +P$ ring and onfigure A+1D0D2 on
$withC as the P# owner port! Bor*ally" the P# owner port is lo,ed to eli*inateloops! ?hen a lin, on the ring networ, fails" +P$ i**ediately unlo,s the lo,ed
port and perfor*s lin, swithing to restore o**uniation etween nodes on the ring
networ,!
9! $et the guard ti*er and ?T ti*er for the +P$ ring!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
239
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 248/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
%!%1%" Con>guration &7ample
Step 1 Configure #ayer 2 forwarding on $with' through $with+!
N Configure $with'!
<Switch> system-view
[Switch] sysname Switch8
[Switch8] vlan %atch 100 to 00
[Switch8] inter$ace giga%itethernet 1&0&1
[Switch8-'iga%it(thernet1&0&1] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&1] port trun) allow-pass vlan 100 to 00
[Switch8-'iga%it(thernet1&0&1] quit
[Switch8] inter$ace giga%itethernet 1&0&
[Switch8-'iga%it(thernet1&0&] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&] port trun) allow-pass vlan 100 to 00
[Switch8-'iga%it(thernet1&0&] quit
N The onfigurations of $with5" $withC" $with" and $with+ are si*ilar to theonfiguration of $with'" and onfiguration details are not *entioned here!
Step ! Create an +P$ ring" onfigure @#'B 10 as the ontrol @#'B to trans*it 'P$ P7s" and
ind @#'Bs 100 through 200 to a proteted instane!
N Configure $with'!
[Switch8] erps ring 1
[Switch8-erps-ring1] control-vlan 10
[Switch8-erps-ring1] protected-instance 1
[Switch8-erps-ring1] quit
[Switch8] stp region-con$iguration
[Switch8-mst-region] instance
1 vlan 10 100 to 00
[Switch8-mst-region] active region-con$iguration
[Switch8-mst-region] quit
N The onfigurations of $with5" $withC" $with" and $with+ are si*ilar to the
onfiguration of $with'" and onfiguration details are not *entioned here!
Step " isale $TP on interfaes" add interfaes to the +P$ ring" and onfigure A+1D0D2 on
$withC as the P# owner port!
N Configure $with'!
[Switch8] inter$ace giga%itethernet 1&0&1
[Switch8-'iga%it(thernet1&0&1] stp disa%le
[Switch8-'iga%it(thernet1&0&1] erps ring 1[Switch8-'iga%it(thernet1&0&1] quit
[Switch8] inter$ace giga%itethernet 1&0&
[Switch8-'iga%it(thernet1&0&] stp disa%le
[Switch8-'iga%it(thernet1&0&] erps ring 1
[Switch8-'iga%it(thernet1&0&] quit
N Configure $withC!
[Switch,] inter$ace giga%itethernet 1&0&1
[Switch,-'iga%it(thernet1&0&1] stp disa%le
[Switch,-'iga%it(thernet1&0&1] erps ring 1
[Switch,-'iga%it(thernet1&0&1] quit
[Switch,] inter$ace giga%itethernet 1&0&
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
236
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 249/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch,-'iga%it(thernet1&0&] stp disa%le
[Switch,-'iga%it(thernet1&0&] erps ring 1 rpl owner
[Switch,-'iga%it(thernet1&0&] quit
N The onfigurations of $with5" $with" and $with+ are si*ilar to the onfiguration of
$with'" and onfiguration details are not *entioned here!
Step * $et the guard ti*er and ?T ti*er for the +P$ ring!
N Configure $with'!
[Switch8] erps ring 1
[Switch8-erps-ring1] wtr-timer 2
[Switch8-erps-ring1] guard-timer 100
[Switch8-erps-ring1] quit
N The onfigurations of $with5" $withC" $with" and $with+ are si*ilar to the
onfiguration of $with'" and onfiguration details are not *entioned here!
Step ) @erify the onfiguration!
'fter the preeding onfigurations are o*plete" perfor* the following operations to &erifythe onfiguration! The display on $withC is used as an e4a*ple!
un the display erps ring 1 o**and to &iew rief infor*ation aout the +P$ ring" and
ports of $withC that ha&e een added to the ring!
[Switch,] display erps ring 1
5 4 5iscarding
? 4 ?orwarding
/ 4 /L @wner
/ing ,ontrol W6/ 6imer 'uard 6imer ort 1 ort
.5 =L8 9min 9csec--------------------------------------------------------------------------------
1 10 2 100 9?'(1&0&1 95D/'(1&0&
--------------------------------------------------------------------------------
un the display erps ring 1 "erbose o**and to &iew detailed infor*ation aout the +P$
ring" and ports of $withC that ha&e een added to the ring!
[Switch,] display erps ring 1 ver%ose
/ing .5 4 1
5escription 4 /ing 1
,ontrol =lan 4 10
rotected .nstance 4 1
W6/ 6imer Setting 9min 4 2 /unning 9s 4 0'uard 6imer Setting 9csec 4 100 /unning 9csec 4 0
Eoldo$$ 6imer Setting 9deciseconds 4 0 /unning 9deciseconds 4 0
/ing State 4 .dle
/8SJB(L 4 :
6ime since last topology change 4 0 days 0h4!!m4"s
--------------------------------------------------------------------------------
ort ort /ole ort Status Signal Status
--------------------------------------------------------------------------------
'(1&0&1 ,ommon ?orwarding on-$ailed
'(1&0& /L @wner 5iscarding on-$ailed
----End
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
238
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 250/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Con>guration 3iles
Configuration file of $with'
+
sysname Switch8
+
vlan %atch 10 100 to 00
+
stp region-con$iguration
instance 1 vlan 10 100 to 00
active region-con$iguration
+
erps ring 1
control-vlan 10
protected-instance 1
wtr-timer 2
guard-timer 100
+inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 to 00
stp disa%le
erps ring 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100 to 00
stp disa%le
erps ring 1
+
return
Configuration file of $with5
+
sysname Switch3
+
vlan %atch 10 100 to 00
+
stp region-con$iguration
instance 1 vlan 10 100 to 00
active region-con$iguration
+
erps ring 1 control-vlan 10
protected-instance 1
wtr-timer 2
guard-timer 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 to 00
stp disa%le
erps ring 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
23:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 251/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
port trun) allow-pass vlan 10 100 to 00
stp disa%le
erps ring 1
+
return
Configuration file of $withC
+
sysname Switch,
+
vlan %atch 10 100 to 00
+
stp region-con$iguration
instance 1 vlan 10 100 to 00
active region-con$iguration
+
erps ring 1
control-vlan 10
protected-instance 1
wtr-timer 2
guard-timer 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 to 00
stp disa%le
erps ring 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100 to 00
stp disa%le
erps ring 1 rpl owner
+
return
Configuration file of $with
+
sysname Switch5
+
vlan %atch 10 100 to 00
+
stp region-con$iguration
instance 1 vlan 10 100 to 00
active region-con$iguration
+
erps ring 1
control-vlan 10
protected-instance 1
wtr-timer 2
guard-timer 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 to 00
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
23<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 252/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
stp disa%le
erps ring 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100 to 00
stp disa%le
erps ring 1
+
return
Configuration file of $with+
+
sysname Switch(
+
vlan %atch 10 100 to 00
+
stp region-con$iguration
instance 1 vlan 10 100 to 00
active region-con$iguration
+
erps ring 1
control-vlan 10
protected-instance 1
wtr-timer 2
guard-timer 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 100 to 00
stp disa%le
erps ring 1
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 100 to 00
stp disa%le
erps ring 1
+
return
%!%! Scenario !8 Con>guring &+'S :ulti#instance
%!%!%1 <etwor.ing Description
's shown in %igure 1!1" to i*pro&e networ, reliaility" the aggregation layer uses the ringnetwor, ($with' through $with+ onstitute a ring networ,)! This ring networ, i*ple*ents
#ayer 2 aggregation and onnets to the #ayer 3 networ,! In addition" de&ies on the ring
networ, *ay o*e fro* different &endors!
The aggregation ring needs to use a protool that protets rings and i*ple*ents fast
swithing! This protool is reuired to pro&ide good o*patiility so that de&ies fro*
different &endors an o**uniate! #in, resoures need to e fully used to trans*it data!
+P$ an e deployed on de&ies on the ring networ, to protet rings and i*ple*ent fast
swithing! 5eause +P$ is a standard protool issued y the IT7-T" +P$ allows de&ies
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
23=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 253/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
fro* different &endors to o**uniate! Huawei +P$ supports *ulti-instane so that datafro* different @#'Bs an e forwarded through different paths" *a4i*iing lin, usage!
ata pa,ets fro* @#'Bs 100 to 200 and @#'Bs 300 to 900 need to e trans*itted fro* thering networ, to the #ayer 3 networ,! To pre&ent loops on the ring networ," deploy +P$ on
de&ies of the ring networ,! To *a,e full use of lin, resoures" data pa,ets fro* @#'Bs 100to 200 need to e trans*itted along the path $withC -L $with5 -L $with'" and data pa,ets fro* @#'Bs 300 to 900 need to e trans*itted along the path $withC -L $with
-L $with+ so that load alaning is i*ple*ented!
Figure 1.1 Betwor,ing of +P$ *ulti-instane
%!%!%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! Configure #ayer 2 forwarding on $with' through $with+!
2! Create +P$ ring 1" and onfigure a ontrol @#'B and proteted instane! @#'Bs 100
to 200 are ound to the proteted instane!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
290
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 254/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
3! 'dd #ayer 2 ports to +P$ ring 1 and onfigure A+1D0D2 on $with C as the P# owner port! Bor*ally" the P# owner port is lo,ed" so data pa,ets fro* @#'Bs 100 to 200
are trans*itted along the path $withC -L $with5 -L $with'!
9! $et the guard ti*er and ?T ti*er for +P$ ring 1!
6! Create +P$ ring 2" and onfigure a ontrol @#'B and proteted instane! The ontrol@#'B on +P$ ring 2 is different fro* that on +P$ ring 1" and @#'Bs 300 to 900 are ound to the proteted instane!
8! 'dd #ayer 2 ports to +P$ ring 2 and onfigure A+1D0D1 on $with C as the P# owner
port! Bor*ally" the P# owner port is lo,ed" so data pa,ets fro* @#'Bs 300 to 900
are trans*itted along the path $withC -L $with -L $with+! That is" data pa,ets
fro* @#'Bs 100 to 200 and @#'Bs 300 to 900 are forwarded through different paths"i*ple*enting load alaning!
:! $et the guard ti*er and ?T ti*er for +P$ ring 2!
%!%!%" Con>guration &7ample
Step 1 Configure #ayer 2 forwarding on $with' through $with+!
N Configure $with'!
<Switch> system-view
[Switch] sysname Switch8
[Switch8] vlan %atch 100 to 00 !00 to "00
[Switch8] inter$ace giga%itethernet 1&0&1
[Switch8-'iga%it(thernet1&0&1] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&1] port trun) allow-pass vlan 100 to 00 !00 to "00
[Switch8-'iga%it(thernet1&0&1] quit
[Switch8] inter$ace giga%itethernet 1&0&
[Switch8-'iga%it(thernet1&0&] port lin)-type trun)
[Switch8-'iga%it(thernet1&0&] port trun) allow-pass vlan 100 to 00 !00 to "00
[Switch8-'iga%it(thernet1&0&] quit
N The onfigurations of $with5" $withC" $with" and $with+ are si*ilar to theonfiguration of $with'" and onfiguration details are not *entioned here!
Step ! Create +P$ ring 1" onfigure @#'B 10 as the ontrol @#'B to trans*it 'P$ P7s" and
ind @#'Bs 100 through 200 to the proteted instane!
N Configure $with'!
[Switch8] erps ring 1
[Switch8-erps-ring1] control-vlan 10
[Switch8-erps-ring1] protected-instance 1
[Switch8-erps-ring1] quit
[Switch8] stp region-con$iguration
[Switch8-mst-region] instance 1 vlan 10 100 to 00
[Switch8-mst-region] active region-con$iguration
[Switch8-mst-region] quit
N The onfigurations of $with5" $withC" $with" and $with+ are si*ilar to the
onfiguration of $with'" and onfiguration details are not *entioned here!
Step " isale $TP on interfaes" add interfaes to the +P$ ring" and onfigure A+1D0D2 on
$withC as the P# owner port!
N Configure $with'!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
291
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 255/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch8] inter$ace giga%itethernet 1&0&1
[Switch8-'iga%it(thernet1&0&1] stp disa%le
[Switch8-'iga%it(thernet1&0&1] erps ring 1
[Switch8-'iga%it(thernet1&0&1] quit
[Switch8] inter$ace giga%itethernet 1&0&
[Switch8-'iga%it(thernet1&0&] stp disa%le
[Switch8-'iga%it(thernet1&0&] erps ring 1
[Switch8-'iga%it(thernet1&0&] quit
N Configure $withC!
[Switch,] inter$ace giga%itethernet 1&0&1
[Switch,-'iga%it(thernet1&0&1] stp disa%le
[Switch,-'iga%it(thernet1&0&1] erps ring 1
[Switch,-'iga%it(thernet1&0&1] quit
[Switch,] inter$ace giga%itethernet 1&0&
[Switch,-'iga%it(thernet1&0&] stp disa%le
[Switch,-'iga%it(thernet1&0&] erps ring 1 rpl owner
[Switch,-'iga%it(thernet1&0&] quit
N The onfigurations of $with5" $with" and $with+ are si*ilar to the onfiguration of
$with'" and onfiguration details are not *entioned here!
Step * $et the guard ti*er and ?T ti*er for +P$ ring 1!
N Configure $with'!
[Switch8] erps ring 1
[Switch8-erps-ring1] wtr-timer 2
[Switch8-erps-ring1] guard-timer 100
[Switch8-erps-ring1] quit
N The onfigurations of $with5" $withC" $with" and $with+ are si*ilar to theonfiguration of $with'" and onfiguration details are not *entioned here!
Step ) Create +P$ ring 2" onfigure @#'B 20 as the ontrol @#'B to trans*it 'P$ P7s" and
ind @#'Bs 300 through 900 to the proteted instane!
N Configure $with'!
[Switch8] erps ring
[Switch8-erps-ring1] control-vlan 0
[Switch8-erps-ring1] protected-instance
[Switch8-erps-ring1] quit
[Switch8] stp region-con$iguration
[Switch8-mst-region] instance vlan 0 !00 to "00[Switch8-mst-region] active region-con$iguration
[Switch8-mst-region] quit
N The onfigurations of $with5" $withC" $with" and $with+ are si*ilar to theonfiguration of $with'" and onfiguration details are not *entioned here!
Step isale $TP on interfaes" add interfaes to +P$ ring 2" and onfigure A+1D0D1 on $withC
as the P# owner port!
N Configure $with'!
[Switch8] inter$ace giga%itethernet 1&0&1
[Switch8-'iga%it(thernet1&0&1] stp disa%le
[Switch8-'iga%it(thernet1&0&1] erps ring
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
292
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 256/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Switch8-'iga%it(thernet1&0&1] quit
[Switch8] inter$ace giga%itethernet 1&0&
[Switch8-'iga%it(thernet1&0&] stp disa%le
[Switch8-'iga%it(thernet1&0&] erps ring
[Switch8-'iga%it(thernet1&0&] quit
N Configure $withC!
[Switch,] inter$ace giga%itethernet 1&0&1
[Switch,-'iga%it(thernet1&0&1] stp disa%le
[Switch,-'iga%it(thernet1&0&1] erps ring rpl owner
[Switch,-'iga%it(thernet1&0&1] quit
[Switch,] inter$ace giga%itethernet 1&0&
[Switch,-'iga%it(thernet1&0&] stp disa%le
[Switch,-'iga%it(thernet1&0&] erps ring
[Switch,-'iga%it(thernet1&0&] quit
N The onfigurations of $with5" $with" and $with+ are si*ilar to the onfiguration of
$with'" and onfiguration details are not *entioned here!
Step ( $et the guard ti*er and ?T ti*er for +P$ ring 2!
N Configure $with'!
[Switch8] erps ring
[Switch8-erps-ring1] wtr-timer 2
[Switch8-erps-ring1] guard-timer 100
[Switch8-erps-ring1] quit
N The onfigurations of $with5" $withC" $with" and $with+ are si*ilar to the
onfiguration of $with'" and onfiguration details are not *entioned here!
Step , @erify the onfiguration!
'fter the preeding onfigurations are o*plete" perfor* the following operations to &erify
the onfiguration! The display on $withC is used as an e4a*ple!
un the display erps ring 1 o**and to &iew rief infor*ation aout the +P$ ring" and
ports of $withC that ha&e een added to the ring!
[Switch,] display erps ring 1
5 4 5iscarding
? 4 ?orwarding
/ 4 /L @wner
/ing ,ontrol W6/ 6imer 'uard 6imer ort 1 ort
.5 =L8 9min 9csec--------------------------------------------------------------------------------
1 10 2 100 9?'(1&0&1 95D/'(1&0&
--------------------------------------------------------------------------------
un the display erps ring 2 o**and to &iew rief infor*ation aout the +P$ ring" and ports of $withC that ha&e een added to the ring!
[Switch,] display erps ring
5 4 5iscarding
? 4 ?orwarding
/ 4 /L @wner
/ing ,ontrol W6/ 6imer 'uard 6imer ort 1 ort
.5 =L8 9min 9csec
--------------------------------------------------------------------------------
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
293
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 257/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
0 2 100 95D/'(1&0&1 9?'(1&0&
--------------------------------------------------------------------------------
un the display erps ring 1 "erbose o**and to &iew detailed infor*ation aout the +P$
ring" and ports of $withC that ha&e een added to the ring!
[Switch,] display erps ring 1 ver%ose
/ing .5 4 1
5escription 4 /ing 1
,ontrol =lan 4 10
rotected .nstance 4 1
W6/ 6imer Setting 9min 4 2 /unning 9s 4 0
'uard 6imer Setting 9csec 4 100 /unning 9csec 4 0
Eoldo$$ 6imer Setting 9deciseconds 4 0 /unning 9deciseconds 4 0
/ing State 4 .dle
/8SJB(L 4 :
6ime since last topology change 4 0 days 0h4!!m4"s
--------------------------------------------------------------------------------
ort ort /ole ort Status Signal Status
--------------------------------------------------------------------------------
'(1&0&1 ,ommon ?orwarding on-$ailed
'(1&0& /L @wner 5iscarding on-$ailed
un the display erps ring 2 "erbose o**and to &iew detailed infor*ation aout the +P$
ring" and ports of $withC that ha&e een added to the ring!
[Switch,] display erps ring ver%ose
/ing .5 4
5escription 4 /ing
,ontrol =lan 4 0
rotected .nstance 4
W6/ 6imer Setting 9min 4 2 /unning 9s 4 0
'uard 6imer Setting 9csec 4 100 /unning 9csec 4 0
Eoldo$$ 6imer Setting 9deciseconds 4 0 /unning 9deciseconds 4 0
/ing State 4 .dle
/8SJB(L 4 :
6ime since last topology change 4 0 days 0h4!!m4"s
--------------------------------------------------------------------------------
ort ort /ole ort Status Signal Status
--------------------------------------------------------------------------------
'(1&0&1 /L @wner 5iscarding on-$ailed
'(1&0& ,ommon ?orwarding on-$ailed
----End
Con>guration 3iles
Configuration file of $with'
+
sysname Switch8
+
vlan %atch 10 0 100 to 00 !00 to "00
+
stp region-con$iguration
instance 1 vlan 10 100 to 00
instance vlan 0 !00 to "00
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
299
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 258/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
active region-con$iguration
+
erps ring 1
control-vlan 10
protected-instance 1
wtr-timer 2
guard-timer 100
erps ring
control-vlan 0
protected-instance
wtr-timer 2
guard-timer 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 to 00 !00 to "00
stp disa%le
erps ring 1 erps ring
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 to 00 !00 to "00
stp disa%le
erps ring 1
erps ring
+
return
Configuration file of $with5
+
sysname Switch3
+
vlan %atch 10 0 100 to 00 !00 to "00
+
stp region-con$iguration
instance 1 vlan 10 100 to 00
instance vlan 0 !00 to "00
active region-con$iguration
+
erps ring 1
control-vlan 10
protected-instance 1 wtr-timer 2
guard-timer 100
erps ring
control-vlan 0
protected-instance
wtr-timer 2
guard-timer 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 to 00 !00 to "00
stp disa%le
erps ring 1
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
296
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 259/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
erps ring
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 to 00 !00 to "00
stp disa%le
erps ring 1
erps ring
+
return
Configuration file of $withC
+
sysname Switch,
+
vlan %atch 10 0 100 to 00 !00 to "00
+
stp region-con$iguration
instance 1 vlan 10 100 to 00
instance vlan 0 !00 to "00
active region-con$iguration
+
erps ring 1
control-vlan 10
protected-instance 1
wtr-timer 2
guard-timer 100
erps ring
control-vlan 0
protected-instance
wtr-timer 2
guard-timer 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 to 00 !00 to "00
stp disa%le
erps ring 1
erps ring rpl owner
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 to 00 !00 to "00 stp disa%le
erps ring 1 rpl owner
erps ring
+
return
Configuration file of $with
+
sysname Switch5
+
vlan %atch 10 0 100 to 00 !00 to "00
+
stp region-con$iguration
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
298
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 260/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
instance 1 vlan 10 100 to 00
instance vlan 0 !00 to "00
active region-con$iguration
+
erps ring 1
control-vlan 10
protected-instance 1
wtr-timer 2
guard-timer 100
erps ring
control-vlan 0
protected-instance
wtr-timer 2
guard-timer 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 to 00 !00 to "00 stp disa%le
erps ring 1
erps ring
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 to 00 !00 to "00
stp disa%le
erps ring 1
erps ring
+
return
Configuration file of $with+
+
sysname Switch(
+
vlan %atch 10 0 100 to 00 !00 to "00
+
stp region-con$iguration
instance 1 vlan 10 100 to 00
instance vlan 0 !00 to "00
active region-con$iguration
+
erps ring 1 control-vlan 10
protected-instance 1
wtr-timer 2
guard-timer 100
erps ring
control-vlan 0
protected-instance
wtr-timer 2
guard-timer 100
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 to 00 !00 to "00
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
29:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 261/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
stp disa%le
erps ring 1
erps ring
+
inter$ace 'iga%it(thernet1&0&
port lin)-type trun)
port trun) allow-pass vlan 10 0 100 to 00 !00 to "00
stp disa%le
erps ring 1
erps ring
+
return
%!%" Deployment 'recautions
%!%"%1 Associate &thernet C3: with &+'S ;hen an
Intermediate Transmission Device Is Deployed on an &+'S+ing
0es!ription/ ?hen an inter*ediate trans*ission de&ie is deployed on an +P$ ring"
assoiate +thernet C% with +P$ so that lin, faults on the inter*ediate trans*ission de&iean e deteted!
oot !ause/ +P$ does not pro&ide a *ehanis* to detet lin, faults! ?hen an inter*ediatetrans*ission de&ie is deployed on an +P$ ring and lin, faults on the inter*ediate
trans*ission de&ie our" +P$ annot detet the faults! 's a result" the P$ owner port
annot e unlo,ed" and ser&ie traffi is affeted!
dentii!ation #ethod/ Co**ands annot e used to he, whether an inter*ediate
trans*ission de&ie is deployed on an +P$ ring" so learn aout the networ, deploy*entsolution! If assoiation etween +thernet C% and +P$ is not supported" do not deploy aninter*ediate trans*ission de&ie on an +P$ ring!
olution/ un the erps ring ring-id tra! !# #d md-name #a ma-name #ep me!-id
re#ote-#ep rme!-id o**and in the interfae &iew to assoiate +thernet C% with +P$!
ersions in"ol"ed/ @200003C00 and later &ersions
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
29<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 262/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
%" Troubleshooting
%"%1 Troubleshooting Overview
%aster protetion swithing on +thernet networ,s is reuired! $TP does not *eet thereuire*ent for on&ergene perfor*ane! PP and $+P are Huawei proprietary ring
protools" whih annot e used for o**uniation etween Huawei and non-Huawei
de&ies on a ring networ,! +P$ is a standard protool issued y the IT7-T to pre&ent loopson ring networ,s! It allows all +P$-apale de&ies on a ring networ, to o**uniate!
uring +P$ appliation" +P$ faults *ay our! This setion desries how to trouleshoot
+P$ faults!
%"%! TraBc 3orwarding 3ails on an &+'S -in.
This setion desries the possile auses of a traffi forwarding failure on an +P$ lin, and pro&ides a step-y-step trouleshooting proedure!
%"%!%1 3ault Description
'fter +P$ is onfigured" user data traffi annot e orretly forwarded due to anor*al
ring status!
%"%!%! Troubleshooting +oadmap
The trouleshooting road*ap is as follows/
The lin, fails!
The +P$ onfiguration is inorret!
The interfae does not allow pa,ets of the speified @#'B to pass!
%"%!%" Troubleshooting 3lowchart
%igure 1!1 shows the trouleshooting flowhart!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
29=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 263/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 +P$ lin, trouleshooting flowhart
%"%!%* Troubleshooting 'rocedure
Step 1 Che, the port roles on the +P$ ring and status of eah de&ie on the ring!
'n +P$ ring should ha&e only one ring protetion lin, (P#) owner and all the other ports
should e o**on ports!
un the display erps $ ring ring-id % O &erose Q o**and in any &iew to he, whether the
+P$ status is Idle! (Perfor* this operation on eah de&ie on the +P$ ring!)
[Switch] display erps ring 1 ver%ose
/ing .5 4 1
5escription 4 /ing 1
,ontrol =lan 4 10#
rotected .nstance 4 0 to "*
W6/ 6imer Setting 9min 4 1 /unning 9s 4 0
'uard 6imer Setting 9csec 4 00 /unning 9csec 4 0
Eoldo$$ 6imer Setting 9deciseconds 4 0 /unning 9deciseconds 4 0
/ing State 4 'dle
/8SJB(L 4 :
6ime since last topology change 4 0 days 0h4m4#!s
--------------------------------------------------------------------------------
ort ort /ole ort Status Signal Status
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
260
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 264/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
--------------------------------------------------------------------------------
'(1&0&1 ,ommon ?orwarding on-$ailed
'(1&0& !8 (*ner 5iscarding on-$ailed
If the +P$ status on a de&ie is not Idle" he, that the +P$ onfiguration is orret!
Ao to step 2! If the +P$ status on all de&ies is Idle" go to step 9!
Step ! Che, whether the interfae with an +P onfigured is in own state!
un the display intera!e o**and in any &iew to he, the interfae status!
<Switch> display inter$ace giga%itethernet1&0&1
'iga%it(thernet1&0&1 current state 4 5@W
Line protocol current state 4 5@W
5escription4EH8W(.D Cuidway SeriesD 'iga%it(thernet1&0&1 .nter$ace
Switch ortD =.5 4 1D 6.5 4 *1009EeD 6he Baimum ?rame Length is 1200
. Sending ?ramesI ?ormat is A6?B6J(6E6JD Eardware address is 000%-01*-*%c1
ort Bode4 ,@BB@ ,@(/Speed 4 10D Loop%ac)4 @(
5uple4 E8L?D egotiation4 (83L(
Bdi 4 8H6@
Last !00 seconds input rate 0 %its&secD 0 pac)ets&sec
Last !00 seconds output rate 0 %its&secD 0 pac)ets&sec
.nput pea) rate 0 %its&secD /ecord time4 -
@utput pea) rate 0 %its&secD /ecord time4 -
.nput4 0 pac)etsD 0 %ytes
Hnicast 4 0D Bulticast 4 0
3roadcast 4 0D Kum%o 4 0
,/, 4 0D 'iants 4 0
Ka%%ers 4 0D ?ragments 4 0
/unts 4 0D 5rop(vents 4 0
8lignments 4 0D Sym%ols 4 0
.gnoreds 4 0D ?rames 4 0
5iscard 4 0D 6otal (rror 4 0
@utput4 0 pac)etsD 0 %ytes
Hnicast 4 0D Bulticast 4 0
3roadcast 4 0D Kum%o 4 0
,ollisions 4 0D 5e$erreds 4 0
Late ,ollisions4 0D (cessive,ollisions4 0
3u$$ers urged 4 0
5iscard 4 0D 6otal (rror 4 0
.nput %andwidth utiliation threshold 4 100;00M
@utput %andwidth utiliation threshold4 100;00M.nput %andwidth utiliation 4 0;00M
@utput %andwidth utiliation 4 0;00M
If the interfae is in own state" run the display this o**and in the interfae &iew to
he, whether the interfae has een shut down!
M If the o**and output displays shutdown" run the undo shutdown o**and in the
interfae &iew!
M If the o**and output does not display shutdown" go to step 3!
If the interfae is in 7p state" go to step 9!
Step " Che, whether the physial interfae is wor,ing properly!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
261
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 265/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
If the physial interfae is faulty" retify the fault aording to +thernet Interfae
Trouleshooting!
If the physial interfae is wor,ing properly" go to step 9!
Step * Che, whether the interfae allows data pa,ets of the speified @#'B to pass!
un the display this o**and in the interfae &iew to he, the @#'Bs allowed y theinterfae!
[Cuidway-'iga%it(thernet1&0&1] display this
+
inter$ace 'iga%it(thernet1&0&1
port lin)-type trun)
port trunk allo*-pass vlan 1029
stp disa%le
erps ring 1
+
If the interfae does not allow pa,ets of the speified @#'B to pass" onfigure it toallow pa,ets of this @#'B to pass!
If the interfae allows pa,ets of the speified @#'B to pass" go to step 6!
Step ) Collet the following infor*ation and ontat Huawei tehnial support personnel!
esults of the preeding trouleshooting proedure
Configuration file" logs" and alar*s of the de&ie
----End
%"%" In6ormation Collection
If the fault annot e loated" ollet the following infor*ation! If non-Huawei de&ies are
in&ol&ed" ollet infor*ation aording to the o**and referene! %or *ethods of olletingswith logs and diagnosis logs" see hapter =$with #ogs and iagnosis #ogs!
%"%"%1 <etwor. Topology
Collet networ, topology infor*ation inluding de&ie na*es" syste* 'C addresses" and
na*es of onneted ports!
%"%"%! display Command -ist
Command Description
display &ersion isplays &ersion infor*ation!
display de&ie isplays de&ie status!
display path-infor*ation isplays path infor*ation!
display pu-usage (slot slot-id ) isplays CP7 usage!
display *e*ory-usage (slot slot-id ) isplays *e*ory usage!
display urrent-onfiguration isplays the de&ie onfiguration!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
262
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 266/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Command Description
display interfae isplays traffi on all ports e&ery 6 *inutes or
twie!
display erps Oring ring-idQ statistis isplays +P$ statistis!
display erps Oring ring-idQ &erose isplays detailed +P$ infor*ation!
display loguffer isplays infor*ation in the log uffer!
display trapuffer isplays infor*ation in the trap uffer!
reset erps statistis Clears statistis on reei&ed and sent 'P$P7s!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
263
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 267/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
%* Troubleshooting Cases
%*%1 &+'S Cannot ;or. 'roperly ;hen the SwitchConnects to an +T< Device
%*%1%1 Symptom and <etwor.ing
's shown in %igure 1!1" $with'" $with5" T'" and T5 onstitute a ring networ," and
+P$ is deployed on the four de&ies! 5oth the P# owner port and swith port are lo,ed!
Figure 1.1 +P$ networ,ing
%*%1%! +oot Cause
'P$ P7s sent y the TB and swith are different! The &alue of +therType in 'P$P7s sent y the TB is 04<<0=! 'tually" the &alue should e 04<<02! 's a result" the
swith annot send the 'P$ P7s fro* the TB! The swith interfae is also lo,ed!
%*%1%" Identi>cation :ethod
1! un the display erps "erbose o**and to he, the +P$ port status!
<Swtich3> display erps ver%ose
/ing .5 4 1
5escription 4 /ing 1
,ontrol =lan 4 "0"
rotected .nstance 4 1
W6/ 6imer Setting 9min 4 # /unning 9s 4 0
'uard 6imer Setting 9csec 4 #0 /unning 9csec 4 0
Eoldo$$ 6imer Setting 9deciseconds 4 0 /unning 9deciseconds 4 0
/ing State 4 ending
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
269
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 268/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
/8SJB(L 4 :
6ime since last topology change 4 0 days 0h4!1m4!2s
------------------------------------------------------------------------------
--
ort ort /ole ort Status Signal Status
------------------------------------------------------------------------------
--
(th-6run)1 ,ommon ?orwarding on-$ailed
'(&0&!2 ,ommon 5iscarding on-$ailed
The P# owner port of the TB and A+2D0D38 on $with5 are lo,ed" indiating that
the +P$ port status is anor*al!
2! un the display erps statisti!s o**and to he, whether the swith reei&es 'P$
P7s fro* the TB!
<Swtich3> display erps statistics
------------------------------------------------------------------------------
--
/ing ort 5irection S? / //3------------------------------------------------------------------------------
--
1 (th-6run)1 / 0 *0 0
1 (th-6run)1 6 0 12 0
1 '(&0&!2 / 0 0 0
1 '(&0&!2 6 0 11 0
The preeding infor*ation shows that A+2D0D38 does not reei&e 'P$ P7s fro*
TB5! Capture pa,ets on the lin, of A+2D0D38 and o*pare the 'P$ P7s sent ythe TB and swith! The &alue of +therType in 'P$ P7s sent y the TB is 04<<0="
and the &alue of +therType in 'P$ P7s sent y the swith is 04<<02! The orret
&alue of +therType is 04<<02! 's a result" the swith annot send 'P$ P7s fro* the
TB!
%*%1%* Solution
?hen usto*er reuire*ents are *et" deploy a loop pre&ention tehnology!
%*%1%) Summary
In +P$ interwor,ing senarios" he, whether 'P$ P7s sent y de&ies are orret!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
266
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 269/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
( -DT-2DT
(%1 -DT-2DT Overview
(%1%1 -oop Detection
Introduction to -oop Detection
#oop detetion is a lin, layer protool designed for +thernet networ,s! 'n interfae with loop
detetion enaled detets loops in the loal @#'B! 'fter loop detetion is onfigured on aninterfae" the de&ie uses the interfae to send loop detetion pa,ets and detets loops in the
@#'B that the interfae elongs to!
?hen deteting that loop detetion pa,ets sent fro* the interfae an e reei&ed y otherinterfaes on the de&ie" the de&ie onsiders that loops e4ist on the networ, of this interfae!
The de&ie sends a trap *essage to the user and reords the e&ent in the log! In addition" the
de&ie sets the interfae status (shutdown y default) ased on the interfae wor,ing *ode to*ini*ie the i*pat of loops on the entire networ,!
Applicable Scenario o6 -oop Detection
's shown in %igure 1!1" loops our eause inorret onnetions or onfiguration duringnetwor, plan! +ah swith is onfigured to allow @#'B 100! 's a result" loops our in
@#'B 100! #oops ause roadast stor*s!
The user reuires that loops an e deteted and re*o&ed in a ti*ely *anner to pre&ent
roadast stor*s! To redue the i*pat of loops on the networ," onfigure loop detetion onthe swithes to detet loops and set the interfae status!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
268
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 270/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 #oop detetion
#oop detetion an only detet loops ut annot re*o&e loops li,e the ultiple $panning Tree Protool
($TP)! 5efore enaling loop detetion" disale the loop pre&ention protool! 'n interfae lo,ed y a
loop pre&ention protool annot ontinue to send loop detetion pa,ets!
-oop Detection Implementation
#oop detetion is enaled ased on @#'Bs! The de&ie sends loop detetion pa,ets with the
destination 'C address of all %s to all interfaes in a @#'B!
?hen deteting that roadast loop detetion pa,ets sent fro* the interfae an e reei&ed
y other interfaes on the de&ie" the de&ie onsiders that loops e4ist on the networ, of thisinterfae! The de&ie sends a trap *essage to the user and reords the e&ent in the log! In
addition" the de&ie sets the interfae status (shutdown y default) ased on the interfaewor,ing *ode to *ini*ie the i*pat of loops on the entire networ,! Kou an run the loop-
dete!tion #ode > port-trap ? port-blo!ing ? port-nolearning ? port-shutdown?port-
Auit"lan @ o**and to onfigure the ation to ta,e after a loop is deteted!
(%1%! -oopbac. Detection
Introduction to -oopbac. Detection
#oopa, detetion detets loops on a networ, y periodially sending loopa, detetion
pa,ets! #oopa, detetion detets loops on a networ, onneted to an interfae y he,ingwhether pa,ets sent out fro* the interfae are reei&ed y the interfae of the sa*e de&ie! If
detetion pa,ets are reei&ed y the sa*e interfae" a loopa, ours on the interfae or
loops our on the networ, onneted to the interfae! If detetion pa,ets are reei&ed yother interfaes on the sa*e de&ie" loops our on the networ, onneted to the interfae!
Applicable Scenario o6 -oopbac. Detection
#oopa, detetion applies to the following senarios/
uring networ, deploy*ent" a loopa, usually ours on a TG-G interfae eause
optial fiers are onneted inorretly or the interfae is da*aged y high &oltage! 'sshown in %igure 1!1" a loopa, ours on an interfae of the swith! 's a result" pa,ets
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
26:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 271/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
sent fro* this interfae is looped a, to the interfae" whih *ay ause traffiforwarding errors or 'C address flapping on the interfae!
Figure 1.1 'ppliale senario 1 of loopa, detetion
's shown in %igure 1!2" a loop ours on the networ, onneted to the swith! Pa,ets
sent fro* an interfae are sent a, to this interfae!
Figure 1.2 'ppliale senario 2 of loopa, detetion
's shown in %igure 1!3" a loop ours on the networ, where the swith resides! Pa,ets
sent fro* Interfae 1 are forwarded y de&ies on other networ,s and looped a, to
Interfae 2!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
26<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 272/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.3 'ppliale senario 3 of loopa, detetion
Kou an onfigure loopa, detetion on the swith interfae to detet loops in the preeding
senarios! ?hen the de&ie detets a loop on the networ, onneted to one of its interfaes"the de&ie shuts down this interfae to eli*inate the loop! ?hen the de&ie detets that the
loop has een re*o&ed" it reo&ers o**uniation on the interfae!
#oopa, detetion annot pre&ent loops on the entire networ,! It only detets loops on a single
node!
' large nu*er of roadast pa,ets are sent during loopa, detetion" oupying syste*
resoures therefore" disale loopa, detetion if it is not reuired!
#oopa, detetion annot e onfigured on an +th-Trun, or its *e*er interfaes!
#oopa, detetion annot e used with $TP!
@200003 and later &ersions support appliale senario 3!
-oopbac. Detection Implementation
'n interfae enaled with loopa, detetion sends the following two types of fra*es(@200001 is used as an e4a*ple)/
7ntagged loopa, detetion pa,et/ The destination 'C address in the pa,et is the
5P7 'C address! This pa,et is used to detet loopa, on a TG-G interfae! The
interfae an reei&e and send untagged loopa, detetion pa,ets" without eing addedto a @#'B!
Tagged loopa, detetion pa,et/ The destination 'C address in the pa,et is the
roadast 'C address with all %s! This pa,et is used to detet loops on thedownstrea* networ, onneted to the interfae! The interfae an reei&e and send
tagged loopa, detetion pa,ets only after the interfae is added to a @#'B!
'fter loopa, detetion is enaled on an interfae" the interfae periodially sends detetion
pa,ets and he,s whether loopa, pa,ets are reei&ed! If a loopa, ours on an
interfae" the de&ie sets the interfae in loopa, detetion state to *ini*ie the i*pat of
loopa, on the entire networ,! Kou an run the loopba!-dete!t a!tion > blo! ? nolearn ?
shutdown ? trap @ o**and to onfigure an ation to ta,e after a loopa, is deteted! The
default ation is shutdown!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
26=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 273/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
(%1%" ?ersion Di@erence
-oop Detection
The reo&ery ti*e on an interfae enaled with loop detetion is as follows/M @100003 and earlier &ersions/ 0
M @100008 and later &ersions/ 266s
In @100003 and earlier &ersions" if the ation is set to blo! or shutdown" run the
loop-dete!tion re!o"ery-ti#e o**and to set the reo&ery ti*e! >therwise" the
lo,ed or shutdown interfae annot e restored after a loop is deteted!
$tarting fro* @200001" loop detetion an e onfigured on an +th-Trun,!
$tarting fro* @200003" a hassis swith enaled with loop detetion an detet loops
in a *a4i*u* of 9J @#'Bs! ?hen a loop is deteted on an interfae" the interfae isre*o&ed fro* the @#'B to re*o&e loops!
-oopbac. Detection
$tarting fro* @100008" the $2300$ID$2:00$I supports untagged loopa, detetion
pa,ets in whih the destination 'C address is 01<0-200-000a! >n other o4swithes" the destination 'C address in untagged loopa, detetion pa,ets is
hanged fro* all %s to 01<0-200-000a" starting fro* @100008! The path
@100008$PH011 is used to hange the destination 'C address gloally!
The reo&ery ti*e on an interfae enaled with loopa, detetion is as follows/
M @100003 and earlier &ersions/ three ti*es the detetion inter&al (o&er =0s)
M @100008 and later &ersions/ three ti*es the pa,et sending inter&al (o&er 16s)
$tarting fro* @200001" hassis swithes support loopa, detetion!
$tarting fro* @200003" a o4 swith enaled with loopa, detetion an detet
loopa, on two interfaes!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
280
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 274/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
(%! Con>guration uide
(%!%1 Con>guring -oop Detection
(%!%1%1 <etwor.ing Description
's shown in %igure 1!1" when pa,ets sent fro* an interfae are sent a, to the interfae" a
loop e4ists on the interfae! #oops *ay ause roadast stor*s! The loop detetion funtion isused to detet loops on interfaes!
Figure 1.1 #oop detetion networ,ing
(%!%1%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! +nale loop detetion gloally!
2! +nale loop detetion in a @#'B!
3! +nale loop detetion on an interfae!
9! $et the loop detetion inter&al on the interfae!
6! $et the reo&ery ti*e of the lo,ed interfae!
(%!%1%" Con>guration &7ample
Step 1 +nale loopa, detetion gloally!
<Cuidway> system-view
[Cuidway] loop-detection ena%le
Step ! +nale loop detetion in a @#'B!
[Cuidway] loop-detection ena%le vlan 00
Step " +nale loop detetion on an interfae!
[Cuidway] inter$ace 'iga%it(thernet 1&0&0
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
281
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 275/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Cuidway-'iga%it(thernet1&0&0] stp disa%le
[Cuidway-'iga%it(thernet1&0&0] port hy%rid pvid vlan 00
[Cuidway-'iga%it(thernet1&0&0] port hy%rid untagged vlan 00
[Cuidway-'iga%it(thernet1&0&0] loop-detection mode port-shutdown
Step * $et the loop detetion inter&al on the interfae!
[Cuidway] loop-detection interval-time 10
Step ) $et the reo&ery ti*e of the lo,ed interfae!
[Cuidway] inter$ace 'iga%it(thernet 1&0&0
[Cuidway-'iga%it(thernet1&0&0] loop-detection recovery-time 0
Step @erify the onfiguration!
A+ =D0D0 is auto*atially shut down when a loop is deteted!
----End
Con>guration 3iles
Configuration file of the swith
+
sysname Cuidway
+
vlan %atch 00
+
loop-detection ena%le
loop-detection interval-time 10
loop-detection ena%le vlan 00
+
inter$ace 'iga%it(thernet1&0&0
port hy%rid pvid vlan 00
port hy%rid untagged vlan 00
stp disa%le
loop-detection mode port-shutdown
loop-detection recovery-time 0
+
return
(%!%! Con>guring -oopbac. Detection
(%!%!%1 <etwor.ing Description
's shown in %igure 1!1" if there is a loop on the networ, onneted to A+0D0D1" roadaststor*s will our on the swith or e&en the entire networ,! Configure loopa, detetion on
the swith to detet whether a loopa, e4ists on the interfae" whih helps deter*ine
whether a loop ours on the networ, onneted to the interfae!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
282
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 276/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Figure 1.1 #oopa, detetion networ,ing
(%!%!%! Con>guration +oadmap
The onfiguration road*ap is as follows/
1! +nale loopa, detetion on an interfae!
2! $peify the @#'B I of loopa, detetion pa,ets!
3! Configure loopa, detetion para*eters!
(%!%!%" Con>guration &7ample
Step 1 +nale loopa, detetion on the interfae!
<Cuidway> system-view
[Cuidway] inter$ace giga%itethernet 0&0&1
[Cuidway-'iga%it(thernet0&0&1] loop%ac)-detect ena%le
[Cuidway-'iga%it(thernet0&0&1] quit
Step ! $peify the @#'B I of loopa, detetion pa,ets!
[Cuidway] vlan 100
[Cuidway-vlan100] quit
[Cuidway] inter$ace giga%itethernet 0&0&1
[Cuidway-'iga%it(thernet0&0&1] port hy%rid tagged vlan 100
[Cuidway-'iga%it(thernet0&0&1] loop%ac)-detect pac)et vlan 100
Step " Configure loopa, detetion para*eters!
N Configure the de&ie to lo, the interfae when a loopa, is deteted!
[Cuidway-'iga%it(thernet0&0&1] loop%ac)-detect action %loc)
N $et the interfae reo&ery ti*e after a loopa, is re*o&ed!
[Cuidway-'iga%it(thernet0&0&1] loop%ac)-detect recovery-time !0
[Cuidway-'iga%it(thernet0&0&1] quit
N $et the inter&al for sending loopa, detetion pa,ets!
[Cuidway] loop%ac)-detect pac)et-interval 10
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
283
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 277/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Step * @erify the onfiguration!
?hen a loop ours on the networ, onneted to Aigait+thernet0D0D1" the interfae is
lo,ed! The interfae will reo&er 30s after the loop is re*o&ed!
----End
Con>guration 3iles
Configuration file of the swith
+
sysname Cuidway
+
vlan %atch 100
+
loop%ac)-detect pac)et-interval 10
+
inter$ace 'iga%it(thernet0&0&1
port hy%rid tagged vlan 100
loop%ac)-detect ena%le
loop%ac)-detect recovery-time !0
loop%ac)-detect pac)et vlan 100
+
return
(%!%" Deployment 'recautions
(%!%"%1 Do <ot Con>gure the 2loc. or Shutdown Action 6or
the 5plin. Inter6ace ;hen -oop Detection Is &nabled0es!ription/ The ation to ta,e after a loop is deteted is set to lo, or shutdown! ?hen aloop is deteted" the swith lo,s or shuts down the uplin, interfae" ausing a ser&ie
interruption!
oot !ause/ If loop detetion is enaled on the uplin, interfae and in *any @#'Bs" 'Caddress entries on the uplin, de&ie are oupied! If loop detetion is enaled in 9J @#'Bs"
*any 'C address entries are onsu*ed!
dentii!ation #ethod/ un the display loop-dete!tion intera!e o**and to &iew the loop
detetion onfiguration on the uplin, interfae!
olution/ o not onfigure loop detetion on an uplin, interfae that is often onsidered
seure! If loop detetion needs to e enaled on an uplin, interfae" onfigure the trap
funtion!
ersions in"ol"ed/ all &ersions
%or details on how to onfigure loop detetion" see S Series Chassis Switch $oo! #etection #e!lomentGuide!
(%!%"%! Set the +ecovery Time o6 the 2loc.ed Inter6ace andCon>gure the Trap 3unction
0es!ription/ ?hen onfiguring loop detetion" set the reo&ery ti*e of the lo,ed interfaeand onfigure the trap funtion!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
289
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 278/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
oot !ause/ ?hen an interfae enaled with loop detetion detets a loop" hassis swithes in@18 and earlier &ersions do not reord logs! The loop detetion trap funtion needs to e
enaled!
dentii!ation #ethod/
$et the reo&ery ti*e of the lo,ed interfae/
Chassis swith
O.uidway-Aigait+thernet1D0D0Q loop-detetion reo&ery-ti*e 20
5o4 swith of @16 and later &ersions
[Cuidway-'iga%it(thernet0&0&1]loop%ac)-detect recovery-time 0
+nale the trap funtion/
Chassis swith of @11D@12
O.uidwayQ sn*p-agent trap enale loop-detetion
Chassis swith of @13 and later &ersions
O.uidwayQ sn*p-agent trap enale feature-na*e ldp
5o4 swith of @16D@18
The trap funtion is enaled y default!
5o4 swith of @21
[Cuidway] snmp-agent trap ena%le $eature-name l%dt
&olution4 When con$iguring loop%ac) detectionD set the recovery time o$ the
%loc)ed inter$ace and con$igure the trap $unction;
ersions in"ol"ed/ @100001D@100002D@100003 of hassis swithes and
@100006D@100008D@200001 of o4 swithes
%or details on how to onfigure loop detetion" see S Series Chassis Switch $oo! #etection #e!loment
Guide!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
286
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 279/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
(%" Troubleshooting
(%"%1 Troubleshooting Overview
#oop detetion is used to detet loops! $o*eti*es" loops annot e deteted!
5o4 swithes send untagged loopa, detetion pa,ets to detet loops! Che, whether
the downlin, de&ie an transparently trans*it 5P7s!
The hassis swith onfigured with loop detetion annot detet loops! Che, whether
the downlin, de&ie an transparently trans*it pa,ets fro* the @#'B in whih loop
detetion is enaled!
(%"%! Chassis Switch Con>gured with -oop Detection
Cannot Detect -oops(%"%!%1 3ault Description
The hassis swith onfigured with loop detetion annot detet loops!
(%"%!%! Troubleshooting +oadmap
The trouleshooting road*ap is as follows/
1! Che, whether the loop detetion onfiguration is orret!
2! Che, whether the downlin, de&ie an transparently trans*it pa,ets fro* the @#'B
in whih loop detetion is enaled!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
288
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 280/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
(%"%!%" Troubleshooting 3lowchart
Figure 1.1 %ailure to detet loops
(%"%!%* Troubleshooting 'rocedure
Step 1 Che, whether the loop detetion onfiguration is orret!un the display loop-dete!tion o**and to he, the @#'B enaled with loop detetion! If
loop detetion is not enaled" run the loop-dete!tion enable "lan o**and to enale loopdetetion in the @#'B!
[Cuidway]display loop-detection
Loop 5etection is ena%led;
5etection interval time is # seconds;
?ollowing vlans ena%le loop-detection4
vlan 1 to =00
?ollowing ports are %loc)ed $or loop4
HLL
?ollowing ports are shutdown $or loop4HLL
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
28:
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 281/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
?ollowing ports are nolearning $or loop4
HLL
?ollowing ports are trapped $or loop4
HLL
?ollowing ports are quitvlan $or loop4
HLL
un the display loop-dete!tion intera!e o**and to he, whether the interfae is added
to the @#'B! If not" add the interfae to the @#'B!
[Cuidway]display loop-detection inter$ace 'iga%it(thernet 1&0&1
6he port is ena%led;
6he portIs status list4
Status Wor)Bode /ecovery-time (na%led=L8
-----------------------------------------------------------------------
ormal Shutdown ## 1
ormal Shutdown ##
ormal Shutdown ## !
ormal Shutdown ## "
ormal Shutdown ## #
Step ! Che, whether the downlin, interfae is added to the @#'B enaled with loop detetion!
Che, whether the downlin, interfae is added to the @#'B enaled with loop detetion and
ensure that loop detetion pa,ets an e forwarded!
Step " If the fault persists" ontat Huawei tehnial support personnel!
----End
(%"%" Switch Con>gured with -oopbac. DetectionCannot Detect -oops
(%"%"%1 3ault Description
#oops our on the downstrea* de&ie onneted to the swith with loopa, detetion
enaled" ut the swith annot detet loops!
(%"%"%! Troubleshooting +oadmap
The trouleshooting road*ap is as follows/
1! Che, whether the loopa, detetion onfiguration is orret!
2! Che, whether the downlin, de&ie an transparently trans*it loopa, detetion
pa,ets!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
28<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 282/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
(%"%"%" Troubleshooting 3lowchart
Figure 1.1 %ailure to detet loops
(%"%"%* Troubleshooting 'rocedure
Step 1 Che, whether the loopa, detetion onfiguration is orret!un the display loopba!-dete!t o**and to he, whether loopa, detetion is enaled
gloally and on the interfae! If not" run the loopba!-dete!t enable o**and to enaleloopa, detetion gloally and on the interfae!
<S#!(.J11:> display loop%ac)-detect
Loop%ac)-detect sending-pac)et interval4 #
.nter$ace /ecover6ime 8ction Status
--------------------------------------------------------------------------------
'iga%it(thernet0&0&" - %loc) (7>8
If the interfae uses untagged loopa, detetion pa,ets to detet a loopa," you are
ad&ised to run the loopba!-dete!t pa!et "lan o**and (e4luding the $2300$ID$2:00$I)!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
28=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 283/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
$tarting fro* @200001" when the ation is set to shutdown" the uildrun infor*ation is not generatedwhen a loop is deteted! The interfae status is displayed as =,,/)B-0ETE)T 0, in thedisplay intera!e o**and output! 'fter the loop is eli*inated" run the shutdown and undo shutdown
o**ands to restore the interfae! If the reo&ery ti*e is reahed" the interfae is restored when no loop
e4ists in all @#'Bs inluding the @#'B speified y the P@I in untagged *ode!
Step ! Che, whether the downlin, de&ie an transparently trans*it loopa, detetion pa,ets!
If the swith interfae is onfigured to use tagged loopa, detetion pa,ets" he, whether
the downlin, de&ie is added to the @#'B! +nsure that loopa, detetion pa,ets an eforwarded!
If the swith interfae is onfigured to use untagged loopa, detetion pa,ets" perfor*either of the following operations/
@100008/ #oad @100008$PH011 and run the loopba!-dete!t untagged #a!-
address o**and to hange the destination 'C address to all %s (e4luding
$2300$ID$2:00$I)!
@200001/ Che, whether the downlin, de&ie an transparently trans*it 5P7s with
the destination 'C address as 01<0-200-000a!
Step " If the fault persists" ontat Huawei tehnial support personnel!
----End
(%"%* In6ormation Collection
If the fault annot e loated" ollet the following infor*ation! If non-Huawei de&ies are
in&ol&ed" ollet infor*ation aording to the o**and referene! %or *ethods of olleting
swith logs and diagnosis logs" see hapter =$with #ogs and iagnosis #ogs!
(%"%*%1 <etwor. Topology
Collet networ, topology infor*ation inluding de&ie na*es" syste* 'C addresses" and
na*es of onneted ports!
(%"%*%! display Command -ist
Command Description
display &ersion isplays &ersion infor*ation!
display de&ie isplays de&ie status!
display path-infor*ation isplays path infor*ation!
display pu-usage (slot slot-id ) isplays CP7 usage!
display *e*ory-usage (slot slot-id ) isplays *e*ory usage!
display urrent-onfiguration isplays the de&ie onfiguration!
display interfae isplays traffi on all ports e&ery 6 *inutes ortwie!
display loop-detetion isplays infor*ation aout the loop detetion
funtion in the syste*!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2:0
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 284/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
Command Description
display loop-detetion interfae isplays infor*ation aout the loop detetion
funtion on an interfae!
display loopa,-detet isplays the loopa, detetion onfiguration andstatus of interfaes with loopa, detetion
enaled!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2:1
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 285/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
(%* Troubleshooting Cases
(%*%1 S!(00SI Con>gured with -oopbac. DetectionCannot Detect -oops
(%*%1%1 Symptom and <etwor.ing
The $2:00$I @100008C03 onnets to the $2:00+I" and the $2:00+I onnets to the offie
networ,!
The inound andwidth usage of the downlin, interfae on the $2:00$I inreases
ontinuously! #oops our on the offie networ," ut the $2:00$I onfigured with loopa,detetion annot detet loops!
(%*%1%! +oot Cause
$tarting fro* @100008" the $2:00$I supports loopa, detetion! 5eause the $2:00$I has
no 'C# resoures" it uses the 5P7 register to apture protool pa,ets for deteting loops!In untagged *ode" the $2:00$I sends 5P7s! In this situation" the downlin, de&ie *ust e
ale to transparently trans*it 5P7s! The downlin, swith $2:00+I ter*inates 5P7s or
sends 5P7s to the CP7 for proessing! #oopa, detetion pa,ets sent y the $2300$I
interfae annot e forwarded y the $2300+i" so the $2300$I annot detet loops!
(%*%1%" Identi>cation :ethod
Configure loopa, detetion on the $2300$I and he, whether the downlin, de&ie an
transparently trans*it 5P7s!
(%*%1%* Solution
The $2300$I does not support loopa, detetion! It is reo**ended that loopa, detetion e onfigured on the $2300+I to detet loops!
(%*%! S)(00 Con>gured with -oopbac. Detection in5ntagged :ode Cannot Detect -oops
(%*%!%1 Symptom and <etwor.ing
The $6:00 &ersion is @100008C00$PC<00!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2:2
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 286/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
#oops our on the $6:00$I! 'lthough loopa, detetion in untagged *ode is onfigured onA+0D0D90 of the $6:00+I" the $6:00+I annot detet loops on the $6:00$I!
(%*%!%! +oot Cause
>n the o4 swith of @100008" the destination 'C address of untagged loopa,detetion pa,ets is 01<0-200-000a! 'fter reei&ing untagged loopa, detetion pa,etswith the destination 'C address of 01<0-200-000a" A+0D0D90 on the $6:00$I ter*inates
the pa,ets! That is" the o4 swith of @100008 does not support loopa, detetion in
untagged *ode!
(%*%!%" Identi>cation :ethod
?hen loopa, detetion in untagged *ode is onfigured on the o4 swith" he, whetherthe downlin, swith an transparently trans*it untagged loopa, detetion pa,ets with the
destination 'C address of 01<0-200-000a!
(%*%!%* Solution#oad the path @100008$PH011! Change the destination 'C address in untaggedloopa, detetion pa,ets to all %s so that pa,ets an e roadast on the downlin, de&ie!
Then loops an e deteted!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2:3
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 287/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
, 3A4
,%1 ;hat Is the Destination :AC Address o6S&' 'ac.ets
The destination 'C address of P2P pa,ets suh as $+P neighor pa,ets is 0026-=ef-
3d8f!
The destination 'C address of pa,ets roadast in the $+P seg*ent" for e4a*ple" pa,etsfor pri*ary edge port eletion" is 0026-=ef-3d:0!
,%! ;hich Inter6ace 2loc.ing :odes Does S&'Support
$+P supports the following interfae lo,ing *odes/
[Cuidway-sep-segment1]%loc) port
hop Eop count
middle ort in the middle o$ the segment
optimal ort with the highest priority
sysname Speci$y the system name
$peify a lo,ed interfae ased on the onfigured hop ount!
$peify the interfae in the *iddle of a $+P seg*ent as the lo,ed interfae!
$peify the interfae with the highest priority as the lo,ed interfae!
$peify a lo,ed interfae ased on the de&ie and interfae na*es!
,%" A6ter the S&' Topology Changes ;hich'rotocols Can 2e Instructed to 5pdate3orwarding &ntries
'fter the $+P topology hanges" $+P an instrut PP" seg*ent" $*art #in," and $TP to
update forwarding entries!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2:9
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 288/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
[Cuidway-sep-segment1]tc-noti$y
rrpp /apid ring protection protocol
segment Segment
smart-lin) Smart-lin)
stp Spanning 6ree rotocol
,%* ;hat Is the Di@erence 2etween bpduenable and bpdu bridge enable on the ChassisSwitch Inter6ace
To differentiate the bpdu enable o**and on the o4 swith" the hassis swith of
@100003 uses the bpdu bridge enable o**and!
The bpdu enable o**and on the interfae of the $=300 @100002 and the bpdu bridge
enable o**and on the interfae of the $=300 starting fro* @100003 enale the interfaeto forward 5P7s! The interfae uses the hardware to forward the pa,ets that ha&e the
destination 'C address of the 5P7 'C address and are not sent to the CP7! The
display bpdu #a!-address o**and an e used to he, the 5P7 'C address!
,%) ;hy the Switch Is <ot the +oot 2ridgeA6ter stp root primary Is Con>gured lobally
The stp root pri#ary o**and sets the $TP priority to 0" ut annot ensure that the swithis the root ridge! If the priority of another swith is 0 and the ridge 'C address is s*aller
than that of the loal de&ie" the loal de&ie is not seleted as the root ridge!
,% ;hat Does the :essage Age 3ield in ST'2'D5s +epresent and How Is This 3ield 5sed
The swith deter*ines whether the reei&ed onfiguration 5P7 e4pires aording to the
a4 'ge &alue! If the essage 'ge &alue is larger than or eual to the a4 'ge &alue" the
onfiguration 5P7 ages! If the onfiguration 5P7 e4pires" the swith realulates the
spanning tree!
The essage 'ge field in $TP 5P7s is desried as follows/
$TP o*pares the essage 'ge &alue with the a4 'ge &alue to deter*ine whether the
onfiguration 5P7 e4pires! ?hen the swith reei&es a onfiguration 5P7 fro* itsupstrea* de&ie" it deter*ines whether the essage 'ge &alue in the onfiguration
5P7 is s*aller than the a4 'ge &alue! If the essage 'ge &alue in the onfiguration
5P7 is s*aller than the a4 'ge &alue" the swith sends the onfiguration 5P7 withthe essage 'ge &alue plus 1 to the downstrea* ridge! If the essage 'ge &alue in the
onfiguration 5P7 is larger than or eual to the a4 'ge &alue" the swith onsiders
that the onfiguration 5P7 e4pires" and the reei&e interfae enters the isarding
state! The swith then sends a onfiguration 5P7 with itself as the root ridge! In thisase" the essage 'ge &alue in the onfiguration 5P7 reei&ed y the downstrea*
ridge is 0!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2:6
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 289/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
$TP re-defines inre*ents of the essage 'ge &alue! +ah ti*e a onfiguration 5P7
passes through a ridge" the inre*ent of the essage 'ge &alue is the *a4i*u* &alue etween 1D18 of the a4 'ge that is rounded off and 1! ?hen the a4 'ge &alue is
s*aller than 29" the inre*ent is 1! ?hen the a4 'ge &alue is larger than or eual to 29
and s*aller than 90" the inre*ent is 2! ?hen the a4 'ge &alue is eual to 90" the
inre*ent is 3" and so on!
The i*ple*entation of $TP is si*ilar to that of $TP!
>n $ series swithes" the default &alue of a4 'ge is 2000 entiseonds (20s)!
The a4 'ge &alue is in&alid for $TIs! If the swith is the CI$T root ridge" it deter*ines
whether the onfiguration 5P7 e4pires aording to the a4 'ge &alue! If the swith is notthe CI$T root ridge" it uses its onfigured a4 'ge &alue!
The Hello ti*e" %orward delay" and a4 'ge *ust onfor* to the following for*ulas/
2 4 (%orward delay - 1!0 seonds) LV a4 'ge
a4 'ge LV 2 4 (Hello ti*e ; 1!0 seonds)
$TP wor,s properly only when the three &alues onfor* to the preeding for*ulas!
It is reo**ended the default &alues of the Hello ti*e (2s)" %orward delay (16s)" and a4
'ge (20s) e used on $ series swithes!
,%( How Does a Switch Inter6ace Connected toa <on#Huawei Device 'rocess the +eceived2'D5 in a Di@erent 3ormat
$ series swithes o*ply with I+++ <02!1s $TP and support dot1s and legay for*ats! 5y
default" the pa,et for*at is auto! In auto *ode" the swith interfae is allowed to
auto*atially swith to the $TP protool pa,et for*at used y the re*ote end ased on the pa,et for*at reei&ed fro* the re*ote end!
?hen the swith interfae is onfigured to reei&e only pa,ets in dot1s or legay for*at" itdoes not proess the reei&ed pa,ets in a different for*at and generates the following alar*/
BS6&!&8,A(6J(//J,@BL.846he port compliance protocol type o$ the the pac)et
received %y BS6 $rom the port [port-name] is invalid;
If this situations" perfor* the following operations/
1! 7se a pa,et apture tool to reord reei&ed error pa,ets!
2! .uery and reord the infor*ation aout the interfae on the re*ote end" inluding the
*anufaturer" &ersion" and onfiguration!
M If a Huawei de&ie is used" run the display "ersionC display intera!eC and display
!urrent-!oniguration o**ands!
M If a non-Huawei de&ie is used" run o**ands pro&ided y the *anufaturer to
otain infor*ation on the de&ie!
3! If an in&alid pa,et was reei&ed y $TP and hene the $TP status was inorret" loops
*ay our at #ayer 2! It is reo**ended that the interfae e shut down to pre&ent roadast stor*s! To &iew the $TP status and he, whether loops our" run the display
stp brie o**and! 'fter onfir*ing that loops are re*o&ed" run the undo shutdown
o**and to enale the interfae!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2:8
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 290/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
9! Pro&ide the error pa,ets and olleted infor*ation to Huawei tehnial support personnel!
,%, Can S Series Switches TransparentlyTransmit 2'D5s 2y De6ault
5y default" o4 swithes annot transparently trans*it 5P7s! To transparently trans*it5P7s" onfigure a #ayer 2 protool tunnel!
>n the hassis swith" run the stp disable and bpdu enable+bpdu bridge enable o**andsto onfigure the interfae to transparently trans*it 5P7s!
,%/ Can S Series Switches TransparentlyTransmit Cisco '?ST9 'ac.ets 2y De6ault
$ series swithes an transparently trans*it Ciso P@$T; pa,ets as o**on *ultiast data pa,ets or using the #ayer 2 protool tunnel! ?hen a o4 swith transparently trans*its Ciso
P@$T; pa,ets using the #ayer 2 protool tunnel" run the bpdu #a!-address *1**-*!!!-
!!!d o**and!
,%10 Do 2'D5s Sent by S Series SwitchesCarry ?-A< Tags 2y de6ault and How Do SSeries Switches 'rocess Tagged 2'D5s
5P7s sent y $ series swithes do not arry @#'B tags y default! Kou an run the stp
bpdu "lan %lan-id o**and to onfigure the interfae to add the @#'B I to outgoing
5P7s! 5efore running this o**and" ensure that the interfae has een added to the @#'B!
?hen the $TP-enaled interfae reei&es tagged 5P7s" the interfae that does not oin the
@#'B speified y the @#'B tag in the 5P7s disards the 5P7s! If the interfae has
een added to the @#'B speified y the @#'B tag in the 5P7s" and the stp bpdu "lan
o**and is not used or the @#'B I in the stp bpdu "lan %lan-id o**and is the sa*e asthe @#'B I in 5P7s" the interfae orretly proesses the 5P7s! If the @#'B I in the
stp bpdu "lan %lan-id o**and is different fro* the @#'B I in 5P7s" the interfae
disards the 5P7s!
,%11 ;hat Is the Destination :AC Address o6++'' 'ac.ets
'ac.et Type Destination :AC Address
H+'#TH (H+##>) 000%-+20:-<21:
#IBJ->?B 000%-+20:-<26:
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2::
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 291/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
'ac.et Type Destination :AC Address
C>>B-%#7$H-%5
C>P#+T+-%#7$H-%5
000%-+20:-<2=:
+A+-H+##>
'E>-%'7#T
+A+-H+##> and 'E>-%'7#T pa,ets use thesa*e destination 'C address depending on the ring I!
000%-+20:-<2:W000%-+20:-<318
,%1! ;hat Are the 'recautions 6or Con>guring++''
PP and $TP annot e onfigured si*ultaneously! 5efore reating an PP ring" disale$TP on the interfaes to e added to the PP ring!
The PP on&ergene speed depends on the nu*er of do*ains and rings! The on&ergene
speed is high when the nu*er of do*ains and rings is s*all!
,%1" How Does ++'' Implement 3astSwitching
The PP switho&er ti*e is guaranteed y the switho&er *ehanis*" whih is irrele&ant to
the inter&al for sending Hello pa,ets! 'lthough the *ini*u* inter&al for sending Hello pa,ets is 1s" Hello pa,ets are used only for loop detetion!
The switho&er *ehanis* of an PP ring is as follows/
If a lin, on the ring is faulty" the port diretly onneted to the lin, goes own!
The transit node i**ediately sends a #in,-own pa,et to the *aster node to report the
lin, status hange!
?hen reei&ing the #in,-own pa,et" the *aster node onsiders that the ring fails" so it
unlo,s the seondary port and sends a pa,et to instrut other transit nodes to refresh
%orwarding ata5ases (%5s)!
'fter other transit nodes refresh their %5s" the data strea* is swithed to a lin, in the
7p state!
,%1* ;hy Statistics on Health 'ac.ets Cannot2e Displayed on the ++'' Transit <ode
5eause the PP transit node does not send Health pa,ets" the statistis on Health pa,etsare 0! There are statistis on Health pa,ets on the *aster node! Che, whether reei&ed and
sent Health pa,ets are nor*al aording to the statistis on Health pa,ets on the *aster
node!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2:<
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 292/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
un the display rrpp statisti!s domain id o**and to &iew the statistis on PP pa,ets!
,%1) How Is -oad 2alancing Implemented;hen ++'' Is Deployed
>n an PP networ," for the proteted instane" eah ring supports only one lo,ing port" soload alaning annot e i*ple*ented on eah ring! Kou an onfigure two do*ains and add
interfaes to the two do*ains so that different lo,ing ports in two do*ains are used"
i*ple*enting load alaning!
,%1 ;hat Is the :a7imum <umber o6 Devices
That Can be Con>gured on an ++'' +ingPri*ary and seondary ports of the *aster node send Hello pa,ets! If the seondary port
periodially reei&es Hello pa,ets" the *aster node onsiders the PP ring in Co*plete
state and lo,s the seondary port to eli*inate loops! Hello pa,ets are forwarded fastdepending on the hip! The *a4i*u* nu*er of de&ies that an e onfigured on an PP
ring is not li*ited! ?hen *any de&ies are onfigured on an PP ring" it ta,es a long ti*e
to retify any lin, or node fault! It is reo**ended that a *a4i*u* of 18 de&ies e
onfigured on an PP ring!
,%1( Can Smart -in. and :onitor -in. 2eCon>gured on an &th#Trun.
$*art #in, and onitor #in, an e onfigured on an +th-Trun,!
,%1, Can :onitor -in. 2e 5sed Separatelyonitor #in, an e used separately!
,%1/ ;hat Is &+'S
+thernet ing Protetion $withing (+P$) is a protool defined y the International
Teleo**uniation 7nion - Teleo**uniation $tandardiation $etor (IT7-T) to pre&entloops at #ayer 2! 's the standard nu*er is IT7-T A!<032DK1399" +P$ is also alled
A!<032! +P$ defines ing 'uto Protetion $withing ('P$) Protool ata 7nits (P7s)
and protetion swithing *ehanis*s!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2:=
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 293/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
,%!0 ;hat Is the Destination :AC Address o6+A'S 'D5s
The destination 'C address of 'P$ P7s is 011=-a:00-0001!
,%!1 Can &+'S#enabled S Series SwitchesConnect to <on#Huawei Devices
$ie*ens" Euniper" 'latel-#uent" and Ciso ha&e their A!<032 i*ple*entations! $ series
swithes enaled with A!<032 an onnet to de&ies fro* $ie*ens" Euniper" 'latel-#uent"
and Ciso!
,%!! Do S Series Switches Support Subrings@200001 supports only ring-ring networ,ing in whih downlin, surings annot e used!
,%!" Does &+'S on S Series Switches Support-oad 2alancing
>ne or two +P$ rings an e onfigured on a physial ring! Kou an onfigure different
proteted instanes for different +P$ rings! ifferent @#'Bs an use separate paths"
i*ple*enting traffi load alaning and lin, a,up!
,%!* Can &+'S 2e 5sed with Other +ing<etwor. 'rotocols on the Same <etwor.ing
+P$ annot e used with other ring networ, protools on the sa*e networ,ing!
,%!) Can &+'S 2e Con>gured on an &th#Trun.
+P$ an e onfigured on an +th-Trun,!
,%! ;hat Is the Di@erence 2etween -oopbac. Detection and -oop Detection
The differene etween loopa, detetion and loop detetion is as follows/
#oopa, detetion is used on the edge swith to pre&ent fier loopa, on the swith
interfae or pa,ets fro* eing looped a, to the loal interfae! #oop detetion is used
on the aggregation swith to detet loopa, and loops on the layer 2 networ,!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2<0
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 294/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
#oopa, detetion is onfigured on an interfae" and loop detetion is onfigured in the
syste*!
$tarting fro* @200001" hassis swithes support loopa, detetion! $tarting fro*
@200003" a o4 swith enaled with loopa, detetion an detet loops on two interfaes!
,%!( ;hat Is the Interval 6or Sending -oopbac. Detection 'ac.ets on an Inter6ace and ;hat Isthe Di@erence 2etween the -oopbac.Detection 'ac.ets Sent by Two Inter6aces
@100003 and @100006/
'n interfae sends a loopa, detetion pa,et e&ery 100 *s! Kou an set the inter&al for
sending loopa, detetion pa,ets y using the loopba!-dete!t inter"al inter%al-time o**and! In the o**and" inter%al-time ranges fro* 6 to 300" in seonds! 5y default"the inter&al for sending loopa, detetion pa,ets is 30s!
The differene etween the loopa, detetion pa,ets sent y two interfaes is that the protool nu*ers arried in pa,ets are different" whih is used to distinguish different
interfaes! 5y default" the protool I of interfae 1 on the $3300 is 04808 and the
protool Is of the other interfaes are inre*ented! Kou an run the loopba!-dete!t
proto!ol !rotocol-id o**and to *anually set the protool I! The protool I *ust e
different fro* any e4isting protool I! %or details" see the o**and referene!
@100008
'n interfae sends a loopa, detetion pa,et e&ery 6s! Kou an set the inter&al for
sending loopa, detetion pa,ets y using the loopba!-dete!t pa!et-inter"al !acet-inter%al-time o**and! In the o**and" !acet-inter%al-time ranges fro* 1 to
300" in seonds!
The swith adds the interfae inde4 to outgoing loop detetion pa,ets! ?hen an
interfae reei&es loop detetion pa,ets" it differentiates the loop detetion pa,etsaording to the interfae inde4!
etetion pa,ets are sent freuently therefore" the CP7 usage will inrease if the loop
detetion funtion is enaled on all interfaes!
,%!, A6ter -oop Detection or -oopbac.Detection Detects -oops the Inter6ace Is2loc.ed% Does the Switch Continue to Send'rotocol 'ac.ets
#oop detetion pa,ets and tagged loopa, detetion pa,ets are roadast pa,ets with the
destination 'C address as all %s! 'fter the interfae is lo,ed" the swith annot send loopdetetion pa,ets or tagged loopa, detetion pa,ets! The destination 'C address of
untagged loopa, detetion pa,ets is the 5P7 'C address! 'fter the interfae is
lo,ed" the swith an ontinue to send untagged loopa, detetion pa,ets!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2<1
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 295/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
/ Switch -ogs and Diagnosis -ogs
Chassis Switch Co**and for olleting diagnosis infor*ation/
display diagnosti-infor*ation
#og files and diagnosis logs
M $tep 1/ un the sa"e logile o**and in the o**on &iew to sa&e the onfiguration
file!
M $tep 2/ un the sa"e diag-logile o**and in the hidden &iew (diagnosis &iew after
@200001) to sa&e the diagnosis log file!
M $tep 3/ $tart the %TP ser&er on the PC and download the pri*ary log files anddiagnosis log files to the PC!
#og files of the *aster P7s on an $=300 or $::00 series are stored in !!ard;+logile" and those of
the sla&e P7s are stored in sla"eD!!ard;+logile!
The following tale lists log file na*es!
?ersion -og 3ile <ame Diagnosis 3ile<ame
@100002 log!t4t diag!t4t
@100003 log!log log!dlg
@100008 log!log log!dlg
@200001 log!log log!dlg
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2<2
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 296/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
#og files and diagnosis log files of the *aster P7s are *andatory! If a fault triggers a switho&er
or the sla&e P7s fail" you *ust ollet log files and diagnosis log files of the sla&e P7s! If a C$$
is torn down" ollet log files and diagnosis log files on the four P7s!
?hen the sie of a log file e4eeds the threshold" the swith auto*atially arhi&es the log file and
sa&es it as a !ip file! %or e4a*ple" 2*12-11-27.*5-**-25.log.ip and 2*12-11-15.*5-22-32.diag.ip
are respeti&ely an arhi&ed log file and a diagnosis log file! The file na*e indiates the arhi&ingti*e! Therefore" ollet the log file and diagnosis log file generated when the fault ours!
If the %TP ser&er is una&ailale" run the #ore o**and" suh as #ore log.log! To ollet diagnosis
log files of @100003 or later" run the display diag-logile o**and in the hidden &iew
(@100003D@100008) or diagnosis &iew (@200001 or later)" for e4a*ple" display diag-logile
!!ard;+logile+log.dblg! It ta,es a long ti*e to ollet a large log file! %TP is reo**ended for
downloading log files!
2o7 Switch
Co**and for olleting diagnosis infor*ation/
display diagnosti-infor*ation
#ogs
In @100003 and @100006/
M $tep 1/ un the display logbuer o**and to ollet infor*ation in the log uffer!
M $tep 2/ un the display trapbuer o**and to ollet infor*ation in the trap
uffer!
5o4 swithes support log file reording fro* @100008 therefore" perfor* thefollowing operations to ollet log files/
M $tep 1/ un the sa"e logile o**and in the o**on &iew to sa&e the onfiguration
file!
M $tep 2/ $tart the %TP ser&er on the PC and download the pri*ary log files and
diagnosis log files to the PC!
#og files of o4 swithes are sa&ed in lash;+syslogile and lash;+resetino!
If a C$$ is torn down or fails to e reset" ollet log files of all de&ies in the C$$!
5o4 swithes ha&e only a s*all nu*er of log files! $end all files in diretories syslogile and
resetino to F for analysis!
iretories syslogile or resetino *ay not e4ist on so*e *odels due to hardware restritions" so
you do not need to ollet log files!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2<3
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 297/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
10
ebugging Command Reference
10%1 S&' Debugging Command +e6erence
Command Description
deug sep o**on O seg*ent seg*ent-idL S interfae R R interfae-typeL
interfae-nu*erL S interfae-na*eL
Q
+nales $+P o**on deugging on a $+Pseg*ent or interfae!
deug sep error O seg*ent seg*ent-idL S
interfae R R interfae-typeL interfae-
nu*erL S interfae-na*eL Q
+nales the deugging of $+P errors on a
$+P seg*ent or interfae!
deug sep *ahine O seg*ent seg*ent-
idL S interfae R R interfae-typeL
interfae-nu*erL S interfae-na*eL Q
+nales the deugging of $+P state *ahine
on a $+P seg*ent or interfae!
deug sep *essage O seg*ent seg*ent-
idL S interfae R R interfae-typeLinterfae-nu*erL S interfae-na*eL
Q
+nales the deugging of $+P *essages on a
$+P seg*ent or interfae!
deugging sep pdu O lsa S nr S pree*pt S
epa Q O trans*it S reei&e Q O seg*entseg*ent-idL S interfae R R interfae-
typeL interfae-nu*erL S interfae-
na*eL Q
+nales the deugging of $+P P7s! The
pa,et type" trans*ission diretion" $+Pseg*ent I" and interfae an e speified!
deug sep all O seg*ent seg*ent-idL S
interfae R R interfae-typeL interfae-nu*erL S interfae-na*eL Q
+nales all the $+P deugging on a $+P
seg*ent or interfae!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2<9
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 298/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
10%! ST' Debugging Command +e6erence
Command Description
deugging O interfae interface-t!e interface-number Q stp e&ent
+nales the deugging of $TP e&ents onan interfae!
deugging stp interfae interface-t!e interface-number pa,et R all S reei&e S
send
+nales the deugging of reei&ed andsent $TP 5P7s!
deugging stp instane instance-id e&ent +nales the deugging of $TP e&ents in an
instane!
10%" +''' Debugging Command +e6erence
Command Description
deugging rrpp Odo*ain do*ain-idL
Oring ring-idLQQ error
+nales the deugging of PP errors!
deugging rrpp Odo*ain do*ain-idL
Oring ring-idLQQ e&ent
+nales the deugging of PP e&ents!
deugging rrpp Odo*ain do*ain-idL
Oring ring-idLQQ pa,et
+nales the deugging of PP pa,ets!
deugging rrpp all +nales all the PP deugging!
10%* Smart -in. Debugging Command+e6erence
Command Description
deugging s*art-lin, e&ent +nales the deugging of $*art #in, e&ents!
deugging s*art-lin, error +nales the deugging of $*art #in, errors!
deugging s*art-lin, flush RallSreei&eS
send
+nales the deugging of reei&ed and sent
$*art #in, flush pa,ets!
deugging s*art-lin, fs*-*ahine +nales the deugging of $*art #in, state*ahine!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2<6
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 299/300
$ $eries $with
%eature $tart - #oop Pre&ention %eatures 1 >&er&iew
10%) &+'S Debugging Command +e6erence
Command Description
deugging erps error O ring ring-idL S interfaeR R interfae-typeL interfae-nu*erL S
interfae-na*eL Q
+nales the deugging of +P$errors on a speified ring or
interfae!
deugging erps fs* O ring ring-idL Q +nales the deugging of +P$
state *ahine on a speified ring or
interfae!
deugging erps *essage O ring ring-idL S interfae
R R interfae-typeL interfae-nu*erL S
interfae-na*eL Q
+nales the deugging of 'P$
P7s on a speified ring or
interfae!
deugging erps *essage Oreei&e S trans*itQ O ring
ring-idL S interfae R R interfae-typeLinterfae-nu*erL S interfae-na*eL Q
+nales the deugging of +P$
pa,ets! The trans*ission diretion"ring I" and interfae an espeified!
deugging erps error O ring ring-idL S interfaeR R interfae-typeL interfae-nu*erL S
interfae-na*eL Q
+nales all the +P$ deugging ona speified ring or interfae!
Issue 01 (2013-10-30) Huawei Proprietary and Confidential
Copyright © Huawei Tehnologies Co!"
#td!
2<8
7/26/2019 S Series Switch Feature Start-Loop Prevention V1.0 D
http://slidepdf.com/reader/full/s-series-switch-feature-start-loop-prevention-v10-d 300/300
$ $eries $with