The apply output-interface command configures an outbound interface to which packets are redirected.
The undo apply output-interface command cancels the configuration.
By default, no outbound interface is configured for packet redirection.
Parameter | Description | Value |
---|---|---|
interface-type |
Specifies the type of an interface. |
The value can only be tunnel. |
interface-number |
Specifies the number of an interface. |
The format of tunnel-name can be either of the following:
|
Usage Scenario
PBR is deployed in the scenario where users want specific traffic to be forwarded to a desired next hop. Each node in each traffic policy for PBR is configured with rules and an action. The action is redirecting matching IP packets to an outbound interface.
Precautions
The outbound interface can only be a P2P TE Tunnel interface. If the tunnel type is changed , the configuration is deleted automatically for the PBR.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI] interface tunnel 10 [*HUAWEI-Tunnel10] tunnel-protocol mpls te [*HUAWEI-Tunnel10] quit [*HUAWEI] policy-based-route policy1 permit node 10 map-instance 10 [*HUAWEI-policy-based-route-policy1-10] apply output-interface Tunnel10