Configuring routing between pes – H3C Technologies H3C SR8800 User Manual

Page 265

Advertising
background image

254

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number N/A

3.

Configure the PE as the IBGP
peer.

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

N/A

4.

Configure the route
redistribution and

advertisement behavior.

import-route protocol [ process-id ]
[ med med-value | route-policy

route-policy-name ] *

Optional.
A CE needs to advertise its routes
to the connected PE so that the PE

can advertise them to the peer CE.

NOTE:

Exchange of BGP routes of a VPN instance is the same as that of ordinary BGP routes.

The BGP configuration task in BGP VPN instance view is the same as that in BGP view. For more
information, see

Layer 3—IP Routing Configuration Guide.

For information about BGP peer and BGP peer group configuration, see

Layer 3—IP Routing

Configuration Guide. This chapter does not differentiate between peer and peer group.

Configuring routing between PEs

To configure 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 | ip-address }
as-number as-number

N/A

4.

Specify the source interface
for route updates.

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

interface-number

By default, BGP uses the source
interface of the optimal route

update packet.

5.

Enter BGP-VPNv4 subaddress

family view.

ipv4-family vpnv4

N/A

6.

Enable the exchange of
BGP-VPNv4 routing

information with the specified
peer.

peer { group-name | ip-address }
enable

By default, BGP peers exchange
IPv4 routing information only.

Configuring routing features for BGP VPNv4 subaddress family

With BGP VPNv4 subaddress family, there are a variety of routing features that are the same as those for

BGP IPv4 unicast routing. You can select any of the features as required.

Configuring common routing features for all types of subaddress families

For VPN applications, BGP address families include BGP VPN-IPv4 address family, BGP-L2VPN address

family, and VPLS address family. Every command in the following table has the same function on BGP

Advertising