OcNOS-SP : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv3 Commands : distribute-list
distribute-list
Use this command to filter networks in routing updates. This command redistributes other routing protocols into the OSPF routing table.
Use the no parameter with this command to disable this function.
Command Syntax
distribute-list WORD out ((kernel|connected|static|rip|bgp|isis|ospf (WORD|<1-65535>|)))
distribute-list WORD in
no distribute-list WORD out ((kernel|connected|static|rip|bgp|isis|ospf (WORD|<1-65535>|)))
no distribute-list WORD in
Parameters
WORD
Specify the name of the access list.
in
Filter incoming routing updates.
out
Filter outgoing routing updates.
kernel
Specify kernel routes.
connected
Specify connected routes.
static
Specify static routes.
rip
Specify RIP routes.
bgp
Specify BGP routes.
isis
Specify IS-IS routes.
ospf
Specify OSPF routes.
WORD
Specify the OSPF process tag. If not specified, redistribute OSPF process with tag "null".
<1-65535>
Specify OSPF process ID <1-65535>. If not specified, redistribute OSPF instance with process ID 0.
Default
No default value is specified
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows the distribution of BGP routing updates based on the access list list1 (network 172.10.0.0).
#configure terminal
(config)#access-list list1 permit 172.10.0.0/16
(config)#router ipv6 ospf 100
(config-router)#distribute-list list1 out bgp
(config-router)#redistribute bgp
Last modified date: 10/16/2023