Configuring all OSPF interfaces as passive

OSPF sends LSAs to all other routers in the same AS. To limit the flooding of LSAs throughout the AS, you can configure OSPF to be passive.

Prerequisites

You must be in the router configuration context, as indicated by theswitch(config-router)#prompt.

Procedure
配置所有OSPF国米faces as passive using the following command. For command details, seepassive-interface违约.

passive-interface违约

switch(config-ospf-1)#passive-interface违约