R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
221
OSPF configuration commands
NOTE:
The term
router
in this document refers to a network device running routing protocols.
abr-summary (OSPF area view)
Syntax
abr-summary ip-address { mask | mask-length } [ advertise | not-advertise ] [ cost cost ]
undo abr-summary ip-address { mask | mask-length }
View
OSPF area view
Default level
2: System level
Parameters
ip-address: Destination IP address of the summary route, in dotted decimal format.
mask: Mask of the IP address in dotted decimal format.
mask-length: Mask length, in the range 0 to 32 bits.
advertise | not-advertise: Advertises the summary route or not. By default, the summary route is
advertised.
cost cost: Specifies the cost of the summary route, in the range 1 to 16777215. The default cost is the
largest cost value among routes that are summarized.
Description
Use the abr-summary command to configure a summary route on the area border router.
Use the undo abr-summary command to remove a summary route.
By default, no route summarization is configured on an ABR.
You can enable advertising the summary route or not, and specify a route cost.
This command is usable only on an ABR. Multiple contiguous networks may be available in an area,
where you can summarize them into one network on the ABR.
With the undo abr-summary command used, summarized routes will be advertised.
Examples
# Summarize networks 36.42.10.0/24 and 36.42.110.0/24 in Area 1 into 36.42.0.0/16.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] network 36.42.10.0 0.0.0.255
[Sysname-ospf-100-area-0.0.0.1] network 36.42.110.0 0.0.0.255