beautypg.com

Configuring ibgp between an mce and a vpn site – H3C Technologies H3C S6800 Series Switches User Manual

Page 476

background image

463

Configuring IBGP between an MCE and a VPN site

To use IBGP between an MCE and a VPN site, you must configure a BGP peer for each IPv6 VPN

instance on the MCE, and redistribute the IGP routes of each VPN instance on the VPN site.

1.

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.

ip vpn-instance
vpn-instance-name

N/A

4.

Configure an IBGP peer.

peer { group-name |
ipv6-address
[ prefix-length ] }

as-number as-number

N/A

5.

Enter BGP-VPN IPv6 unicast
address family view.

address-family ipv6 [ unicast ]

N/A

6.

Enable BGP to exchange

IPv6 unicast routes with the
peer.

peer { group-name |
ipv6-address
[ prefix-length ] }

enable

By default, BGP does not
exchange IPv6 unicast routes

with any peer.

7.

(Optional.) Configure the

system to be the RR, and
specify the peer as the client

of the RR.

peer { group-name |
ipv6-address [ prefix-length ] }

reflect-client

By default, no RR or RR client is
configured.
After you configure a VPN site as

an IBGP peer, the MCE does not
advertise the BGP routes learned

from the VPN site to other IBGP

peers, including VPNv6 peers.
The MCE advertises routes

learned from a VPN site only

when you configure the VPN site
as a client of the RR (the MCE).

8.

Redistribute remote site
routes advertised by the PE

into BGP.

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

route-policy route-policy-name ]

* ]

By default, no routes are
redistributed into BGP.

9.

(Optional.) Configure

filtering of advertised routes.

filter-policy { acl6-number |
prefix-list ipv6-prefix-name }
export [ protocol process-id ]

By default, BGP does not filter
advertised routes.

10.

(Optional.) Configure

filtering of received routes.

filter-policy { acl6-number |
prefix-list ipv6-prefix-name }
import

By default, BGP does not filter
received routes.

2.

Configure a VPN site:

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number N/A