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 conguration mode.
If the cost parameter is specied, it will be used (overriding the computed cost) to generate the summary LSA. If the cost parameter is
not specied, 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 congured before using this
command.
Creates an area range entry with prex 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
Modies the address range status to DoNotAdvertise. Neither the individual intra-area routes falling under range nor the ranged prex is
advertised as summary LSA.
device(config)# ipv6 router ospf
device(config-ospf6-router)# area 10 range 2001:db8::1/64 not-advertise
Modies 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
Modies 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
Modies 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 congured 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 species the IP address portion of the range. The software compares the address with the signicant
bits in the mask. All network addresses that match this comparison are summarized in a single route advertised by the router.
Conguring OSPFv3
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 297