DES-7200 CLI Reference Guide
Examples
32.1.15 distribute-list in
Use this command to configure LSA filtering.
distribute-list {listname | gateway plist-name | prefix plist-name} in [interface-type num]
no distribute-list {listname | gateway plist-name | prefix plist-name}| in [interface-type
num]
Parameter
description
Default
Command
mode
Usage
guidelines
Examples
In the configuration below, the OSPF external route management
distance is set as 160.
DES-7210(config)# router ospf 1
DES-7210(config-router)# distance ospf external 160
Parameter
Description
listname
Use the acl filtering rule.
gateway
Use the gateway filtering rule.
plist-name
prefix plist-name
Use the prefix-list filtering rule.
interface-type
Configure the LSA route filtering on the interface.
num
N/A.
Routing process configuration mode.
This configuration filters the received LSAs, and only those matching
the filtering conditions are involved in the SPF calculation to generate
the corresponding routes. It does not affect the link status database
or the routing table of the neighbors. It only affects the routing entries
calculated by the local OSPF. This function is generally used for the
ABR or ASBR, where it can control the routes leaving the area.
DES-7210(config)# access-list 3 permit 172.16.0.0 0.0.127.255
DES-7210(config)# router ospf 25
DES-7210(config-router)# redistribute rip metric 100
DES-7210(config-router)# distribute-list 3 in ethernet 1/0
DES-7210(config-router)# distribute-list 3 in ethernet 1/1
Chapter 32 OSPFv2 Configuration Commands
32-17