62OSPF configuration commandsNOTE:• See theMPLS Command Reference for OSPF TE related commands and OSPF VPN related commands.• The termrouter in this document refers to both routers and Layer 3 switches.abr-summary (OSPF area view)Syntaxabr-summary ip-address { mask | mask-length } [ advertise | not-advertise ] [ cost cost ]undo abr-summary ip-address { mask | mask-length }ViewOSPF area viewDefault level2: System levelParametersip-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 isadvertised.cost cost: Specifies the cost of the summary route, in the range 1 to 16777215. The default cost is thelargest cost value among routes that are summarized.DescriptionUse 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. system-view[Sysname] ospf 100[Sysname-ospf-100] area 1