No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring LSDP
Example for Configuring LSDP
Networking Requirements
As shown in Figure 8-3, the link RouterA->RouterB->RouterD
is the primary link, and the link RouterA->RouterC->RouterD is the
backup link. It is required to monitor the primary link status. If
the primary link fails, the backup link starts to transmit services
to reduce the impact on services. When the primary link is recovered,
the primary link takes over services again.
Figure 8-3 LSDP network diagram
Configuration Roadmap
The configuration
roadmap is as follows:
Configure interface IP addresses and static routes for primary
and backup links to implement connectivity at the network layer.
Configure LSDP on RouterA to detect primary link connectivity
in real time.
Procedure
Configure connectivity at the network layer.
Configure interface IP addresses for RouterA according
to the network diagram.
On RouterA, configure static routes to 10.1.4.0/24 and
10.1.5.0/24 of RouterD.
[RouterA] ip route-static 10.1.4.0 255.255.255.0 10.1.2.2 preference 40
[RouterA] ip route-static 10.1.5.0 255.255.255.0 10.1.3.2 preference 80
Configure LSDP on RouterA.
[RouterA] interface gigabitethernet1/0/0
[RouterA-GigabitEthernet1/0/0] lsdp 10.1.4.2 10.1.2.2
[RouterA-GigabitEthernet1/0/0] quit
Verify the configuration.
# View the LSDP configuration and running status on RouterA.
<RouterA> display lsdp
======LSDP INFO=========
LSDP Instance Index : 1
LSDP Test : success
LSDP Interface Name : GigabitEthernet1/0/0
LSDP Interface Status : UP
LSDP Interface Ip : 10.1.2.1
LSDP Destination Ip : 10.1.4.2
LSDP Next-hop Ip : 10.1.2.2
LSDP Interval : 1000
LSDP Probe-count : 3
LSDP UpTimes : 0
LSDP DownTimes : 0
=========================
Configuration Files
RouterA configuration
file
#
sysname RouterA
#
interface GigabitEthernet1/0/0
lsdp 10.1.4.2 10.1.2.2
ip address 10.1.2.1 255.255.255.0
#
ip route-static 10.1.4.0 255.255.255.0 10.1.2.2 preference 40
ip route-static 10.1.5.0 255.255.255.0 10.1.3.2 preference 80
#
return