507
Example:
Switch#config terminal
Switch(config)#router ipv6 ospf
Switch(config-router)#default-metric 100
14.7.3.7 ipv6 ospf cost
Command: ipv6 ospf cost
<cost> [instance-id <id>]
no ipv6 ospf cost [instance-id <id>]
Function:
Specify the cost required in running OSPF protocol on the interface; the “
no
ipv6 ospf cost [instance-id <id>]
” command restores the default value
Parameter: <id>
is the interface instance ID, ranging between 0~255, defaulted at 0
<cost >
is the cost of OSPF protocol ranging between 1~65535
Default:
Default OSPF cost on the interface is 10
Command Mode:
Interface Mode
Usage Guide:
The command can configure on IPv6 tunnel interface, but it is successful
configuration to only configure tunnel carefully.
Example:
Switch#config terminal
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ipv6 ospf cost 3
14.7.3.8 ipv6 ospf dead-interval
Command: ipv6 ospf dead-interval
<time > [instance-id <id>]
no ipv6 ospf dead-interval [instance-id <id>]
Function:
Specify the dead interval for neighboring layer 3 switch; the “
no ipv6 ospf
dead-interval [instance-id <id>]
” command restores the default value.
Parameter: <id>
is the interface instance ID, ranging between 0~255, defaulted at 0
<time >
is the length of the adjacent layer 3 switch, in seconds, ranging between 1
~
65535
Default:
The default dead interval is 40 seconds (normally 4 times of the hello-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 least 4 times of the
hello-interval
value. The command
can configure on IPv6 tunnel interface, but it is successful configuration to only configure