set protocols ospf area no-summary

Run the command set protocols ospf area to define an OSPF area and disallow injecting inter-area routes. Optional parameter instance-id can be included to specify the OSPFv2 multi-instance ID. Optional parameter vrf can be used to specify a VRF, if no VRF is specified the command takes effect on the default VRF. The keyword no-summary is used to disable injecting inter-area summaries into the specified stub area. The no-summary option makes the area totally stubby.

Multi-Instance OSPF is only allowed in the default VRF. A maximum of 8 instance can be configured in the default VRF. In non-default VRFs, only single instance OSPF can be configured.

The command delete protocols ospf area can be used to remove this configuration.


Command Syntax

set protocols ospf [instance-id <instance-id> | vrf <vrf-name>] area {<ipv4>|<area-id>}  no-summary

delete protocols ospf [instance-id <instance-id> | vrf <vrf-name>] area {<ipv4>|<area-id>} no-summary


Parameter

Parameter

Description

instance-id <instance-id>Optional, specifies the OSPF instance ID. The value is an integer that ranges from 1 to 8.

vrf <vrf-name>

Optional. Specifies the name of the VRF for the OSPF instance.

area {<ipv4>|<area-id>}Specifies the OSPF area ID. The value could be IPv4 dotted decimal format or an integer that ranges from 0 to 4294967295.
no-summaryKeyword to disable injecting inter-area summaries into the specified stub area.


Example

  •  Configure area 1.1.1.1 in for instance ID 1 in the default VRF and disable injecting inter-area summaries into this area.
admin@XorPlus# set protocols ospf instance-id 1 area 1.1.1.1 no-summary
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.