Run the command set protocol protocols ospf area to define an OSPF area. Two types of areas can be specified here. To create a stub area, choose the key word stub, or choose nssa, to create OSPF not so stubby area. Optional 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 protocol delete protocols ospf area stubcan be used to remove this configuration.
Command Syntax
set protocol protocols ospf [vrf <vrf-name>] area {<ipv4>|<0-4294967295>} {stub|nssa} [no-summary}
delete protocol protocols ospf [vrf <vrf-name>] area {<ipv4>|<0-4294967295>} {stub|nssa} [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. | stub | Keyword to specify a stub area. |
nssa | Keyword to specify a not so stubby area. | ||
no-summary | Optional. Keyword to disable injecting inter-area summaries into the specified stub area. |
Example
- Configure stub area 1.1.1.1 in VRF BLUE and disable injecting inter-area summaries into this stub area.
Code Block |
---|
admin@XorPlus# set protocols ospf vrf BLUE area 1.1.1.1 stub no-summary
admin@Xorplus# commit |
...