/
set protocols ospf4 area area-range advertise

set protocols ospf4 area area-range advertise


OSPF should aggregate the route entries from the backbone area into a non-backbone area, or from a non-backbone area into the backbone area. Users use the advertise disable parameter to restrain ABR route aggregation.


Command Syntax
set protocols ospf4 vrf <vrf-name> area <area-id> area-range <ip-address/network> advertise <bool>


Parameter

•<vrf-name> Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

Note that: The configuration is in the default VRF if not explicitly bound to any VRF.

<area-id>  The OSPF area to which the attached network belongs.
<ip-address/netmask>  Area range for generating summaries
<bool>  Advertise or DoNotAdvertise.Required select include:

  • true
  • false


Example
• This example configure the area-range on ABR.

admin@XorPlus# set protocols ospf4 area 0.0.0.0 area-range 192.168.1.0/24 advertise true
admin@XorPlus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.