Command Reference
OSPFv2 Commands
Parameter
Description
Parameter
Description
access-list-number
|
name
Uses the ACL filtering rule.
gateway
prefix-list-name
Uses the gateway filtering rule.
Prefix
prefix-list-name
Uses the prefix-list filtering rule.
route-map
route-map-name
Uses the route-map filtering rule.
interface-type
interface-number
Configures the LSA route filtering on the interface.
Defaults
No filtering is configured by default.
Command
Mode
Routing process configuration mode
Usage Guide
This configuration filters the received LSAs, and only those matching the filtering conditions are
involved in the Shortest Path First (SPF) calculation to generate the corresponding routes. It does not
affect the link status database or the route table of the neighbors. It only affects the routing entries
calculated by local OSPF. This function is used to control routes that enter the ABR or ASBR.
The following route-map rules will be supported if the route-map parameter is configured:
match interface
match ip address
match ip address prefix-list
match ip next-hop
match ip next-hop prefix-list
match metric
match route-type
match tag
Filtering routes by using the
distribute-list in
command affects forwarding of local routes, but does
not affect route computation based on LSAs. Therefore, if route filtering is configured on the ABR,
Type 3 LSAs will still be generated and advertised to other areas because routes can still be
computed based on LSAs. As a result, black-hole routes are generated. In this case, you can run the
area filter-list
or
area range
(containing the
not-advertise
parameter) command on the ABR to
prevent generation of black-hole routes.
Configuration
Examples
The following example configures LSA filtering.
Ruijie(config)# access-list3permit
172.16.0.00.0.127.255
Ruijie(config)# router ospf
25
Ruijie(config-router)# distribute-list 3 in ethernet 0/1
Related
Commands
Command
Description
distribute-list out
Filters redistribution routes.
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...