Configuring a priority for rip, Configuring rip route redistribution – H3C Technologies H3C S10500 Series Switches User Manual

Page 46

Advertising
background image

31

To do…

Use the command…

Remarks

Enter system view

system-view

––

Enter RIP view

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

––

Configure the filtering of incoming
routes

filter-policy { acl-number |
gateway ip-prefix-name | ip-prefix
ip-prefix-name [ gateway

ip-prefix-name ] } import

[ interface-type interface-number ]

Required
Not configured by default

Configure the filtering of outgoing
routes

filter-policy { acl-number |
ip-prefix ip-prefix-name } export

[ protocol [ process-id ] |

interface-type interface-number ]

Required
Not configured by default

NOTE:

Using the filter-policy import command filters incoming routes. Routes not passing the filtering will be
neither installed into the routing table nor advertised to neighbors.

Using the filter-policy export command filters outgoing routes, including routes redistributed with the
import-route command.

Configuring a priority for RIP

Multiple IGP protocols can run in a router. If you want RIP routes to have a higher priority than those

learned by other routing protocols, then assign RIP a smaller priority value to influence optimal route

selection.
Follow these steps to configure a priority for RIP:

To do…

Use the command…

Remarks

Enter system view

system-view

––

Enter RIP view

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

––

Configure a priority for RIP

preference [ route-policy
route-policy-name ] value

Optional
100 by default

Configuring RIP route redistribution

If a router runs RIP and other routing protocols, you can configure RIP to redistribute OSPF, IS-IS, BGP,

static, or direct routes.
Follow these steps to configure RIP route redistribution:

To do…

Use the command…

Remarks

Enter system view

system-view

––

Enter RIP view

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

––

Advertising