Command Reference
OSPFv3 Commands
Description
3.12 distribute-list in
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
]
Parameter
Description
Parameter
Description
name
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.
Defaults
Routes are not filtered by default.
Command
Mode
Routing process configuration mode
Usage Guide
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.
Configuration
Examples
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
Related
Commands
Command
Description
area range
Configures route aggregation in an area.
Platform
Description
N/A
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...