< Home

Data Model

The configuration model files matching IPv4 static route management are ietf-routing.yang, ietf-ipv4-unicast-routing, and huawei-ipv4-static-route.

Table 1 IPv4 static route management

Object

Description

Value

Remarks

/ietf-routing:routing/routing-instance/name

Indicates a routing instance name.

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.

  • When a static route is configured on a public network, the value can only be default-routing-instance.
  • When a static route is configured in a VPN instance, the value must be an existing VPN instance name.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/type

Indicates a route type.

Currently, only static routes are supported.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/name

Indicates a routing protocol instance name.

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.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/static-routes/ietf-ipv4-unicast-routing:ipv4/route /destination-prefix

Indicates the destination IPv4 address and mask length.

The value is in the ipv4-address/mask-length format:

  • ipv4-address: indicates the destination IPv4 address, which is 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/static-routes/ietf-ipv4-unicast-routing:ipv4/route /description

Indicates the description of an IPv4 static route.

The value is a string of 1 to 80 case-sensitive characters without question marks (?). It can contain spaces.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/static-routes/ietf-ipv4-unicast-routing:ipv4/route /next-hop/next-hop-address

Indicates a next-hop IPv4 address.

The value is in dotted decimal notation.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/static-routes/ietf-ipv4-unicast-routing:ipv4/route /next-hop/outgoing-interface

Indicates a next-hop outbound interface.

The value is a character string in the interface-typeinterface-number format, where interface-type indicates the interface type and interface-number indicates the interface number.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/static-routes/ietf-ipv4-unicast-routing:ipv4/route /next-hop/special-next-hop

Indicates a special next hop.

Currently, only a blackhole next hop is supported.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/static-routes/ietf-ipv4-unicast-routing:ipv4/route/next-hop/next-hop-options/huawei-ipv4-static-route:multiple-path/egress-interface-nexthop

Indicates the next-hop outbound interface information of an IPv4 static route, which is configured through the following child objects:
  • outgoing-interface: indicates a next-hop outbound interface.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-admin-name: Specifies the administrator name of an NQA test instance bound to a static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-test-name: Specifies the test instance name of an NQA test instance bound to a static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-route-monitor-group/group-name: Specifies the name of an route monitoring group bound to a static route.
  • /route-track-parameters/route-track-type/hw-route-protection:track-bfd/session-name: Specifies a BFD session bound to a static route.
The value ranges of the child objects are as follows:
  • outgoing-interface: is a character string in the interface-typeinterface-number format, where interface-type indicates the interface type and interface-number indicates the interface number.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-admin-name: is a string of 1 to 32 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-test-name: is a string of 1 to 32 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-route-monitor-group/group-name: is a string of 1 to 31 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/hw-route-protection:track-bfd/session-name: is a string of 1 to 15 case-sensitive characters without spaces.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/static-routes/ietf-ipv4-unicast-routing:ipv4/route/next-hop/next-hop-options/huawei-ipv4-static-route:multiple-path/ipv4-address-nexthop

Indicates the next-hop IPv4 address information of an IPv4 static route, which is configured through the following child objects:
  • next-hop-address: indicates a next-hop IPv4 address.
  • preference: indicates the priority of an IPv4 static route.
  • description: indicates the description of an IPv4 static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-admin-name: Specifies the administrator name of an NQA test instance bound to a static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-test-name: Specifies the test instance name of an NQA test instance bound to a static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-route-monitor-group/group-name: Specifies the name of an route monitoring group bound to a static route.
  • /route-track-parameters/route-track-type/hw-route-protection:track-bfd/session-name: Specifies a BFD session bound to a static route.
The value ranges of the child objects are as follows:
  • next-hop-address: is in dotted decimal notation.
  • preference: is an integer in the range from 1 to 255. The default value is 60.
  • description: is a string of 1 to 80 characters that can contain spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-admin-name: is a string of 1 to 32 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-test-name: is a string of 1 to 32 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-route-monitor-group/group-name: is a string of 1 to 31 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/hw-route-protection:track-bfd/session-name: is a string of 1 to 15 case-sensitive characters without spaces.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/static-routes/ietf-ipv4-unicast-routing:ipv4/route/next-hop/next-hop-options/huawei-ipv4-static-route:multiple-path/egress-interface-ipv4-nexthop

