< Home

Data Model

The configuration model file matching OSPF routing management is huawei-ospf.yang

Table 1 OSPF management

Object

Description

Value

Remarks

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/process-id

Creates and runs an OSPF process.

The value is an integer that ranges from 1 to 65535.

NA

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/router-id

Indicates a router ID.

The value is in dotted decimal notation.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/vpn-instance-name

Indicates the name of a VPN instance that runs OSPF.

The value is a string of 1 to 31 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

The value must be an existing VPN instance name.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/area-id

Creates an OSPF area.

The value is a decimal integer or in dotted decimal notation. When the value is an integer, it ranges from 0 to 4294967295.

NA

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/network

Specifies the interface that runs OSPF and the area to which the interface belongs.

The value is in the format network address/mask length, where the network address is in dotted decimal notation and the mask length ranges from 0 to 32.

NA

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/ospf-process-id

Enables OSPF on an interface.

The value is an integer that ranges from 1 to 65535.

This object must be configured together with the /ietf-interfaces:interfaces/interface/huawei-ospf:ospf/area-id object.

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/area-id

Enables an OSPF area on an interface.

The value is a decimal integer or an IP address. When the value is an integer, it ranges from 0 to 4294967295.

This object must be configured together with the /ietf-interfaces:interfaces/interface/huawei-ospf:ospf/ospf-process-id object.

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/network-type

Sets the network type of an OSPF interface.

The value is of the enumerated type:

  • broadcast
  • nbma
  • p2mp
  • p2p

NA

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/timer-hello

Sets the interval for sending Hello packets on an interface.

The value is an integer that ranges from 1 to 65535, in seconds.

The value of this object must be smaller than that of the /ietf-interfaces:interfaces/interface/huawei-ospf:ospf/timer-dead object.

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/timer-dead

Sets the dead interval after which an interface considers its OSPF neighbor invalid.

The value is an integer that ranges from 1 to 235926000, in seconds.

The value of this object must be larger than that of the /ietf-interfaces:interfaces/interface/huawei-ospf:ospf/timer-hello object.

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/authentication/authentication-mode

Sets the authentication mode between neighboring devices.

The value is of the enumerated type:

  • md5: MD5 authentication
  • hmac-md5: HMAC-MD5 authentication
  • hmac-sha256: HMAC-SHA256 authentication
  • simple: simple authentication
  • keychain: keychain authentication
  • null: none authentication

NA

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/authentication/key-id

Specifies the authentication key ID of the interface's cipher authentication.

The value is an integer that ranges from 1 to 255.

NA

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/authentication/auth-text-type

Indicates the plaintext or ciphertext password.

The value is of the enumerated type:

  • plain: plaintext password
  • cipher: ciphertext password

NA

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/authentication/plain-text

Specifies a plaintext password.

The value is a string of characters without spaces. In simple authentication, the value is a string of 1 to 8 characters. In MD5, HMAC-MD5, or HMAC-SHA256 authentication, the value is a string of 1 to 255 characters.

This object can be configured only when the /ietf-interfaces:interfaces/interface/huawei-ospf:ospf/authentication/auth-text-type object value is plain.

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/authentication/cipher-text

Specifies a ciphertext password.

The value is a string of characters without spaces. In simple authentication, a plaintext password is a string of 1 to 8 characters, and a ciphertext password is a string of 24, 32, or 48 characters. In MD5, HMAC-MD5, or HMAC-SHA256 authentication, a plaintext password is a string of 1 to 255 characters, and a ciphertext password is a string of 20 to 392 characters.

This object can be configured only when the /ietf-interfaces:interfaces/interface/huawei-ospf:ospf/authentication/auth-text-type object value is cipher.

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/authentication/keychain-name

Specifies the keychain name.

The value is a string of 1 to 47 case-insensitive characters without question marks (?) and spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

This object can be configured only when the /ietf-interfaces:interfaces/interface/huawei-ospf:ospf/authentication/authentication-mode object value is keychain.

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/dr-priority

Specifies a priority for an interface that participates in the DR election.

The value is an integer ranging from 0 to 255. If the DR priority of an interface on a device is 0, the device cannot be elected as a DR or a BDR.

The default value is 1.

This object can be configured only under the VLANIF interface.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/filter-policys/filter-policy/direction

Indicates whether to filter received or advertised routes.

The value is of the enumerated type:
  • import: Received routes are filtered.
  • export: Advertised routes are filtered.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/filter-policys/filter-policy/acl-name-or-num

Indicates the number or name of the ACL used to filter routes.

  • ACL number: is an integer in the range from 2000 to 2999.
  • ACL name: is a string of 1 to 64 case-sensitive characters without spaces and must start with a letter.

This object cannot be configured together with the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/filter-policys/filter-policy/ip-prefix-name object and the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/filter-policys/filter-policy/policy-name object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/filter-policys/filter-policy/ip-prefix-name

Indicates the name of an IP prefix list used to filter routes.

The value is a string of 1 to 169 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

  • Before configuring this object, you need to configure the /hw-route-policy:prefix-lists/:prefix-list/prefix-list-name object.
  • This object cannot be configured together with the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/filter-policys/filter-policy/acl-name-or-num object and the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/filter-policys/filter-policy/policy-name object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/filter-policys/filter-policy/policy-name

Indicates the name of the route-policy used to filter routes.

The value is a string of 1 to 40 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

  • Before configuring this object, you need to configure the /huawei-route-policy:route-policys/route-policy/name object.
  • This object cannot be configured together with the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/filter-policys/filter-policy/ip-prefix-name object and the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/filter-policys/filter-policy/acl-name-or-num object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/direct-protocol/direct

Indicates whether to import direct routes.

The value is of the Boolean type:
  • true: Direct routes are imported.
  • false: Direct routes are not imported.
The default value is false.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/direct-protocol/cost

Indicates the cost of imported direct routes.

The value is an integer in the range from 0 to 16777214. The default value is 1.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/direct-protocol/type

Indicates the type of imported direct routes.

The value is 1 or 2.
  • 1: Type 1 external routes
  • 2: Type 2 external routes
The default value is 2.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/direct-protocol/tag

Indicates the tag in the LSA of an imported direct route.

The value is an integer in the range from 0 to 4294967295. The default value is 1.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/direct-protocol/route-policy-name

Indicates the name of the route-policy used to filter imported direct routes.

The value is a string of 1 to 40 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

Before configuring this object, you need to configure the /huawei-route-policy:route-policys/route-policy/name object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/static-protocol/static

Indicates whether to import static routes.

The value is of the Boolean type:
  • true: Static routes are imported.
  • false: Static routes are not imported.
The default value is false.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/static-protocol/cost

Indicates the cost of imported static routes.

The value is an integer in the range from 0 to 16777214. The default value is 1.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/static-protocol/type

Indicates the type of imported static routes.

The value is 1 or 2.
  • 1: Type 1 external routes
  • 2: Type 2 external routes
The default value is 2.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/static-protocol/tag

Indicates the tag in the LSA of an imported static route.

The value is an integer in the range from 0 to 4294967295. The default value is 1.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/static-protocol/route-policy-name

Indicates the name of the route-policy used to filter imported static routes.

The value is a string of 1 to 40 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

Before configuring this object, you need to configure the /huawei-route-policy:route-policys/route-policy/name object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/filters/filter/direction

Filters incoming or outgoing Type 3 LSAs in a specific area.

The value is of the enumerated type:
  • import: Incoming Type 3 LSAs in a specific area are filtered.
  • export: Outgoing Type 3 LSAs in a specific area are filtered.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/filters/filter/acl-name-or-num

Indicates the number or name of the ACL used to filter Type 3 LSAs.

  • ACL number: is an integer in the range from 2000 to 2999.
  • ACL name: is a string of 1 to 64 case-sensitive characters without spaces and must start with a letter.

This object cannot be configured together with the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/filters/filter/ip-prefix-name object and the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/filters/filter/policy-name object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/filters/filter/ip-prefix-name

Indicates the name of an IP prefix list used to filter Type 3 LSAs.

The value is a string of 1 to 169 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

  • Before configuring this object, you need to configure the /hw-route-policy:prefix-lists/:prefix-list/prefix-list-name object.
  • This object cannot be configured together with the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/filters/filter/acl-name-or-num object and the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/filters/filter/policy-name object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/filters/filter/policy-name

Indicates the name of the route-policy used to filter Type 3 LSA.

The value is a string of 1 to 40 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

  • Before configuring this object, you need to configure the /hw-route-policy:route-policys/hw-route-policy:route-policy/hw-route-policy:name object.
  • This object cannot be configured together with the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/filters/filter/acl-name-or-num object and the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/filters/filter/ip-prefix-name object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/area-type

Indicates the area type.

The value is of the enumerated type:
  • normal: common area
  • nssa: NSSA
  • stub: stub area
The default value is normal.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/translator-always

Indicates whether to specify an ABR in an NSSA as a translator.

