13 distribute-list (ospf), 14 ip ospf authentication – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 252

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 252 of 855

15.13 distribute-list (OSPF)

To filter networks received in updates or suppress networks from being advertised in updates, use the
distribute-list command in router configuration mode. To cancel this function, use the no form of this
command.


Command Syntax

distribute-list access-list-name {in | out}
no distribute-list access-list-name {in | out}

access-list-name

Name of an access list to be applied.

in

Filter

networks

received

in

updates.

out

Suppress networks from being advertised in updates.


Default

This command is disabled by default.


Command Mode

Router configuration


Usage

This command must specify an access list.


Examples

In the following example, OSPF process 1 is configured to accept two networks, network 20.0.0.0 and
network 10.108.0.0:
ip access-list acl1
permit any 20.0.0.0 0.0.255.255 any
permit any 10.108.0.0 0.0.255.255 any
deny any any any
router ospf 1
network 10.108.0.0/16 area 1
distribute-list acl1 in


Related Commands

ip access-list

15.14 ip ospf authentication

To specify the authentication type for an interface, use the ip ospf authentication command in
interface configuration mode. To remove the authentication type for an interface, use the no form of

Advertising