beautypg.com

Configuring routing between an mce and a pe, Configuring ripng between an mce and a pe – H3C Technologies H3C S12500-X Series Switches User Manual

Page 356

background image

345

Step

Command

Remarks

6.

Redistribute the IGP routes
of the VPN into BGP.

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

* ]

By default, no routes are
redistributed into BGP.
A VPN site must advertise VPN
network addresses to the

connected MCE.

Configuring routing between an MCE and a PE

MCE-PE routing configuration includes these tasks:

Binding the MCE-PE interfaces to IPv6 VPN instances.

Performing routing configurations.

Redistributing IPv6 VPN routes into the routing protocol running between the MCE and the PE.

Perform the following configuration tasks on the MCE. Configure the PE in the same way that a PE in a

basic MPLS L3VPN is configured. For more information about configuring the PE, see "Configuring MPLS

L3VPN."

Configuring IPv6 static routing between an MCE and a PE

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure an IPv6 static

route for an IPv6 VPN
instance.

ipv6 route-static vpn-instance s-vpn-instance-name
ipv6-address prefix-length { interface-type
interface-number
[ next-hop-address ] | nexthop-address

[ public ] | vpn-instance d-vpn-instance-name

nexthop-address } [ permanent ] [ preference

preference-value ] [ tag tag-value ] [ description
description-text ]

By default, no IPv6
static route is

configured.

3.

(Optional.) Configure

the default preference
for IPv6 static routes.

ipv6 route-static default-preference
default-preference-value

The default value is
60.

Configuring RIPng between an MCE and a PE

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a RIPng process for an

IPv6 VPN instance and enter
RIPng view.

ripng [ process-id ] vpn-instance
vpn-instance-name

N/A

3.

Redistribute VPN routes.

import-route protocol [ process-id ]
[ allow-ibgp ] [ cost cost |

route-policy route-policy-name ] *

By default, no routes are
redistributed into RIPng.

4.

(Optional.) Configure the
default cost value for

redistributed routes.

default cost value

The default value is 0.

5.

Return to system view.

quit

N/A