Accton Technology ES4626 Switch User Manual


 
400
Function: Set the cost for running OSPF on the interface; the “no ip ospf cost” command
restores the default setting.
Parameter: < cost> is the OSPF cost, ranging from 1 to 65535.
Default: The default cost for OSPF protocol is 1.
Command mode: Interface Mode
Example: Set the OSPF route cost of interface vlan1 to 3.
Switch(Config-If-Vlan1)#ip ospf cost 3
15.4.2.2.8 ip ospf dead-interval
Command: ip ospf dead-interval <time >
no ip ospf dead-interval
Function: Specify the interval before regarding a neighbor layer3 switch invalid; the “no
ip ospf dead-interval” command restores the default setting.
Parameter: <time> is the timeout value for a neighbor layer3 switch to be considered
invalid in seconds; the valid range is 1 to 65535.
Parameter: The default timeout value for a neighbor layer3 switch to be considered
invalid is 40 seconds (usually 4 times of the hello-interval).
Command mode: Interface Mode
Usage Guide: If no HELLO packet is received from a neighbor layer3 switch within the
dead-interval time, that switch is considered unreachable and invalid. This command
allows the user to set default time of a neighbor layer3 switch to be considered invalid.
The dead-interval value set will be written to the HELLO packet and send with it. For
OSPF protocol to run properly,
the dead-interval parameter between the interface and a neighbor layer3 switch must be
the same, and be at least four times of the hello-interval value.
Example: Set the OSPF route invalid timeout value of interface vlan1 to 80s.
Switch(Config-If-Vlan1)#ip ospf dead-interval 80
15.4.2.2.9 ospf enable area
Command: ip ospf enable area <area_id>
no ip ospf enable area
Function: Set an area for the interface; the “no ip ospf enable area” command cancels
the setting.
Parameter: <area_id> is the area number where the interface resides, ranging from 0 to
4294967295.
Default: The interface has no area configured by default.
Command mode: Interface Mode
Usage Guide: To run OSPF protocol on an interface, an area must be specified for that