To enable inbound filtering for routes and define the conditions for distributing the routes from one routing protocol to another, use the command distribute-list in OSPF Router Configuration Mode. The no form of the command disables inbound filtering for the routes.
Parameter | Type | Description |
---|---|---|
route-map
|
Enter to configure the name of the Route Map for which filtering should be enabled. Only one route map can be set for inbound routes. Another route map can be assigned, only if the already associated route map is disassociate | |
<name(1-20)>
|
Integer | Enter a name for a route map. This is a string with maximum size of 20. |
in
|
Enter to configure inbound filtering configuration |
OSPF Router Configuration Mode
iS5Comm(config)# router ospf
iS5Comm(config-router)# distribute-list route-map rmap-test in
The clear ip ospf command will have to be executed for this to take effect.