The mpls te soft-preemption command enables the soft preemption function in the view of a specified tunnel interface on the ingress.
The undo mpls te soft-preemption command disables the soft preemption function the view of a specified tunnel interface on the ingress. If tunnel soft preemption is enabled in the MPLS view, the global configuration takes effect on the local tunnel interface on the ingress.
The mpls te soft-preemption block command disables the soft preemption function for tunnels on the ingress.
The undo mpls te soft-preemption block command unblocks the soft preemption function for tunnels on the ingress. If tunnel soft preemption is enabled in the MPLS view, the global configuration is inherited for tunnels.
By default, if soft preemption is disabled in the MPLS view, a local tunnel is incapable of this function. If soft preemption is enabled in the MPLS view, the local tunnel is capable of this function.
Usage Scenario
The setup and holding priorities and the preemption function are configured to allow TE tunnels to be established preferentially to transmit important services, preventing random resource competition during tunnel establishment.
If there is no path meeting the bandwidth requirement of a desired tunnel, a device can tear down an established tunnel and use bandwidth resources assigned to that tunnel to establish a desired tunnel. This is called preemption. The following preemption modes are supported:Prerequisites
MPLS TE has been configured as a tunnel protocol using the tunnel-protocol mpls te command.
RSVP-TE has been configured using the mpls te signal-protocol rsvp-te command.Configuration Impact
The priority and preemption attributes are used in conjunction to determine resource preemption among tunnels. If multiple tunnels are to be established, tunnels with higher setup priorities can be established by preempting resources. If resources, such as bandwidth, are insufficient, a tunnel with a higher setup priority can preempt resources of an established tunnel with a lower holding priority.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] interface tunnel 1 [*HUAWEI-Tunnel1] tunnel-protocol mpls te [*HUAWEI-Tunnel1] mpls te soft-preemption block
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] interface tunnel 1 [*HUAWEI-Tunnel1] tunnel-protocol mpls te [*HUAWEI-Tunnel1] mpls te soft-preemption