User manual

Chapter 4 - Layer 3 Command Set - IP Networking OSPFv2 (Dynamic Routing Protocol Module)
Alvarion BreezeNET B130/B300 GigE 150 Operational User Manual
Value and type of a metric for external links can be defined in route-map. In this
case a type and value of a metric can be defined depending on route parameters
(interface, gateway, destination etc).
If type and/or value of a metric left undefined the router will consider these
external links to have a default metric and type 2. Default metric is specified using
the following command:
default-metric <0-16777214>
If default metric is not defined, it equals 1.
In redistribute kernel mode the router will not make an advertisement into OSPF
system about having as link to default gateway (destination = 0.0.0.0/0 network),
even if it is clearly written in the routing table by the administrator. In order for
the router to advertise its link to the default gateway it is necessary to clearly
force him to do that using a command in config-router mode:
default-information originate [always] [metric-type (1|2)]
[metric <0-16777214>] [route-map WORD]
metric-type (1|2) and metric <0-16777214> attributes define the same
parameters of the external link for redistribute command. They are also not
mandatory. This command also has one optional attribute - always. This attribute
makes a router to advertise its default gateway link even if the route is not in the
routing table.
To cancel advertising of an external link to default gateway us the command:
no default-information originate
4.7.6.1 Route map (route-map)
For more flexible configuration of metric type and its value for external links, one
can use a route-map. Route-map is a set of conditional records. Each record has
its number in the map, a condition of correspondence for the importing route of
the record, actions to be done with a resulting object in case of its
correspondence, resulting action (deny, permit) etc. Routes are listed in the
route-map according to their number in ascending order. If a route satisfies a
record's condition:
If a resulting action is deny, the route is denied, review of map's records is
aborted and a resulting object is cancelled (link is not advertised)
If a resulting action is permit, all actions specified in the record are performed
for a resulting object. Further, records viewing is stopped or, if specified in the
scenario, it is resumed depending on the option specified in the scenario: