Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

Users can configure whether the switch originates the default route into stub and not-so-stubby areas.

Command Syntax

set protocols ospf4 vrf <vrf-name> area <area-id> default-lsa disable <bool>


  • <vrf-name> Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

   Note that: The configuration is in the default VRF if not explicitly bound to any VRF.

  • <area-id> The OSPF area to which the attached network belongs.
  • <bool>  Enable or disable the origination of default route. The following options are available:
    • true
    • false


The following example configures the switch to originate the default route.

admin@XorPlus# set protocols ospf4 area default-lsa disable false
admin@XorPlus# commit
  • No labels