Configuring to use rip between a mce and a pe – H3C Technologies H3C S7500E Series Switches User Manual

Page 29

Advertising
background image

1-17

To do…

Use the command…

Remarks

Enter system view

system-view

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

]

Define a static route

for a VPN instance

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 ]

Required

By default, for a static

route, the preference value

is 60, the tag value is 0,

and no description

information is configured.

Set the default

preference value of

static routes

ip route-static default-preference

default-preference-value

Optional

By default, the preference

value of a static route is

60.

z

A static route configured for a VPN instance does not take effect if you configure the next hop
address of the route as the IP address of a local interface (such as Ethernet interface, VLAN
interface).

z

If the default static route preference is not configured, the preference of a newly defined static
route adopts the system default preference value, which is 60. A customized default static route
preference has no effect on existing static routes.

z

Static routes can be controlled selectively by using routing policies according to the tag values
set for static routes.

z

The ip route-static command defines a default route if both the destination address and the
mask are set to 0.0.0.0.

Configuring to Use RIP between a MCE and a PE

When configuring to use RIP between a MCE and a PE, you need to configure the RIP processes to
be bound to the VPN instances and manually import the VPN routes in the site maintained by the
MCE device to the routing table of the PE.

Follow these steps to enable RIP for a VPN instance:

Advertising