Configuring a priority for rip, Configuring rip route redistribution – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 228

Advertising
background image

24-10

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

z

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.

z

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, you can 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

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 by default.

Redistribute routes from another
protocol

import-route protocol

[ cost cost |

tag tag

] *

Required
No redistribution is configured by
default.

Advertising