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

Page 283

Advertising
background image

272

Bind the MCE-PE interfaces to VPN instances

Perform route configurations

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

NOTE:

Configurations in this section are made on the MCE. Configurations on the PE are similar to those on the
PE in common MPLS L3VPN network solutions (see “

Configuring routing between PE and CE

”).

Configuring static routing between MCE and PE

To configure static routing between MCE and PE:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure a static route
for a VPN instance.

ip route-static dest-address { mask | mask-length }
{ gateway-address | interface-type interface-number

[ gateway-address ] | vpn-instance

d-vpn-instance-name gateway-address } [ preference
preference-value ] [ tag tag-value ] [ description

description-text ]

ip route-static vpn-instance

s-vpn-instance-name&<1-6> dest-address { mask |

mask-length } { gateway-address [ public ] |

interface-type interface-number [ gateway-address ]
| vpn-instance d-vpn-instance-name

gateway-address } [ preference preference-value ]

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

Use either
command.

3.

Configure the default
precedence for static

routes.

ip route-static default-preference
default-preference-value

Optional.
60 by default.

Configuring RIP between MCE and PE

To configure RIP between MCE and PE:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a RIP process for
a VPN instance and

enter RIP view.

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

N/A

3.

Enable RIP on the
interface attached to

the specified network.

network network-address

By default, RIP is disabled on
an interface.

4.

Redistribute the VPN

routes.

import-route protocol [ process-id ]
[ allow-ibgp ] [ cost cost | route-policy
route-policy-name
| tag tag ] *

By default, no route of any
other routing protocol is
redistributed into RIP.

5.

Configure the default

cost value for the

redistributed routes.

default cost value

Optional.
0 by default.

Advertising