A SERVICE OF

logo

1108 CHAPTER 76: OSPF CONFIGURATION COMMANDS
Examples # Summarize networks 36.42.10.0/24 and 36.42.110.0/24 in Area1 with
36.42.0.0/16 for advertisement to other areas.
<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
[Sysname-ospf-100-area-0.0.0.1] abr-summary 36.42.0.0 255.255.0.0
area (OSPF view)
Syntax area area-id
undo area area-id
View OSPF view
Parameters area-id: ID of an area, a decimal integer in the range 0 to 4294967295 that is
translated into IP address format by the system, or an IP address.
Description Use the
area command to create an area and enter area view.
Use the undo area command to remove a specified area.
No OSPF area is created by default.
Examples # Create Area0 and enter Area 0 view
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 0
[Sysname-ospf-100-area-0.0.0.0]
asbr-summary
Syntax asbr-summary ip-address { mask | mask-length } [ tag tag | not-advertise | cost
cost ]*
undo asbr-summary ip-address { mask | mask-length }
View OSPF view
Parameters ip-address: IP address of the summary route in dotted decimal notation.
mask: Summary route mask, in dotted decimal notation.
mask-length: Length of summary route mask, in the range 0 to 32 bits.
not-advertise: Specifies not to advertise the summary route. If the keyword is not
specified, the route is advertised.