The value is of the Boolean type:
  • true: An ABR in an NSSA is specified as a translator.
  • false: An ABR in an NSSA is not specified as a translator.
The default value is false.

This object can be configured only when the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/area-type object value is nssa.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/no-summary

Indicates whether to prohibit ABRs from sending summary LSAs to NSSAs.

The value is of the Boolean type:
  • true: ABRs are prohibited from sending summary LSAs to NSSAs.
  • false: ABRs are not prohibited from sending summary LSAs to NSSAs.
The default value is false.

This object can be configured only when the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/area-type object value is nssa.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/abr-summarys/ip-address

Indicates the IP address and mask length configured on an ABR for route summarization.

The format is ipv4-address/mask-length:
  • ipv4-address indicates an IP address in dotted decimal notation.
  • mask-length indicates the mask length, which is an integer in the range from 0 to 32.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/abr-summarys/cost

Indicates the cost of a summary route.

The value is an integer in the range from 0 to 16777214.

This object cannot be configured together with the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/abr-summarys/inherit-minimum object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/abr-summarys/inherit-minimum

Indicates whether to use the smallest cost of specific routes as the cost of the summary route.

The value is of the Boolean type:
  • true: The smallest cost of specific routes is used as the cost of the summary route.
  • false: The smallest cost of specific routes is not used as the cost of the summary route.
The default value is false.

This object cannot be configured together with the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/abr-summarys/cost object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/abr-summarys/advertise

Indicates whether to advertise the summary route.

The value is of the Boolean type:
  • true: The summary route is advertised.
  • false: The summary route is not advertised.
The default value is true.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/abr-summarys/generate-null0-route

Indicates whether to generate blackhole routes to prevent routing loops.

The value is of the Boolean type:
  • true: Blackhole routes are generated to prevent routing loops.
  • false: Blackhole routes are not generated to prevent routing loops.
The default value is false.

This object can be configured only when the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/abr-summarys/advertise object value is true.

/rt:routing/routing-instance/routing-protocols/routing-protocol/hw-ospf:ospf/instance/asbr-summarys/ip-address

Indicates the IP address and mask length configured on an ASBR for route summarization.

The format is ipv4-address/mask-length:
  • ipv4-address indicates an IP address in dotted decimal notation.
  • mask-length indicates the mask length, which is an integer in the range from 0 to 32.

N/A

/rt:routing/routing-instance/routing-protocols/routing-protocol/hw-ospf:ospf/instance/asbr-summarys/cost

Indicates the cost of a summary route.

The value is an integer that ranges from 0 to 16777214.

N/A

/rt:routing/routing-instance/routing-protocols/routing-protocol/hw-ospf:ospf/instance/asbr-summarys/tag

Indicates the tag of a summary route.

The value is an integer that ranges from 0 to 4294967295. The default value is 1.

N/A

/rt:routing/routing-instance/routing-protocols/routing-protocol/hw-ospf:ospf/instance/asbr-summarys/distribute-delay

Indicates the delay in advertising the summarized route.

The value is an integer that ranges from 1 to 65535, in seconds.

N/A

/rt:routing/routing-instance/routing-protocols/routing-protocol/hw-ospf:ospf/instance/asbr-summarys/advertise

Indicates whether to advertise the summary route.

The value is of the Boolean type:
  • true: The summary route is advertised.
  • false: The summary route is not advertised.
The default value is true.

N/A

/ietf-interfaces:interfaces/interface/huawei-ospf:ospf/cost-value

Indicates the cost of an OSPF-enabled interface.

The value is an integer in the range from 1 to 65535.

N/A

/if:interfaces/interface/hw-ospf:ospf/bfd/enable

Enables BFD on an interface.

The value is of the Boolean type:
  • true: BFD is enabled on an interface.
  • false: BFD is disabled on an interface.
The default value is false.

On an Ethernet interface, you need to first run the undo portswitch command to change the interface to Layer 3 mode.

/if:interfaces/interface/hw-ospf:ospf/bfd/receive-interval

Indicates the minimum interval at which an interface receives BFD packets from the peer end.

The value is an integer that ranges from 100 to 1000, in milliseconds.
  • After the set service-mode enhanced command is configured on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, and S6720-HI, the value ranges from 3 to 1000.
  • After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730-H, S6730S-H, S6730-S, and S6730S-S, the value ranges from 3 to 1000.

N/A

/if:interfaces/interface/hw-ospf:ospf/bfd/transmit-interval

Indicates the minimum interval at which an interface sends BFD packets to the peer end.

