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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
peer-ip ttl

peer-ip ttl

Function

The peer-ip ttl command configures the TTL value in BFD packets.

The undo peer-ip ttl command restores the default TTL value in BFD packets.

By default, the TTL value in BFD packets varies with the BFD session type. By default, for a static BFD session, the TTL value of a single-hop BFD packet is 255 and the TTL value of a multi-hop BFD packet is 254. For a dynamic BFD session, the TTL value of a single-hop BFD packet is 255 and the TTL value of a multi-hop BFD packet is 253.

Format

peer-ip peer-ip mask-length ttl { single-hop | multi-hop } ttl-value

undo peer-ip peer-ip mask-length ttl { single-hop | multi-hop }

Parameters

Parameter

Description

Value

peer-ip

Specifies the peer IP address bound to the BFD session.

-

mask-length

Specifies the mask length of the IP address.

The value is an integer that ranges from 8 to 32.

single-hop

Indicates the single-hop BFD session.

-

multi-hop

Indicates the multi-hop BFD session.

-

ttl-value

Specifies the TTL value in BFD packets.

The value is an integer that ranges from 1 to 255.

Views

BFD view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can set the TTL value in BFD packets to enable the Huawei device to interwork with each other in different versions, with upgraded devices, and with non-Huawei devices.

Precautions

  • The length of the IP segment address must match the mask. A long mask takes precedence over a short mask.

  • The same IP segment addresses, masks, and TTL values of specified BFD session types cannot be configured simultaneously.

  • When the IP network segment addresses and mask lengths are the same, the TTL value of a single-hop BFD session must be greater than the TTL value of a multi-hop BFD session.

  • When a large number of BFD sessions are set up, updating the TTL value may take a long time. Therefore, when a smaller interval for configuring BFD sessions is used, the system displays a message indicating that the BFD session is being updated and you may try later.

  • After the TTL value in multi-hop BFD packets is configured, you must configure the same peer IP address, mask length longer than the mask length for the TTL value in multi-hop BFD packets, and TTL value in single-hop BFD packets. This is because the TTL value in multi-hop BFD packets affects dynamic single-hop BFD sessions.

Example

# Set the TTL value of single-hop BFD sessions to 254, the IP segment address to 10.1.1.0, and the mask length to 24.

<Huawei> system-view
[Huawei] bfd
[Huawei-bfd] peer-ip 10.1.1.0 24 ttl single-hop 254
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 210547

Downloads: 122

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