Open Shortest Path First (OSPFv2) | 395
distribute-list in
Apply a filter to incoming routing updates from OSPF to the routing table.
Syntax
distribute-list prefix-list-name in [interface]
To delete a filter, use the no distribute-list prefix-list-name in [interface] command.
Parameters
Defaults
Not configured.
Command Modes
ROUTER OSPF
Command
History
distribute-list out
Apply a filter to restrict certain routes destined for the local routing table after the SPF calculation.
Syntax
distribute-list prefix-list-name out [connected | rip | static]
To remove a filter, use the no distribute-list prefix-list-name out [connected | rip | static]
command.
Parameters
Defaults
Not configured.
Command Modes
ROUTER OSPF
Command
History
prefix-list-name
Enter the name of a configured prefix list.
interface
(OPTIONAL) Enter one of the following keywords and slot/port or number
information:
• For Port Channel groups, enter the keyword
port-channel followed by a
number:
Range: 1-128
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
• For a VLAN, enter the keyword
vlan followed by a number from 1 to 4094.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by
the slot/port information.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
prefix-list-name
Enter the name of a configured prefix list.
connected (OPTIONAL) Enter the keyword connected to specify that connected routes are
distributed.
rip (OPTIONAL) Enter the keyword rip to specify that RIP routes are distributed.*
static (OPTIONAL) Enter the keyword static to specify that only manually configured
routes are distributed.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module