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

bfd bind peer-ip

Function

The bfd bind peer-ip command creates a BFD session, specifies the peer IP address, and displays the BFD session view.

The undo bfd session-name command deletes a specified BFD session and cancels the peer IP address.

By default, BFD binding is not created.

Format

bfd session-name bind peer-ip ip-address [ interface interface-type interface-number ] [ source-ip ip-address ]

undo bfd session-name

Parameters

Parameter

Description

Value

session-name

Specifies the name of a BFD session.

The value is a string of 1 to 15 case-sensitive characters without spaces.

peer-ip ip-address

Specifies the peer IP address bound to the BFD session.

-

interface interface-type interface-number

Specifies the type and number of the interface bound to the BFD session.

  • interface-type specifies the type of the interface.

  • interface-number specifies the number of the interface.

-

source-ip ip-address

Indicates the source IP address carried in BFD packets.

  • During BFD session negotiation, if the source IP address is not specified, the system searches the local routing table for an outbound interface from which the peer IP address is reachable. The IP address of this outbound interface is used as the source IP address of the BFD packets sent by the local end.

  • When a BFD session is detecting links, if this parameter is not specified, the system uses a fixed source IP address in BFD packets.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To fast detect and monitor links, create BFD sessions.

To create a BFD binding, pay attention to the following points:

  • If only the peer IP address is specified, BFD is configured to detect the multi-hop link.

  • If the peer IP address and local interface are specified, BFD is configured to detect the single-hop link, that is, a specific route with this interface as the outbound interface and with the peer IP address as the next-hop address.

Prerequisites

Global BFD has been enabled by using the bfd command in the system view.

Follow-up Procedure

  • Run the discriminator command to set the local and remote discriminators for the current BFD session.

Precautions

  • When creating a single-hop BFD session, bind the single-hop BFD session to the peer IP address and the local address. You only need to bind a multi-hop BFD session to the peer IP address.

  • When the BFD configuration items are created, the system checks only the format of the IP address. The BFD session cannot be established if an incorrect peer IP address or source IP address is bound.

After configuring a BFD session, run the commit command to commit the configuration. Otherwise, the configuration cannot take effect.

Example

# Create a BFD session named atob to detect the single-hop link from VLANIF100 to the peer IP address at 10.100.1.6.

<Huawei> system-view
[Huawei] bfd
[Huawei-bfd] quit
[Huawei] bfd atob bind peer-ip 10.100.1.6 interface vlanif 100

# Create a BFD session named atoc to detect the multi-hop link to the peer IP address 10.10.20.2.

<Huawei> system-view
[Huawei] bfd
[Huawei-bfd] quit
[Huawei] bfd atoc bind peer-ip 10.10.20.2
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 195042

Downloads: 118

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