Command Reference OSPFv3 Commands
Use this command to filter routes that are computed based on Link State Advertisement (LSA). Use
the no form of this command to restore the default setting.
distribute-list { name | prefix-list prefix-list-name } in [ interface-type interface-number ]
no distribute-list { name | prefix-list prefix-list-name } in [ interface-type interface-number ]
Specifies an ACL filtering rule.
prefix-list prefix-list-name
Specifies a prefix list filtering rule.
interface-type
interface-number
Specifies an interface on which LSA-based routes are filtered.
Routes are not filtered by default.
Routing process configuration mode
Filter the routes computed based on LSA. Only the routes meeting filtering conditions can be
forwarded. Route filtering does not affect the link state database and the routing tables of the
neighbors. The ACL and prefix list filtering rules cannot be set at the same time. You can set only the
ACL filtering rule or the prefix list filtering rule for a specific interface.
The routing filtering rules affect only forwarding of local routes but not route computation based on
LSA. When route filtering is configured on an ABR, LSA can still compute routes and generate and
send inter-area LSAs with prefixes to other areas. This will cause blackhole routes. To prevent the
generation of blackhole routes, you can run the area range command with the not-advertise
keyword.
The following example filters routes that are computed based on Link State Advertisement (LSA).
Ruijie(config)# ipv6 prefix-list aaa seq 10 permit 2001::/64
Ruijie(config)# ipv6 router ospf 25
Ruijie(config-router)# redistribute rip metric 100
Ruijie(config-router)# distribute-list prefix-list aaa in ethernet 0/1
Configures route aggregation in an area.