Download PortMaster Command Line Reference

Transcript
set Ether0|S0|W1|user|location route-filter
Table 16-2
General Routing Commands
Effects of PortMaster Route Filters on RIP and OSPF Routes (Continued)
Protocol
Inbound Route Filter—Route Injection
OSPF
The filter permit/deny rule applies and determines
which routes are placed into the routing table when
• The address of the advertiser of the route matches
the source address in the filter.
• The destination address in the route being
advertised matches the destination address in the
filter.
For OSPF, the advertiser is the ultimate advertiser of
the information, not the next-hop OSPF router. Also,
the filter specifies only the information that is in the
routing table.
Outbound Route Filter—
Route Advertisement
The filter is ignored. OSPF
area flooding rules make the
definition of outbound route
filters impractical on a
per-interface basis.
Use propagation filters to
translate routing information
from RIP, static, or BGP routes
so that they do not enter OSPF
as external Type 2 routes. See
the add propagation
command on page 16-3 for
details.
Because OSPF area flooding rules make filtering
inbound or outbound information on a per-interface
basis impractical, applying the same inbound filter to
all interfaces running OSPF within the same area is
generally good practice.
Examples
The following example disables an outbound route filter on the S1 interface:
Command> set s1 route-filter outgoing
Outgoing route filter on S1 disabled
The following example changes the inbound route filter on the S0 interface:
Command> set s0 route-filter incoming inb
Incoming route filter for port S0 changed from ina to inb
The following examples apply inbound and outbound route filters to user zephyr:
Command> set user zephyr route-filter incoming routes.in
16-10
Username: zephyr
Type: Dial-in Network User
Address: Negotiated
Netmask: 255.255.255.255
PortMaster Command Line Reference