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
1.
Enter system view.
2.
Enter BGP view.
3.
Enter
family view.
4.
Activate a peer.
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
1.
Enter system view.
2.
Create a BGP VPLS instance and enter VSI view.
3.
Specify BGP as the PW signaling protocol and
enter VSI-BGP view.
4.
Configure an RD for the VPLS instance.
5.
Configure VPN targets for the VPLS instance.
6.
Create a site for the VPLS instance.
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
Reset a specific VPLS BGP connection or all VPLS BGP
connections.
Command
system-view
bgp as-number
BGP-VPLS
address
vpls-family
peer peer-address enable
Command
system-view
vsi vsi-name auto
pwsignal bgp
route-distinguisher route-distinguisher
vpn-target vpn-target&<1-16> [ both |
import-extcommunity | export-extcommunity ]
site site-id [ range site-range ] [ default-offset { 0 | 1 } ]
Command
reset bgp vpls { as-number | ip-address | all |
external | internal }
171
Remarks
N/A
N/A
For more configurations in
BGP-VPLS address family view, see
Configuring MPLS L3VPN
"
No peer is activated by default.
."