1108
C
76: OSPF C
HAPTER
Examples
area (OSPF view)
Syntax
View
Parameters
Description
Examples
asbr-summary
Syntax
View
Parameters
C
ONFIGURATION
OMMANDS
# 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 area-id
undo area area-id
OSPF view
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.
Use the
command to create an area and enter area view.
area
Use the
undo area
No OSPF area is created by default.
# 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 ip-address { mask | mask-length } [ tag tag | not-advertise | cost
cost ]*
undo asbr-summary ip-address { mask | mask-length }
OSPF view
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.
command to remove a specified area.