206
Step Command Remarks
5. Create the BGP-VPN IPv4
unicast family and enter its
view.
address-family ipv4
[
unicast
]
By default, the BGP-VPN IPv4
unicast family is not created.
6. Enable IPv4 unicast route
exchange with the
specified peer.
peer
{ group-name | ip-address
[ mask-length ] }
enable
By default, BGP does not
exchange IPv4 unicast routes
with any peer.
7. Configure the CE as a
client of the RR.
peer
{ group-name | ip-address
[ mask-length ] }
reflect-client
By default, no RR or RR client is
configured, and the PE does not
advertise routes learned from
the IBGP peer CE to other IBGP
peers, including VPNv4 IBGP
peers. The PE advertises routes
learned from the CE to other
IBGP peers only when you
configure the IBGP peer CE as
a client of the RR.
Configuring an RR does not
change the next hop of a route.
To change the next hop of a
route, configure an inbound
policy on the receiving side.
8. (Optional.) Enable route
reflection between clients.
reflect between-clients
Route reflection between clients
is enabled by default.
9. (Optional.) Configure the
cluster ID for the RR.
reflector cluster-id
{ cluster-id |
ip-address }
By default, the RR uses its own
router ID as the cluster ID.
If multiple RRs exist in a cluster,
use this command to configure
the same cluster ID for all RRs
in the cluster to avoid routing
loops.
2. Configure the CE:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP instance view.
bgp
as-number [
instance
instance-name ]
[
multi-session-thread
]
N/A
3. Configure the PE as an
IBGP peer.
peer
{ group-name | ip-address
[ mask-length ] }
as-number
as-number
By default, no BGP peers exist.
4. Create the BGP IPv4
unicast family and enter its
view.
address-family ipv4
[
unicast
]
By default, the BGP IPv4
unicast family is not created.
5. Enable IPv4 unicast route
exchange with the
specified peer or peer
group.
peer
{ group-name | ip-address
[ mask-length ] }
enable
By default, BGP does not
exchange IPv4 unicast routes
with any peer.
6. (Optional.) Configure route
redistribution.
import-route
protocol
[ { process-id |
all-processes
}
[
allow-direct
|
med
med-value
|
route-policy
route-policy-name ] * ]
A CE must redistribute its routes
to the PE so the PE can
advertise them to the peer CE.