< Home

bfd session-name

Function

The bfd command displays the view of a specified BFD session.

The undo bfd command deletes a specified BFD session.

Format

bfd session-name

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 characters without spaces.

NOTE:

When quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To configure the created BFD session, run the bfd session-name command to enter the specified BFD session view.

Prerequisites

A BFD session has been created by using either of the following commands:
  • bfd bind peer-ip

  • bfd bind peer-ip default-ip

  • bfd bind peer-ip source-ip auto

  • bfd one-arm-echo

Precautions

The bfd session-name command displays the BFD session view regardless of whether the BFD session status is Up.

After the functional parameters of the BFD session are set, you must run the commit command to make (expect static BFD session with automatically negotiated discriminators), the configurations take effect.

If the BFD session is in the Down state, after you run the bfd session-name command to enter the BFD session view and set functional parameters, the configurations can immediately take effect after being committed using the commit command.

Example

# Enter the view of the BFD session named session.

<HUAWEI> system-view
[HUAWEI] bfd session
[HUAWEI-bfd-session-session]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >