/
set protocols ospf4 area default-lsa disable
set protocols ospf4 area default-lsa disable
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>
Parameters
- <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
Example
The following example configures the switch to originate the default route.
admin@XorPlus# set protocols ospf4 area 0.0.0.0 default-lsa disable false admin@XorPlus# commit
Copyright © 2025 Pica8 Inc. All Rights Reserved.