Indicates the next-hop outbound interface and next-hop IPv4 address information of an IPv4 static route, which is configured through the following child objects:
  • outgoing-interface: indicates a next-hop outbound interface.
  • next-hop-address: indicates a next-hop IPv4 address.
  • preference: indicates the priority of an IPv4 static route.
  • description: indicates the description of an IPv4 static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-admin-name: Specifies the administrator name of an NQA test instance bound to a static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-test-name: Specifies the test instance name of an NQA test instance bound to a static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-route-monitor-group/group-name: Specifies the name of an route monitoring group bound to a static route.
  • /route-track-parameters/route-track-type/hw-route-protection:track-bfd/session-name: Specifies a BFD session bound to a static route.
The value ranges of the child objects are as follows:
  • outgoing-interface: is a character string in the interface-typeinterface-number format, where interface-type indicates the interface type and interface-number indicates the interface number.
  • next-hop-address: is in dotted decimal notation.
  • preference: is an integer in the range from 1 to 255. The default value is 60.
  • description: is a string of 1 to 80 characters that can contain spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-admin-name: is a string of 1 to 32 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-test-name: is a string of 1 to 32 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-route-monitor-group/group-name: is a string of 1 to 31 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/hw-route-protection:track-bfd/session-name: is a string of 1 to 15 case-sensitive characters without spaces.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/static-routes/ietf-ipv4-unicast-routing:ipv4/route/next-hop/next-hop-options/huawei-ipv4-static-route:multiple-path/egress-routing-instance-ipv4-nexthop

Indicates the destination VPN and next-hop IPv4 address information of an IPv4 static route, which is configured through the following child objects:
  • dest-routing-instance: indicates the destination VPN instance.
  • next-hop-address: indicates a next-hop IPv4 address.
  • preference: indicates the priority of an IPv4 static route.
  • description: indicates the description of an IPv4 static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-admin-name: Specifies the administrator name of an NQA test instance bound to a static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-test-name: Specifies the test instance name of an NQA test instance bound to a static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-route-monitor-group/group-name: Specifies the name of an route monitoring group bound to a static route.
  • /route-track-parameters/route-track-type/hw-route-protection:track-bfd/session-name: Specifies a BFD session bound to a static route.
The value ranges of the child objects are as follows:
  • dest-routing-instance: is a string of 1 to 31 case-sensitive characters with spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.
  • next-hop-address: is in dotted decimal notation.
  • preference: is an integer in the range from 1 to 255. The default value is 60.
  • description: is a string of 1 to 80 characters that can contain spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-admin-name: is a string of 1 to 32 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-test-name: is a string of 1 to 32 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-route-monitor-group/group-name: is a string of 1 to 31 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/hw-route-protection:track-bfd/session-name: is a string of 1 to 15 case-sensitive characters without spaces.

N/A

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/static-routes/ietf-ipv4-unicast-routing:ipv4/route/next-hop/next-hop-options/huawei-ipv4-static-route:multiple-path/egress-routing-instance-nexthop

Indicates the destination VPN information of an IPv4 static route, with no next-hop IPv4 address specified. This object is configured through the following child objects:
  • dest-routing-instance: indicates the destination VPN instance.
  • preference: indicates the priority of an IPv4 static route.
  • tag: indicates the tag value of an IPv4 static route.
  • description: indicates the description of an IPv4 static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-admin-name: Specifies the administrator name of an NQA test instance bound to a static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-test-name: Specifies the test instance name of an NQA test instance bound to a static route.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-route-monitor-group/group-name: Specifies the name of an route monitoring group bound to a static route.
The value ranges of the child objects are as follows:
  • dest-routing-instance: is a string of 1 to 31 case-sensitive characters with spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.
  • preference: is an integer in the range from 1 to 255. The default value is 60.
  • tag: is an integer in the range from 1 to 4294967295. The default value is 0.
  • description: is a string of 1 to 80 characters that can contain spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-admin-name: is a string of 1 to 32 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-nqa/nqa-test-name: is a string of 1 to 32 case-sensitive characters without spaces.
  • /route-track-parameters/route-track-type/huawei-route-protection:track-route-monitor-group/group-name: is a string of 1 to 31 case-sensitive characters without spaces.

N/A

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