Step 3 Run:
gtsm peer ip-address valid-ttl-hops hops
LDP GTSM is configured.
If the value of hops is set to the maximum number of valid hops permitted by GTSM, when the
TTL values carried in the packets sent by an LDP peer are within the range [255 - hops + 1,
255], the packets are received; otherwise, the packets are discarded.
----End
2.9.3 Checking the Configuration
After the configuration of LDP GTSM, you can view GTSM statistics.
Prerequisite
The configurations of the LDP GTSM function are complete.
Procedure
l Run the display gtsm statistics { slot-id | all } command to check the GTSM statistics.
----End
Example
Run the display gtsm statistics command to view the GTSM statistics in each slot, including
the total number of LDP, BGP, BGP4+, and OSPF packets and the number of packets that are
allowed to pass through or the number of dropped packets.
<Huawei> display gtsm statistics all
GTSM Statistics Table
----------------------------------------------------------------
SlotId Protocol Total Counters Drop Counters Pass Counters
----------------------------------------------------------------
0 BGP 0 0 0
0 OSPF 0 0 0
0 LDP 11 0 11
----------------------------------------------------------------
2.10 Configuring LDP Security Features
LDP security features such as MD5 authentication, keychain authentication, and the GTSM can
be configured to meet high network security requirements.
2.10.1 Establishing the Configuration Task
Before configuring LDP security features, familiarize yourself with the applicable environment,
complete the pre-configuration tasks, and obtain the data required for the configuration.
Applicable Environment
The following LDP security features can be configured to meet network security requirements:
l LDP MD5 authentication
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 2 MPLS LDP Configuration
Issue 01 (2011-12-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
62