Configuring routing between mce and pe – H3C Technologies H3C SR8800 User Manual

Page 282

Advertising
background image

271

1.

Configurations on the MCE

To configure the MCE:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number N/A

3.

Enter BGP-VPN instance view. ipv4-family vpn-instance

vpn-instance-name

N/A

4.

Configure an IBGP peer.

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

N/A

5.

Configure the system to be the
RR and specify the peer as the

client of the RR.

peer { group-name | ip-address }
reflect-client

Optional.
By default, no RR or RR client is
configured.

6.

Redistribute remote site routes
advertised by the PE.

import-route protocol [ process-id
| all-processes ] [ med med-value |

route-policy route-policy-name ] *

By default, no routes of any other
protocol are redistributed to BGP.

7.

Configure a filtering policy to

filter the routes to be

advertised.

filter-policy { acl-number |
ip-prefix ip-prefix-name } export

[ direct | isis process-id | ospf
process-id | rip process-id | static ]

Optional.
By default, BGP does not filter the

routes to be advertised.

8.

Configure a filtering policy to
filter received routes.

filter-policy { acl-number |
ip-prefix ip-prefix-name } import

Optional.
By default, BGP does not filter the
received routes.

NOTE:

When a CE is configured as an IBGP peer, the MCE does not advertise the BGP routes learned from this
CE to other IBGP peers, including VPNv4 peers. Only when you configure a CE as a client of the RR (the
MCE), does the MCE advertise routes learned from it to other IBGP peers.

2.

Configurations on the VPN site

To configure the VPN site:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number N/A

3.

Configure the MCE as the
IBGP peer.

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

N/A

4.

Redistribute the IGP routes of
the VPN.

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

route-policy-name ] *

Optional.
A VPN site must advertise the VPN
network addresses it can reach to

the connected MCE.

Configuring routing between MCE and PE

MCE-PE routing configuration includes these tasks:

Advertising