
2-22 Release Note
Software Version 2.7.5
C613-10454-00 REV A
Applying route maps To use a route map to filter or modify update messages that it receives from a
peer, use one of the commands:
add /jointfilesconvert/427458/bgp peer=ipadd remoteas=asn inroutemap=routemap
[other-options]
set /jointfilesconvert/427458/bgp peer=ipadd inroutemap=routemap [other-options]
The router or switch checks every route in the update message against every
entry in the filter, starting with the entry with the lowest entry number, until it
finds a match or gets to the end of the filter.
Filtering OSPF routes when writing to the RIB
To filter OSPF routes before adding them to the RIB, first create a route map
that matches on the appropriate route characteristics. Then use the route map
in the command:
set ospf inroutemap=routemap
Plan your filters carefully. If a filter excludes a matching route from the RIB,
OSPF does not advertise a summary LSA for that route because summary LSA
messages are derived from the filtered RIB. This means that incorrect filters can
prevent Area Border Routers from advertising routes to other areas.
Filtering RIP routes when writing to the RIB
To filter RIP routes before adding them to the RIB, simply create a filter or
series of filters, using the command:
add ip route filter[=filter-id] ip=ipadd mask=ipadd
action={include|exclude} protocol=rip direction=receive
[other-options]
The router or switch automatically applies the filter when importing RIP
routes, because protocol=rip.
The immediate effect of a route filter with direction set to receive and action
set to exclude is that route advertisements received matching the filter do not
result in a new entry in the local RIB. However, routes already in the RIB are
not deleted even when they match the route filter. Therefore, if you
dynamically add a route filter at the manager prompt, you may also need to
manually delete unwanted routes from the RIB.
Filtering invalid when writing static and interface routes to
the RIB
You cannot filter in a way that excludes statically-configured or interface routes
from the RIB.
Kommentare zu diesen Handbüchern