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.
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. |
|
/huawei-mpls:mpls/mplsCommon/mplsCommonCfg/mplsEnable |
Indicates whether MPLS is enabled globally. |
The value is of the Boolean type:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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. |
|
/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:
|
N/A |
/huawei-mpls:mpls/mplsTe/rsvpTeTunnels/rsvpTeTunnel/frrAttr/frrEnable |
Indicates whether the FRR function is enabled. |
The value is of the Boolean type:
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:
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:
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:
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:
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:
|
MPLS TE must be enabled first on the interface. |