< Home

Data Model

The configuration model files matching MPLS are huawei-mpls.yang, huawei-mpls-ldp.yang, huawei-mpls-te.yang, huawei-mpls-comm.yang, and huawei-ospf.yang.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H support the MPLS function.

Table 1 MPLS data model

Object

Description

Value

Remarks

/huawei-mpls:mpls/mplsCommon/mplsCommonCfg/mplsLsrID

Indicates the LSR ID of a device. The LSR ID is used to identify an LSR.

The value is in dotted decimal notation.

  • On a network where MPLS services are deployed, you must configure the LSR IDs for devices.

  • You must delete all the MPLS configurations before changing or deleting the existing LSR IDs. If all the MPLS configurations are deleted, MPLS services are interrupted. Therefore, exercise caution when deciding to delete all the MPLS configurations.

/huawei-mpls:mpls/mplsCommon/mplsCommonCfg/mplsEnable

Indicates whether MPLS is enabled globally.

The value is of the Boolean type:
  • true: MPLS is enabled globally.
  • false: MPLS is disabled globally.

The default value is false.

N/A

/huawei-mpls:mpls/mplsCommon/mplsCommonCfg/teEnable

Indicates whether MPLS traffic engineering (MPLS TE) is enabled globally.

The value is of the Boolean type:
  • true: MPLS TE is enabled globally.
  • false: MPLS TE is disabled globally.

The default value is false.

MPLS needs to be globally enabled first.

/huawei-mpls:mpls/mplsCommon/mplsCommonCfg/rsvpTeEnable

Indicates whether RSVP-TE is enabled globally.

The value is of the Boolean type:
  • true: RSVP-TE is enabled globally.
  • false: RSVP-TE is disabled globally.

The default value is false.

MPLS TE needs to be globally enabled first.

/huawei-mpls:mpls/mplsCommon/mplsCommonCfg/ldpEnable

Indicates whether MPLS LDP is enabled globally.

The value is of the Boolean type:
  • true: MPLS LDP is enabled globally.
  • false: MPLS LDP is disabled globally.

The default value is false.

MPLS needs to be globally enabled first.

/huawei-mpls:mpls/mplsCommon/mplsInterfaces/mplsInterface/interfaceName

Specifies the interface name and enables MPLS on the interface.

The interface must already exist on the device.

The interface must already be configured in the /if:interfaces/if:interface/if:name.

/huawei-mpls:mpls/mplsCommon/mplsInterfaces/mplsInterface/ldpEnable

Indicates whether MPLS LDP is enabled on an interface.

The value is of the Boolean type:
  • true: MPLS LDP is enabled on the interface.
  • false: MPLS LDP is disabled on the interface.

The default value is false.

N/A

/huawei-mpls:mpls/mplsCommon/mplsInterfaces/mplsInterface/mplsTEEnable

Indicates whether MPLS TE is enabled on an interface.

The value is of the Boolean type:
  • true: MPLS TE is enabled on the interface.
  • false: MPLS TE is disabled on the interface.

The default value is false.

N/A

/huawei-mpls:mpls/mplsCommon/mplsInterfaces/mplsInterface/rsvpTEEnable

Indicates whether RSVP-TE is enabled on an interface.

The value is of the Boolean type:
  • true: RSVP-TE is enabled on the interface.
  • false: RSVP-TE is disabled on the interface.

The default value is false.

N/A

/huawei-mpls:mpls/mplsLdp/ldpInstances/ldpInstance/vrfName

Indicates the VRF name.

The value is _public_.

N/A

/huawei-mpls:mpls/mplsLdp/ldpInstances/ldpInstance/ldpRemotePeers/ldpRemotePeer/remotePeerName

Indicates the remote MPLS LDP peer name.

The value is a string of 1 to 32 case-insensitive characters without spaces.

MPLS LDP needs to be globally enabled first.

/huawei-mpls:mpls/mplsLdp/ldpInstances/ldpInstance/ldpRemotePeers/ldpRemotePeer/remoteIp

Indicates the IP address of the remote MPLS LDP peer.

The value is in dotted decimal notation.

The IP address cannot be the interface IP address of the local device.

N/A

/huawei-mpls:mpls/mplsTe/cspfCfg/enableCspf

Indicates whether CSPF is enabled.

The value is of the Boolean type:
  • true: CSPF is enabled.
  • false: CSPF is disabled.

The default value is false.

MPLS TE needs to be globally enabled first.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-ospf:ospf/instance/opaque-capability-enable

Indicates whether the Opaque capability of OSPF is enabled.

The value is of the Boolean type:
  • true: The Opaque capability is enabled.
  • false: The Opaque capability is disabled.

The default value is false.

N/A

/huawei-mpls:mpls/mplsCommon/ospfTEs/ospfTE/processID

