Chapter5ServiceConguration
Switch_B(config)#setstpenable
Switch_B(config)#setstpinstance1addvlan100-110
Switch_B(config)#setstpinstance2addvlan200-210
/*Thefollowingcommandsconfigureprotectioninstance1forERPSdomain1*/
/*andprotectioninstance2forERPSdomain2:*/
Switch_B(config)#setERPSdomain1protect-instance1
Switch_B(config)#setERPSdomain2protect-instance2
/*ThefollowingcommandconfiguresswitchBtobeaneighbornodeindomain1*/
/*anditsport1/2tobeanRPLport:*/
Switch_B(config)#setERPSdomain1ring-id1raps-vlan4000ring-eastport1/1
ring-westport1/2rpl-roleneighbourrpl-portwest
/*ThefollowingcommandconfiguresswitchBtobetheownernodeindomain2*/
/*anditsport1/2tobeanRPLport:*/
Switch_B(config)#setERPSdomain2ring-id2raps-vlan4001ring-eastport1/1
ring-westport1/2rpl-roleownerrpl-portwest
ThecongurationonswitchCisasfollows:
/*Thefollowingcommandsconfigureaspanningtreeinstance:*/
Switch_C(config)#setstpenable
Switch_C(config)#setstpinstance1addvlan100-110
Switch_C(config)#setstpinstance2addvlan200-210
/*Thefollowingcommandsconfigureprotectioninstance1forERPSdomain1*/
/*andprotectioninstance2forERPSdomain2:*/
Switch_C(config)#setERPSdomain1protect-instance1
Switch_C(config)#setERPSdomain2protect-instance2
/*ThefollowingcommandconfiguresswitchCtobeanonenodeindomain1:*/
Switch_C(config)#setERPSdomain1ring-id1raps-vlan4000ring-eastport1/1
ring-westport1/2
/*ThefollowingcommandconfiguresswitchCtobeanonenodeindomain2:*/
Switch_C(config)#setERPSdomain2ring-id2raps-vlan4001ring-eastport1/1
ring-westport1/2
ThecongurationonswitchDisthesameasthatonswitchC.
5-159
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential