
25-82
Function:
Specify the cost required in running OSPF protocol on the interface; the “
no ip ospf [<
ip-address
>] cost
” command
restores the default value.
Parameter:
<
ip-address
>
is the interface IP address shown in dotted decimal notation.
<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 Configuration Mode.
Example:
Switch#config terminal
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip ospf cost 3
25.29 ip ospf database-filter
Command:
ip ospf [<
ip-address
>] database-filter all out
no ip ospf [<
ip-address
>] database-filter
Function:
The command op
ens 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.