This section describes how to configure the MP-BGP peer relationship between PEs to exchange VPNv6 routes.
Procedure
- Perform the following steps on the Level 2 carrier PE:
- Run system-view
The system view is displayed.
- Run bgp { as-number-plain | as-number-dot }
The BGP view is displayed.
- Run peer ipv4-address as-number { as-number-plain | as-number-dot }
The remote PE is specified as the BGP peer.
- Run peer ipv4-address connect-interface loopback interface-number
The interface used to set up a TCP connection is specified.
- Run peer ipv4-address ebgp-max-hop [ hop-count ]
The number of maximum hops of the EBGP connection is set.
If the MP-EBGP peer relationship exists between the Level 2 carrier PEs, you need to configure Step 5.
- Run ipv6-family vpnv6
The BGP-VPN IPv6 address family is displayed.
- Run peer ipv4-address enable
The function of exchanging VPN-IPv6 routes with the peer is enabled.
- Run commit
The configuration is committed.