3com 8807 Guide De Référence

Page de 1099
414
C
HAPTER
 25: OSPF C
ONFIGURATION
 C
OMMANDS
Example
# Summarize two network segments, 36.42.10.0 and 36.42.110.0, in OSPF area 1 
into one summarized route 36.42.0.0 and transmit it to other areas.
[3Com-ospf-1] area 1
 
[3Com-ospf-1-area-0.0.0.1] network 36.42.10.0 0.0.0.255
 
[3Com-ospf-1-area-0.0.0.1] network 36.42.110.0 0.0.0.255
 
[3Com-ospf-1-area-0.0.0.1] abr-summary 36.42.0.0 255.255.0.0 
area
Syntax
area area-id
undo area area-id
View
OSPF view
Parameter
area-id: ID of the OSPF area, which can be a decimal integer (ranging from 0 to 
4,294,967,295) or in IP address format.
Description
Use the area command to enter OSPF Area view.
Use the undo area command to remove the specified area.
Example
# Enter OSPF Area 0 view.
[3Com-ospf-1] area 0
 
[3Com-ospf-1-area-0.0.0.0] 
asbr-summary
Syntax
asbr-summary ip-address mask [ not-advertise | tag value ]
undo asbr-summary ip-address mask
View
OSPF view
Parameter
ip-address: Matched IP address in dotted decimal format.
mask: IP address mask in dotted decimal format.
not-advertise: Do not advertise routes matching the specified IP address and 
mask. tag value: Tag value, which is mainly used to control advertisement of 
routes via route-policy. It is in the range from 0 to 4,294,967,295. The default tag 
value is 1.