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

Page 164

Advertising
background image

153

To do…

Use the command…

Remarks

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 may run in a router. If you want RIP routes to have a higher priority than those

learned by other routing protocols, 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 ]

Configure a priority for RIP

preference value

Optional
100 by default

Configuring RIP route redistribution

If a router runs RIP and other routing protocols, you can configure RIP to redistribute 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 ]

Configure a default metric for
redistributed routes

default cost value

Optional
The default metric of a redistributed

route is 0.

Redistribute routes from another
protocol

import-route protocol [ process-id
| all-processes ] [ cost cost | tag

tag ] *

Required
No redistribution is configured by

default.

Advertising