The value is an integer that ranges from 100 to 1000, in milliseconds.
  • After the set service-mode enhanced command is configured on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, and S6720-HI, the value ranges from 3 to 1000.
  • After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730-H, S6730S-H, S6730-S, and S6730S-S, the value ranges from 3 to 1000.

N/A

/if:interfaces/interface/hw-ospf:ospf/bfd/detect-multiplier

Indicates the local detection multiplier on an interface.

The value is an integer in the range from 3 to 50. The default value is 3.

N/A

/rt:routing/routing-instance/routing-protocols/routing-protocol/hw-ospf:ospf/instance/bfd/enable

Indicates whether to enable BFD.

The value is of the Boolean type:
  • true: BFD is enabled on an interface.
  • false: BFD is disabled on an interface.
The default value is false.

N/A

/rt:routing/routing-instance/routing-protocols/routing-protocol/hw-ospf:ospf/instance/bfd/receive-interval

Indicates the minimum interval for receiving BFD packets from the peer end.

The value is an integer that ranges from 100 to 1000, in milliseconds.
  • After the set service-mode enhanced command is configured on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, and S6720-HI, the value ranges from 3 to 1000.
  • After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730-H, S6730S-H, S6730-S, and S6730S-S, the value ranges from 3 to 1000.

N/A

/rt:routing/routing-instance/routing-protocols/routing-protocol/hw-ospf:ospf/instance/bfd/transmit-interval

Indicates the minimum interval for sending BFD packets to the peer end.

The value is an integer that ranges from 100 to 1000, in milliseconds.
  • After the set service-mode enhanced command is configured on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, and S6720-HI, the value ranges from 3 to 1000.
  • After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730-H, S6730S-H, S6730-S, and S6730S-S, the value ranges from 3 to 1000.

N/A

/rt:routing/routing-instance/routing-protocols/routing-protocol/hw-ospf:ospf/instance/bfd/detect-multiplier

Indicates the local detection multiplier.

The value is an integer in the range from 3 to 50. The default value is 3.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/vpn-instance-capability

Disables routing loop detection.

-

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/bgp-protocol/bgp

Indicates whether BGP routes are imported.

The value is of the Boolean type:
  • true: BGP routes are imported.
  • false: BGP routes are not imported.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/bgp-protocol/permit-ibgp

Indicates whether IBGP routes are imported.

The value is of the Boolean type:
  • true: IBGP routes are imported.
  • false: IBGP routes are not imported.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/bgp-protocol/cost

Indicates the cost of imported BGP routes.

The value is an integer in the range from 0 to 16777214. The default value is 1.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/bgp-protocol/type

Indicates the type of imported BGP routes.

The value is 1 or 2.
  • 1: Type 1 external routes
  • 2: Type 2 external routes
The default value is 2.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/bgp-protocol/tag

Indicates the tag in the LSA of an imported BGP route.

The value is an integer in the range from 0 to 4294967295. The default value is 1.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/import-route/bgp-protocol/route-policy-name

Indicates the name of the route-policy used to filter imported BGP routes.

The value is a string of 1 to 40 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

Before configuring this object, you need to configure the /hw-route-policy:route-policys/hw-route-policy:route-policy/hw-route-policy:name object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/authentication/authentication-mode

Indicates the authentication mode used in an OSPF area.

The value is of the enumerated type:
  • md5: MD5 authentication
  • hmac-md5: HMAC-MD5 authentication
  • hmac-sha256: HMAC-SHA256 authentication
  • simple: simple authentication

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/authentication/auth-text-type

Indicates the authentication password type used in an OSPF area.

The value is of the enumerated type:
  • plain: plaintext password
  • cipher: ciphertext password

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/authentication/key-id

Indicates the authentication key ID for cipher authentication on interfaces in an OSPF area.

The value is an integer in the range from 1 to 255.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/authentication/plain-text

Indicates the plaintext password used for OSPF area authentication.

The value is a string of characters without spaces. In simple authentication, the value is a string of 1 to 8 characters. In MD5, HMAC-MD5, or HMAC-SHA256 authentication, the value is a string of 1 to 255 characters.

This object can be configured only when the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/authentication/auth-text-type object value is plain.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/authentication/cipher-text

Indicates the ciphertext password used for OSPF area authentication.

The value is a string of characters without spaces. In simple authentication, a plaintext password is a string of 1 to 8 characters, and a ciphertext password is a string of 24, 32, or 48 characters. In MD5, HMAC-MD5, or HMAC-SHA256 authentication, a plaintext password is a string of 1 to 255 characters, and a ciphertext password is a string of 20 to 392 characters.

