The pw spoke-mode command configures all PWs of a BGP AD VSI as spoke PWs.
The undo pw spoke-mode command restores the default setting.
By default, all PWs of a BGP AD VSI are hub PWs.
Usage Scenario
If a BGP AD VPLS needs to be deployed on a network with a star or tree topology (on which one PE that serves as a server or an authorization device is configured as the hub PE, and other PEs are configured as spoke PEs), all PWs of the VSI on the hub PE must be configured as spoke PWs to disable split horizon of the PWs. Traffic from spoke PWs can be forwarded to spoke PWs and hub PWs, but traffic from hub PWs can only be forwarded to spoke PWs and not to hub PWs.
Prerequisites
The VPLS ID has been configured using the vpls-id vpls-id command in the VSI-BGPAD view.
Precautions
The pw spoke-mode command takes effect on all the PWs of a BGP AD VSI.
After the pw spoke-mode command is run, all PWs of the specified VSI become spoke PWs. Split horizon does not function on spoke PWs. This means that packets sent from Spoke PWs can be forwarded to other PWs. If the undo pw spoke-mode command is run, all PWs of the VSI will be changed to hub PWs that comply with split horizon rules.