171
Configuring the BGP extension
Before configuring BGP VPLS, configure BGP parameters on the PEs. For configuration details, see Layer
3—IP Routing Configuration Guide.
To configure BGP extension:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Enter BGP-VPLS address
family view.
vpls-family
For more configurations in
BGP-VPLS address family view, see
"
Configuring MPLS L3VPN
."
4. Activate a peer.
peer peer-address enable No peer is activated by default.
Configuring a BGP VPLS instance
To create a BGP VPLS instance, specify a globally unique name for the VPLS instance, set the peer
discovery mechanism to automatic configuration, and configure BGP as the PW signaling protocol.
To configure a BGP VPLS instance:
Step Command
1. Enter system view.
system-view
2. Create a BGP VPLS instance and enter VSI view.
vsi vsi-name auto
3. Specify BGP as the PW signaling protocol and
enter VSI-BGP view.
pwsignal bgp
4. Configure an RD for the VPLS instance.
route-distinguisher route-distinguisher
5. Configure VPN targets for the VPLS instance.
vpn-target vpn-target&<1-16> [ both |
import-extcommunity | export-extcommunity ]
6. Create a site for the VPLS instance.
site site-id [ range site-range ] [ default-offset { 0 | 1 } ]
Resetting VPLS BGP connections
When the BGP routing policy or protocol is changed, reset BGP connections in a VPLS to make the new
configurations take effect to the VPLS connections.
To reset VPLS BGP connections, perform the following task in user view:
Task Command
Reset a specific VPLS BGP connection or all VPLS BGP
connections.
reset bgp vpls { as-number | ip-address | all |
external | internal }