distribute-list route-map

Creates a route-map distribution list.

Syntax

distribute-list route-map map in
no distribute-list route-map

Parameters

map
Specifies a route map.
in
Creates a distribution list for an inbound route map.

Modes

OSPF router configuration mode

OSPFv3 router configuration mode

OSPF router VRF configuration mode

OSPFv3 router VRF configuration mode

Usage Guidelines

The distribution list can filter Link State Advertisements (LSAs) received from other OSPF devices before adding the corresponding routes to the routing table.

The no form of the command removes the distribution list.

Examples

The following example creates a distribution list using a route map named filter1 that has already been configured.

device# configure terminal
device(config)# router ospf
device(config-router-ospf-vrf-default-vrf)# distribute-list route-map filter1 in