
2-46 add ip route filter Release Note
Software Version 2.7.5
C613-10454-00 REV A
add ip route filter
Syntax ADD IP ROUte FILter[=filter-id] IP=ipadd MASK=ipadd
ACtion={INCLude|EXCLude|SWItch}
[DIrection={RECeive|SENd|BOTH}] [INTerface=interface]
[NEXThop=ipadd] [POLIcy=0..7] [PROTocol={ANY|OSPF|RIP}]
Description This command creates a route filter. A route filter controls which routes RIP
receives and advertises, and which external routes OSPF copies into its LSA
database.
Parameter Description
FILter The ID number of the filter, in the range 1 to 100.
Default: no default (the filter is added to the end of the list of
currently-defined filters)
IP The network address to match. You can use the wildcard character
(”*”) to match a network range. For example, 192.168.*.* matches
all destination networks that start with 192.168. The wildcard
character can only replace a complete number. For example,
192.168.*.* is valid but 192.16*.*.* is not.
Default: no default
MASK The network mask of the network to match. You can use the wildcard
character (”*”) to match a network mask range. For example,
255.255.*.* matches all destination network masks that start with
255.255. The wildcard character can only replace a complete number.
For example, 255.255.*.* is valid but 255.25*.*.* is not.
Default: no default
ACtion What the router or switch does with routes that match the filter.
Default: no default
INCLude The router or switch includes matching routes in its RIB
or the advertisement.
EXCLude The router or switch excludes matching routes from its
RIB or the advertisement.
SWItch The router or switch learns matching routes and adds
them to the special default IP route table in hardware.
The default IP route table can contain up to 16
summary routes.
Kommentare zu diesen Handbüchern