No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
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).
LSDP Configuration Commands

LSDP Configuration Commands

lsdp

Function

The lsdp command configures LSDP on a device.

The undo lsdp command disables LSDP on a device.

By default, the LSDP function is disabled on a device.

Format

lsdp ip-address [ nexthop-address ] [ interval interval-number ] [ probe-count count-number ]

undo lsdp

Parameters

Parameter Description Value
ip-address

Specifies the destination IP address of probe packets.

The value is in dotted decimal notation.
nexthop-address

Specifies the next-hop IP address of probe packets.

The value is in dotted decimal notation.
interval interval-number

Specifies the interval for sending probe packets.

The value is an integer that ranges from 100 to 10000, in milliseconds. The default value is 1000. That is, the device sends a probe packet every second.
probe-count count-number

Specifies the maximum number of probe counts upon probe failures.

The value is an integer that ranges from 3 to 10. The default value is 3. That is, the device considers a probe failed if the device does not receive a reply packet after three ARP or ICMP request packets are sent. Then the device sets the interface status to Down.

Views

Ethernet interface view, GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the lsdp command is executed on an interface, the interface sends probe packets (ARP and ICMP packets) to the destination address to detect link connectivity. If the interface receives a reply packet within a probe interval, LSDP considers the destination address reachable. In this situation, the probe is successful and LSDP sets the interface status to Up. If the interface does not receive a reply packet within a probe interval, LSDP considers the destination address unreachable. In this situation, the probe fails, LSDP sets the interface status to Down, and services on this interface become invalid.

The probe intervals are calculated as follows:

  • Interval for sending ARP packets: interval-number*count-number
  • Interval for sending ICMP packets: interval-number*(count-number+n)

    n is the number of sent ARP packets. The value ranges from 1 to count-number.

The default value of interval-number is 1000. That is, the device sends a probe packet every second. The default value of count-number is 3. That is, an LSDP probe fails if the interface does not receive an ARP reply packet within 3x1 seconds or an ICMP reply packet within (3+n)x1 seconds. Then LSDP sets the interface status to Down. When the default value of count-number is used, n can be 1, 2, or 3, indicating that the interface receives an ARP reply packet after sending 1, 2, or 3 ARP request packets.

After LSDP sets the status of an interface to Down, the device continuously sends ARP and ICMP packets for probing. When the link is recovered, LSDP sets the interface to Up.

Configuration Impact

The interface with LSDP configured periodically sends ARP and ICMP packets. When LSDP detects that the link to a destination address fails, it sets the interface status to Down.

Example

# Configure an interface to send one LSDP probe packet to destination address 10.1.1.1 through next-hop address 10.10.1.1 every 100 milliseconds and set the maximum number of probe counts to 5.

<Huawei> system-view
[Huawei] interface gigabitethernet1/0/0
[Huawei-GigabitEthernet1/0/0] lsdp 10.1.1.1 10.10.1.1 interval 100 probe-count 5
Related Topics

lsdp trigger protocol ospf delay-up

Function

The lsdp trigger protocol ospf delay-up command configures a delay in sending OSPF packets after LSDP detects that a link goes Up.

The undo lsdp trigger protocol command restores the default configuration.

By default, no delay is configured for the device to send OSPF packets after LSDP detects that a link goes Up.

Format

lsdp trigger protocol ospf delay-up delay-time

undo lsdp trigger protocol

Parameters

Parameter

Description

Value

delay-time

Specifies a delay.

The value is an integer that ranges from 1 to 3600, in seconds.

Views

Ethernet interface view, GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When LSDP detects that a link goes Down, OSPF packets will be blocked. You can run the lsdp trigger protocol ospf delay-up command to configure a delay in sending OSPF packets after LSDP detects that a link goes Up.

Prerequisites

The destination IP address to which probe packets are sent has been configured using the lsdp command.

Example

# Set the delay in sending OSPF packets after LSDP detects that the link goes Up to 10 seconds.

<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] lsdp trigger protocol ospf delay-up 10

display lsdp

Function

The display lsdp command displays the LSDP information.

Format

display lsdp

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can use this command to view LSDP configuration, running status, and running results.

Example

# View the LSDP information.
<Huawei> display lsdp
======LSDP INFO=========                                                        
LSDP Instance Index : 1                                                         
LSDP Test : success                                                             
LSDP Interface Name : GigabitEthernet0/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                                                              
=========================                                                       
Table 16-54  Description of the display lsdp command output

Item

Description

LSDP Instance Index

LSDP table index.

LSDP Test

Current LSDP probe result.
  • success: Probe is successful.
  • fail: Probe fails.
  • --: No result.

LSDP Interface Name

Types and numbers of the interface where LSDP is configured.

LSDP Interface Status

Status of the interface where LSDP is configured.

LSDP Interface Ip

IP address of the interface where LSDP is configured.

LSDP Destination Ip

Destination IP address of probe packets.

To configure the destination IP address of probe packets, run the lsdp command.

LSDP Next-hop Ip

Next-hop IP address of probe packets.

To configure the next-hop IP address of probe packets, run the lsdp command.

LSDP Interval

Interval for sending probe packets.

To configure the interval for sending probe packets, run the lsdp command.

LSDP Probe-count

Maximum number of probe counts upon probe failures.

To configure the maximum number of probe counts, run the lsdp command.

LSDP UpTimes

Maximum number of times an interface goes Up after LSDP is configured.

LSDP DownTimes

Maximum number of times an interface goes Down after LSDP is configured.

Related Topics
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 53044

Downloads: 102

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next