set protocols ospf area
Run the command set protocols ospf area to define an OSPF area. Optional parameter vrf can be used to specify a VRF, if no VRF is specified the command takes effect on the default VRF. The optional keyword no-summary can be used to disable injecting inter-area summaries into the specified stub area. The no-summary option makes the area totally stubby.
To configure the area type, run the command set protocols ospf area area-type.
The command delete protocols ospf area can be used to remove this configuration.
Command Syntax
set protocols ospf [vrf <vrf-name>] area {<ipv4>|<0-4294967295>} [no-summary}
delete protocols ospf [vrf <vrf-name>] area {<ipv4>|<0-4294967295>} [no-summary]
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies the name of the VRF for the OSPF instance. |
area {<ipv4>|<0-4294967295>} | Specify OSPF area, the value could be in IPv4 dotted decimal format or an integer ranging from 0 to 4294967295. |
no-summary | Optional. Keyword to disable injecting inter-area summaries into the specified stub area. |
Example
- Configure area 1.1.1.1 in VRF BLUE and disable injecting inter-area summaries into this area.
admin@XorPlus# set protocols ospf vrf BLUE area 1.1.1.1 no-summary admin@Xorplus# commit
Related content
Copyright © 2025 Pica8 Inc. All Rights Reserved.