Changing the default redistribution metric – Brocade BigIron RX Series Configuration Guide User Manual

Page 824

Advertising
background image

746

BigIron RX Series Configuration Guide

53-1002484-04

Configuring RIP parameters

25

If the route map contains a permit action, a route that matches a match statement is
permitted; otherwise, the route is denied.

If the route map contains a deny action, a route that matches a match statement is denied.

If a route does not match any match statements in the route map, the route is denied. This is
the default action. To change the default action, configure the last match statement in the last
instance of the route map to “permit any any”.

If there is no match statement, the software considers the route to be a match.

For route maps that contain address filters, AS-path filters, or community filters, if the action
specified by a filter conflicts with the action specified by the route map, the route map’s action
takes precedence over the individual filter’s action.

If the route map contains set statements, routes that are permitted by the route map’s match
statements are modified according to the set statements.

In RIP, the match statements are based on prefix lists and access control lists. Set statements are
based on tag values and metric values.

To configure redistribution filters, enter a command such as the following.

BigIron RX(config-rip-router)# redistribute bgp route-map longroute

Syntax: redistribute connected | bgp | ospf | static [metric <value> | route-map <name>]

The connected parameter applies redistribution to connected types.

The bgp parameter applies redistribution to BGP4 routes.

The ospf parameter applies redistribution to OSPF routes.

The static parameter applies redistribution to IP static routes.

The metric <value> parameter sets the RIP metric value 1- 15 that will be applied to the routes
imported into RIP.

The route-map <name> parameter indicates the route map’s name.

Changing the default redistribution metric

When the device redistributes a route into RIP, the software assigns a RIP metric (cost) to the route.
By default, the software assigns a metric of one to each route that is redistributed into RIP. You can
increase the metric that the device assigns, up to 15.

To change the RIP metric the device assigns to redistributed routes, enter a command such as the
following.

BigIron RX(config-rip-router)# default-metric 10

This command assigns a RIP metric of 10 to each route that is redistributed into RIP.

Syntax: [no] default-metric <1-15>

Configuring route learning and advertising parameters

By default, a device learns routes from all its RIP neighbors and advertises RIP routes to those
neighbors.

You can configure the following learning and advertising parameters:

Advertising