The outbound peer all split-horizon command enables LDP split horizon to restrain an LSR from distributing labels to all downstream LDP peers.
The undo outbound peer all split-horizon command disables LDP split horizon.
By default, LDP split horizon is disabled. An LSR distributes labels to both upstream and downstream LDP peers.
Usage Scenario
An LSR usually distributes labels to both upstream and downstream LDP peers, speeding up LDP LSP convergence. On DSLAMs with low performance deployed on an MPLS network, LDP distributes labels to all LDP peers, which leads to the establishment of a large number of LSPs and exposes a heavy burden on the DSLAMs. To help reduce the number of LSPs and save memory, run the outbound peer all split-horizon command on LSRs to configure split horizon.
Prerequisites
MPLS LDP has been enabled globally using the mpls ldp command in the system view.
Configuration Impact
After the outbound peer split-horizon command is run, either of the following situations occurs:
Precautions
The all parameter takes preference over the peer-id parameter. For example, the outbound peer all split-horizon and then outbound peer 2.2.2.2 split-horizon commands are run, the outbound peer all split-horizon command can be saved in the configuration file and take effect, not the outbound peer 2.2.2.2 split-horizon command.