
103
<cost >
is the cost of OSPF protocol ranging between 1~65535.
Default:
Default OSPF cost on the interface is auto-figure out based bandwidth.
Command Mode:
Interface Mode.
Example:
Switch#config terminal
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip ospf cost 3
1.6.3.18 ip ospf database-filter
Command: ip ospf [<ip-address>] database-filter all
out
no ip ospf [<ip-address>] database-filter
Function:
The command opens LSA database filter switch on specific interface; the “
no ip ospf
[<ip-address>] database-filter
” command closes the filter switch.
Parameter: <ip-address>
is the interface IP address shown in dotted decimal notation;
all:
All LSAs.
out:
Sent LSAs.
Default:
Filter switch Closed.
Command Mode:
Interface Mode.
Example:
Switch#config terminal
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip ospf database-filter all out
1.6.3.19 ip ospf dead-interval
Command: ip ospf [<ip-address>] dead-interval
<time >
no ip ospf [<ip-address>] dead-interval
Function:
Specify the dead interval for neighboring layer 3 switch; the “
no ip ospf
[<ip-address>] dead-interval
” command restores the default value.
Parameter: <ip-address>
is the interface IP address shown in dotted decimal notation;
<time >
is the dead interval length of the neighboring layer 3 switches, shown in seconds and
ranging between 1~65535.
Default:
The default dead interval is 40 seconds (normally 4 times of the hellow-interval).
Command Mode:
Interface Mode.
Usage Guide:
If no Hello data packet received after the
dead-interval
period then this layer 3
switch is considered inaccessible and invalid. This command modifies the dead interval value of
neighboring layer 3 switch according to the actual link state. The set
dead-interval
value is
written into the Hello packet and transmitted. To ensure the normal operation of the OSPF
protocol, the dead-interval between adjacent layer 3 switches should be in accordance or at