
145
Global mode
no router IPv6 ospf [<tag>]
Disable OSPFv3 Routing Protocol
1.7.3 Commands for OSPFV3
1.7.3.1 area default cost
Command: area <id> default-cost <cost>
no area <id> default-cost
Function:
Configure the cost of sending to the default summary route in stub or NSSA area; the
“
no area <id> default-cost
” command restores the default value.
Parameter: <id>
is the area number which could be shown as digits 0
~
4294967295, or as an
IP address;
<cost>
ranges between <0-16777215>
Default:
Default OSPFv3 cost is 1
Command Mode: OSPFv3 protocol mode
Usage Guide:
The command is only adaptive to the ABR router connected to the stub area or
NSSA area
Example:
Set the default-cost of area 1 to 10
Switch(config-router)#area 1 default-cost 10
1.7.3.2 area range
Command: area <id> range <ipv6address> [advertise| not-advertise|]
no area <id> range <ipv6address>
Function:
Aggregate OSPF route on the area border. The “
no area <id> range
<address>
“ cancels this function.
Parameter: <id>
is the area number which could be digits ranging between 0
~
4294967295,
and also as an IP address.
<ipv6address>=<X:X::X:X/M>,
Specifies the area ipv6 network prefix and its length
advertise:
Advertise this area
not-advertise :
Not advertise this area
If both are not set, this area is defaulted for advertising
Default:
Function not configured
Command Mode:
OSPFv3 protocol mode
Usage Guide:
Use this command to aggregate routes inside an area. If the network IDs in this
area are not configured continuously, a summary route can be advertised by configuring this
command on ABR. This route consists of all single networks belong to specific range.
Example:
Switch#config terminal