The mpls te auto-frr command configures the TE Auto FRR function in the interface view.
The undo mpls te auto-frr command restores the default configuration.
The TE Auto FRR function is disabled on an interface by default.
mpls te auto-frr { default | link | node | block }
undo mpls te auto-frr { block | link | node }
Parameter | Description | Value |
---|---|---|
default | Indicates that the configuration of the TE Auto FRR function in the MPLS view is used by default. Only node protection is provided. | - |
link | Indicates that only link protection is provided. | - |
node | Indicates that node protection is provided. When the topology does not meet the requirement to set up a bypass CR-LSP for node protection, the penultimate hop (but not other hops) on the primary CR-LSP attempts to set up a bypass CR-LSP for link protection. | - |
block | Disables the TE Auto FRR function in the interface view. | - |
VLANIF interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-trunk interface view
Usage Scenario
After the TE Auto FRR function is enabled globally, all MPLS TE-enabled interfaces can use the TE Auto FRR configuration configured in the MPLS view.
To disable the TE Auto FRR function on a specified interface, you must run the mpls te auto-frr block command. To enable link protection on a specified interface, you must run the mpls te auto-frr link command.
Prerequisites
MPLS TE has been enabled by running the mpls te command in the interface view.
Precautions
After the mpls te auto-frr block command is run on an interface, the interface does not have the TE Auto FRR capability, regardless of whether TE Auto FRR is already enabled or reenabled globally.
After the command mpls te auto-frr is configured in the MPLS view, the device provides only node protection when you run the mpls te auto-frr default or mpls te auto-frr node command on an interface. When the topology does not meet the requirement to set up a bypass CR-LSP for node protection, the penultimate hop (but not other hops) on the primary CR-LSP attempts to set up a bypass CR-LSP for link protection.
# Enable TE Auto FRR that provides link protection on the interface.
<HUAWEI> system-view [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mpls [HUAWEI-Vlanif100] mpls te [HUAWEI-Vlanif100] mpls te auto-frr link
# Disable the TE Auto FRR function in the interface view.
<HUAWEI> system-view [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mpls [HUAWEI-Vlanif100] mpls te [HUAWEI-Vlanif100] mpls te auto-frr block
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] mpls [HUAWEI-GigabitEthernet0/0/1] mpls te [HUAWEI-GigabitEthernet0/0/1] mpls te auto-frr node