
Assigning an area cost for OSPFv3 (optional parameter)
You can assign a cost for an area, but it is not required. To consolidate and summarize routes at an area boundary, use the
area range
cost
command in router configuration mode.
If the
cost
parameter is specified, it will be used (overriding the computed cost) to generate the summary LSA. If the
cost
parameter is
not specified, then the existing range metric computation max or min cost of routes falling under this range will be used to generate
summary LSA.
NOTE
The area should be already configured before using this
command.
Creates an area range entry with prefix 2001:db8::1/64 with the area-id 10.
device(config)# ipv6 router ospf
device(config-ospf6-router)# area 10 range 2001:db8::1/64
Modifies the address range status to DoNotAdvertise. Neither the individual intra-area routes falling under range nor the ranged prefix is
advertised as summary LSA.
device(config)# ipv6 router ospf
device(config-ospf6-router)# area 10 range 2001:db8::1/64 not-advertise
Modifies the address range status to advertise and a Type 3 summary link-state advertisement (LSA) can be generated for this address
range.
device(config)# ipv6 router ospf
device(config-ospf6-router)# area 10 range 2001:db8::1/64 advertise
Modifies the address range status to advertise and assign cost for this area range to 10.
device(config)# ipv6 router ospf
device(config-ospf6-router)# area 10 range 2001:db8::1/64 advertise cost 10
Modifies the address range status to not-advertise and cost from 10 to 5.
device(config)# ipv6 router ospf
device(config-ospf6-router)# area 10 range 2001:db8::1/64 not-advertise cost 5
Removes the cost from the area range. The area range will be advertised with computed cost which is the max/min (based on RFC
1583 compatibility) of all individual intra-area routes falling under this range.
device(config)# ipv6 router ospf
device(config-ospf6-router)# no area 10 range 2001:db8::1/64 cost 5
Removes the area range.
device(config)# ipv6 router ospf
device(config-ospf6-router)# no area 10 range 2001:db8::1/64
NOTE
This command does not work in incremental fashion. So both the optional parameters have to be configured each time.
Otherwise it will take the default value.
Syntax:
[no] area
{
num
|
ipv6-addr
}
range
ipv6-addr/ipv6-subnet-mask
[
advertise
|
not-advertise
] [
cost
cost-value
]
The
num
and
ipv6-addr
parameters specify the area number, which can be in IP address format.
The
range
ipv6-addr
parameter specifies the IP address portion of the range. The software compares the address with the significant
bits in the mask. All network addresses that match this comparison are summarized in a single route advertised by the router.
Configuring OSPFv3
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
297
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...