17 ip ospf database-filter all out – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 255

CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 255 of 855
Usage
You can set the metric manually using this command, if you need to change the default. Using the 
bandwidth command changes the link cost as long as this command is not used. 
The link-state metric is advertised as the link cost in the router link advertisement. 
In general, the path cost is calculated using the following formula: 
10
8
/ bandwidth
 
Examples 
The following example sets the interface cost value to 65: 
Switch(config-if)# ip ospf cost 65 
 
Related Commands 
 
15.17 ip ospf database-filter all out
To filter outgoing link-state advertisements (LSAs) to an Open Shortest Path First (OSPF) interface, 
use the ip ospf database-filter all out command in interface configuration mode. To restore the 
forwarding of LSAs to the interface, use the no form of this command. 
 
Command Syntax 
ip ospf database-filter all out 
no ip ospf database-filter all out 
 
Default 
This command is disabled by default. All outgoing LSAs are flooded to the interface.
 
Command Mode 
Interface configuration
 
Usage 
 
Examples 
The following example prevents flooding of OSPF LSAs to broadcast, nonbroadcast, or point-to-point 
networks reachable through the interface eth-0-1: 
interface eth-0-1 
 ip ospf database-filter all out 
 
Related Commands 
 
