Configuring routing between PEs

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter BGP view.

bgp as-number

N/A

3. Configure the remote PE as the peer.

peer { group-name | ipv6-address } as-number as-number

By default, no BGP peer is configured.

4. Specify the source interface for route update packets sent to the specified peer.

peer { group-name | ip-address } connect-interface interface-type interface-number

By default, BGP uses the outbound interface of the best route destined to the BGP peer as the source interface.

5. Create the BGP VPNv6 address family and enter its view.

address-family vpnv6

By default, the BGP VPNv6 address family is not created.

6. Enable BGP VPNv6 route exchange with the specified peer.

peer { group-name | ip-address } enable

By default, BGP does not exchange BGP VPNv6 routes with any peer.