- 论坛徽章:
- 0
|
ospf各area(非0)之间如何控制路由传播?请高手解答!急!!
from:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fiprrp_r/1rfospf.htm#1050356
area filter-list
To filter prefixes advertised in type 3 link-state advertisements (LSAs) between Open Shortest Path First (OSPF) areas of an area border router (ABR), use the area filter-list command. To change or cancel the filter, use the no form of this command.
area {area-id} filter-list prefix {prefix-list-name in | out}
no area {area-id} filter-list prefix {prefix-list-name in | out}
Syntax Description
area-id
Identifier of the area for which filtering is configured. The identifier can be specified as either a decimal value or an IP address.
prefix
Indicates that a prefix list is used.
prefix-list-name
Name of a prefix list.
in
Prefix-list applied to prefixes advertised to the specified area from other areas.
out
Prefix-list applied to prefixes advertised out of the specified area to other areas.
Defaults
This command has no default behavior.
Command Modes
Router configuration
Command History
Release Modification
12.0(15)S
This command was introduced.
Usage Guidelines
With this feature enabled in the "in" direction, all type 3 LSAs originated by the ABR to this area, based on information from all other areas, are filtered by the prefix list. Type 3 LSAs that were originated as a result of the area-range command in another area are treated like any other type 3 LSA that was originated individually. Any prefix that does not match an entry in the prefix list is implicitly denied.
With this feature enabled in the "out" direction, all type 3 LSAs advertised by the ABR, based on information from this area to all other areas, are filtered by the prefix list. If the area-range command has been configured for this area, type 3 LSAs that correspond to the area range are sent to all other areas, only if there is at least one prefix in the area range that matches an entry in the prefix list.
If all specific prefixes are denied by the prefix list, type 3 LSAs that correspond to the area-range command will not be sent to any other area. Prefixes that are not permitted by the prefix list are implicitly denied.
Examples
The following example filters prefixes that are sent from all other areas to area 1:
area 1 filter-list prefix-list AREA_1 in |
|