The mpls l2vpn pw-ttl command configures the TTL value of a PW.
The undo mpls l2vpn pw-ttl command restores the default TTL value of a PW.
By default, the TTL value of a PW is 1.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, XGE sub-interface view, XGE interface view, Layer 2 sub-interface view
Usage Scenario
A static multi-segment PW (MS-PW) or a hybrid MS-PW cannot obtain the TTL value by dynamic negotiation. To ensure that PW APS negotiation packets are forwarded correctly between the PEs on the two ends of a PW, manually configure a TTL value so that the APS module will be informed of the number of segments from end to end on the PW.
The TTL value does not need to be manually configured in the following situations:Prerequisites
The specified primary, secondary, or bypass PW has been configured in the interface view.
Configuration Impact
The TTL value is used during the forwarding of PW APS negotiation packets.
Precautions
The TTL value specified in the undo mpls l2vpn pw-ttl command must equal the number of PW segments.
Only the NetEngine 8000 F1A supports PW APS.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn pw-ttl 12 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn pw-ttl 13 secondary