Indicates the OSPF process ID.

The OSPF process must already exist.

N/A

/huawei-mpls:mpls/mplsCommon/ospfTEs/ospfTE/area

Indicates the OSPF area ID.

The OSPF area must already exist.

N/A

/huawei-mpls:mpls/mplsCommon/ospfTEs/ospfTE/enable

Indicates whether MPLS TE is enabled in the specified OSPF area.

The value is of the Boolean type:
  • true: MPLS TE is enabled.
  • false: MPLS TE is disabled.

The default value is false.

N/A

/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/tunnelName

Specifies a tunnel interface and sets the tunneling protocol to MPLS TE.

The value is a character string consisting of Tunnel and the tunnel interface number, for example, Tunnel20. The tunnel interface number ranges from 0 to 16383.

  • MPLS TE needs to be globally enabled first.

  • The tunnel interface must already exist.

/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/mplsTunnelEgressLSRId

Indicates the destination address of a tunnel interface.

The value is in dotted decimal notation.

N/A

/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/mplsTunnelIndex

Indicates the tunnel ID.

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

N/A

/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/UserDefinedName

Indicates the TE tunnel name.

The value is a string of 1 to 63 case-sensitive characters without spaces or slashes (/). The initial character of the value must be an underscore (_) or an English letter, not a digit.

N/A

/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/mplsTunnelRecordRoute

Indicates whether the route and label recording functions are enabled during tunnel establishment.

The value can be:
  • RECORD_ROUTE_ONLY: The route recording function is enabled.
  • RECORD_LABLE: The route and label recording functions are enabled.
  • DISABLE: The route and label recording functions are disabled.

N/A

/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/frrAttr/frrEnable

Indicates whether the FRR function is enabled.

The value is of the Boolean type:
  • true: The FRR function is enabled.
  • false: The FRR function is disabled.

The default value is false.

A tunnel interface cannot be used for both a bypass tunnel and a primary tunnel, that is, the mpls te fast-reroute and mpls te bypass-tunnel commands cannot be configured together on the tunnel interface.

/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/reoptimization

Indicates whether automatic re-optimization is enabled for a tunnel.

The value is of the Boolean type:
  • true: Automatic re-optimization is enabled for the tunnel.
  • false: Automatic re-optimization is disabled for the tunnel.

The default value is false.

N/A

/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/resvForBinding

Indicates whether a TE tunnel is reserved for VPN binding.

The value is of the Boolean type:
  • true: The TE tunnel is reserved for VPN binding.
  • false: The TE tunnel is not reserved for VPN binding.

The default value is false.

N/A

/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/bypassAttr/bypassEnable

Indicates whether a bypass tunnel is specified for MPLS TE auto FRR.

The value is of the Boolean type:
  • true: A bypass tunnel is specified for MPLS TE auto FRR.
  • false: No bypass tunnel is specified for MPLS TE auto FRR.

The default value is false.

A tunnel interface cannot be used for both a bypass tunnel and a primary tunnel, that is, the mpls te fast-reroute and mpls te bypass-tunnel commands cannot be configured together on the tunnel interface.

A tunnel interface cannot be used for both a bypass tunnel and a protection tunnel in a tunnel protection group. A protection failure will occur if the mpls te bypass-tunnel and mpls te protection tunnel commands are both configured on the tunnel interface.

/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/bypassAttr/bypassProtectIFs/bypassProtectIF/bypassProtectIFName

Specifies the interface to be protected by a bypass tunnel.

The interface must already exist on the device.

MPLS TE must be enabled on the interface to be protected.

/huawei-mpls:mpls/mplsTe/mplsTeSite/autoFrrEnable

Indicates whether TE auto FRR is enabled.

The value is of the Boolean type:
  • true: TE auto FRR is enabled.
  • false: TE auto FRR is disabled.

The default value is false.

MPLS TE needs to be globally enabled first.

/huawei-mpls:mpls/mplsTe/teLinks/teLink/interfaceName

Specifies the interface on which TE auto FRR is to be configured.

The interface must already exist on the device.

MPLS TE must be enabled first on the interface.

/huawei-mpls:mpls/mplsTe/teLinks/teLink/autoFrrMode

Indicates whether TE auto FRR is configured on a specified interface.

The value can be:
  • DEFAULT: By default, the TE auto FRR configuration in the MPLS view is inherited, and only node protection is provided.
  • LINK: Only link protection is provided.
  • NODE: Node protection is provided. When the topology does not meet the requirement to set up a bypass tunnel for node protection, the penultimate hop (but no other hops) on the primary tunnel attempts to set up a bypass tunnel for link protection.
  • DISABLE: TE auto FRR is disabled in the interface view.

MPLS TE must be enabled first on the interface.

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