The peer tnl-policy command applies the tunnel policy to the specified IPv4 peer.
The undo peer tnl-policy command removes the tunnel policy applied to the peer.
By default, no tunnel policy is applied to the peer.
Parameter | Description | Value |
---|---|---|
ipv4-address |
Specifies the IPv4 address of the peer. |
The value is in dotted decimal notation. |
policy-name |
Specifies the name of the tunnel policy. |
The value is a string of 1 to 39 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
<HUAWEI> system-view [~HUAWEI] tunnel-policy policy-a [*HUAWEI-tunnel-policy-policy-a] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] peer 1.1.1.2 as-number 100 [*HUAWEI-bgp] ipv6-family unicast [*HUAWEI-bgp-af-ipv6] peer 1.1.1.2 enable [*HUAWEI-bgp-af-ipv6] peer 1.1.1.2 tnl-policy policy-a