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

Page 334

Advertising
background image

323

Step Command

Remarks

2.

Configure a static route

for a VPN instance.

ip route-static vpn-instance s-vpn-instance-name
dest-address { mask-length | mask } { interface-type
interface-number [ next-hop-address ] |

next-hop-address [ public ] [ track

track-entry-number ] | vpn-instance
d-vpn-instance-name next-hop-address [ track

track-entry-number ] } [ permanent ] [ preference

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

By default, no static
route is configured.

3.

(Optional.) Configure
the default preference for

static routes.

ip route-static default-preference

default-preference-value

The default preference is
60.

Configuring RIP between an MCE and a 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 |
all-processes | allow-ibgp ] [ cost cost |
route-policy route-policy-name | tag tag ] *

By default, no routes are
redistributed into RIP.

5.

(Optional.) Configure

the default cost for
redistributed routes.

default cost value

The default cost is 0.

Configuring OSPF between an MCE and a PE

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create an OSPF process for a
VPN instance and enter OSPF

view.

ospf [ process-id | router-id
router-id | vpn-instance

vpn-instance-name ] *

N/A

3.

Disable routing loop
detection.

vpn-instance-capability simple

By default, routing loop detection
is enabled.
You must disable routing loop

detection for a VPN OSPF process
on the MCE. Otherwise, the MCE

cannot receive OSPF routes from

the PE.

4.

(Optional.) Configure the
OSPF domain ID.

domain-id domain-id [ secondary ] The default domain ID is 0.

Advertising