Configuring rip between pe and ce, Configuring ospf between pe and ce – H3C Technologies H3C S10500 Series Switches User Manual

Page 258

Advertising
background image

247

To do…

Use the command…

Remarks

ip route-static vpn-instance
s-vpn-instance-name&<1-5>
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 ]

NOTE:

For information about static routing, see

Layer 3—IP Routing Configuration Guide.

Configuring RIP between PE and CE

A RIP process belongs to the public network or a single VPN instance. If you create a RIP process without

binding it to a VPN instance, the process belongs to the public network.
Follow these steps to configure RIP between PE and CE:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a RIP process for a VPN
instance and enter RIP view

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

Required
Perform this configuration on PEs.
On CEs, create a normal RIP

process.

Enable RIP on the interface
attached to the specified network

network network-address

Required
By default, RIP is disabled on an
interface.

NOTE:

For more information about RIP, see

Layer 3—IP Routing Configuration Guide.

Configuring OSPF between PE and CE

An OSPF process that is bound to a VPN instance does not use the public network router ID configured

in system view. Therefore, you must specify the router ID when starting a process or to configure the IP

address for at least one interface of the VPN instance.
An OSPF process belongs to the public network or a single VPN instance. If you create an OSPF process

without binding it to a VPN instance, the process belongs to the public network.
Follow these steps to configure PE-CE route exchange through OSPF:

To do…

Use the command…

Remarks

Enter system view

system-view

Create an OSPF process for a VPN
instance and enter the OSPF view

ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *

Required
Perform the configurations on PEs.

On CEs, create a normal OSPF
process.

Advertising