Run the command set protocol ospf area to define an OSPF stub 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 command delete protocol ospf area stub can be used to remove this configuration.
Command Syntax
set protocol ospf [vrf <vrf-name>] area {<ipv4>|<0-4294967295>} stub [no-summary]
delete protocol ospf [vrf <vrf-name>] area {<ipv4>|<0-4294967295>} stub [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 | 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.
admin@XorPlus# set protocols ospf vrf BLUE area 1.1.1.1 stub no-summary admin@Xorplus# commit