/
set protocols ospf default-information originate

set protocols ospf default-information originate

Run the command set protocol ospf default-information originate to originate an AS-External (type-5) LSA describing a default route into all external-routing capable areas. Optional keyword vrf specifies the name of the VRF for the OSPF instance. If the optional keyword always is given then the default route is always advertised, even when there is no default route present in the routing table.

Run the command delete protocol ospf default-information originate to remove this configuration.


Command Syntax

set protocols ospf [vrf <text>] default-information originate [always]

delete protocols ospf [vrf <text>] default-information originate [always]


Parameter

Parameter

Description

vrf <vrf-name>

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

alwaysOptional keyword that specifies that the default route is always advertised regardless if its present in the routing table.

Example

  •  Configure the device to always originate an AS-External (type-5) LSA describing a default route into all external-routing capable areas.
admin@XorPlus# set protocols ospf vrf BLUE default-information originate always
admin@Xorplus# commit

Related content

Copyright © 2025 Pica8 Inc. All Rights Reserved.