This object can be configured only when the /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/area/authentication/auth-text-type object value is cipher.

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/opaque-capability-enable

Indicates whether the Opaque-LSA capability is enabled.

The value is of the Boolean type:

  • true: The Opaque-LSA capability is enabled.

  • false: The Opaque-LSA capability is disabled.

The default value is false.

N/A

/ietf-routing:routing/routing-instance/routing protocols/routing-protocol/huawei-ospf:ospf/instance/graceful-restart/enable

Whether the OSPF GR function is enabled.

The value is of the Boolean type:
  • true: The OSPF GR function is enabled.

  • false: The OSPF GR function is disabled.

The default value is false.

This object can be configured only when the /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/opaque-capability-enable object value is true.

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/graceful-restart/period-time

Specifies the GR period.

The value is an integer in the range from 1 to 1800, in seconds. The default value is 120s.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/graceful-restart/partial

Indicates whether the switch supports partial GR.

By default, the switch supports totally GR.

The value is of the Boolean type:

  • true: The switch supports totally GR.

  • false: The switch does not support totally GR.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/graceful-restart/planned-only

Indicates whether the switch supports only planned GR.

By default, the switch supports both planned GR and unplanned GR.

The value is of the Boolean type:

  • true: The switch supports only planned GR.

  • false: The switch supports both planned GR and unplanned GR.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/dn-bit-set-disable/summary

Indicates whether setting the DN bit in summary LSAs is prohibited.

The value is of the Boolean type:

  • true: Setting the DN bit in summary LSAs is prohibited.

  • false: Setting the DN bit in summary LSAs is allowed.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/dn-bit-set-disable/ase

Indicates whether setting the DN bit in AS-external LSAs is prohibited.

The value is of the Boolean type:

  • true: Setting the DN bit in AS-external LSAs is prohibited.

  • false: Setting the DN bit in AS-external LSAs is allowed.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/dn-bit-set-disable/nssa

Indicates whether setting the DN bit in NSSA LSAs is prohibited.

The value is of the Boolean type:

  • true: Setting the DN bit in NSSA LSAs is prohibited.

  • false: Setting the DN bit in NSSA LSAs is allowed.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/internal-prefer/prefer-value

Indicates a preference for an OSPF route.

The value is an integer ranging from 1 to 255.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/external-prefer/prefer-value

Indicates the preference of an OSPF AS external route.

The value is an integer ranging from 1 to 255.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/default-route-advertise/enable

Indicates whether advertising default routes to a common OSPF area.

The value is of the Boolean type:

  • true: Advertises default routes to a common OSPF area.

  • false: Disables advertisement of default routes to a common OSPF area.

The default value is false.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/default-route-advertise/mode

Indicates the mode of generating and advertising default routes.

The value is of the enumerated type:

  • always: Generates and advertises an LSA that describes the default route, regardless of whether there are active default routes of other OSPF processes in the routing table of the host.
  • permit-calculate-other: Generates and advertises an ASE LSA that describes the default route only when there are active default routes of other OSPF processes in the routing table of the local device. The device still calculates the default routes from other devices.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/default-route-advertise/cost

Indicates the cost of default routes advertised to a common OSPF area.

The value is an integer that ranges from 0 to 16777214. The default value is 1.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/default-route-advertise/type

Indicates the type of default routes advertised to a common OSPF area.

The value is 1 or 2. The default value is 2.

  • 1: Type 1 external route

  • 2: Type 2 external route

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/import-route/ospf-protocol/ospf/ospf-id

Indicates the process ID of imported OSPF routes

The value is an integer ranging from 1 to 65535. The default value is 1.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/import-route/ospf-protocol/ospf/cost

Indicates the cost of imported OSPF routes.

The value is an integer ranging from 0 to 16777214. The default value is 1.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/import-route/ospf-protocol/ospf/type

Indicates the type of imported OSPF routes.

The value is 1 or 2. The default value is 2.

  • 1: Type 1 external route

  • 2: Type 2 external route

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/import-route/ospf-protocol/ospf/tag

Indicates the tag of imported OSPF routes.

The value is an integer ranging from 0 to 4294967295. The default value is 1.

N/A

/rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/hw-ospf:ospf/instance/area/default-cost

Indicates the cost for the Type3 default route that is transmitted to a stub or NSSA by OSPF.

The value is an integer ranging from 0 to 16777214.

N/A

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >