isis primary-path-detect bfd

Use isis primary-path-detect bfd to enable BFD for IS-IS FRR or IS-IS PIC.

Use undo isis primary-path-detect bfd to disable BFD for IS-IS FRR or IS-IS PIC.

Syntax

isis primary-path-detect bfd { ctrl | echo }

undo isis primary-path-detect bfd

Default

BFD is disabled for IS-IS FRR or IS-IS PIC.

Views

Interface view

Predefined user roles

network-admin

Parameters

ctrl: Specifies the BFD control packet mode.

echo: Specifies the BFD echo packet mode.

Usage guidelines

This command enables IS-IS FRR or IS-IS PIC to use BFD to detect primary link failures.

Examples

# Enable BFD control packet mode for IS-IS FRR on VLAN-interface 10.

<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] address-family ipv4
[Sysname-isis-1-ipv4] fast-reroute lfa
[Sysname-isis-1-ipv4] quit
[Sysname-isis-1] quit
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis primary-path-detect bfd ctrl

# Enable BFD echo packet mode for IS-IS PIC on VLAN-interface 11.

<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] pic additional-path-always
[Sysname-isis-1] quit
[Sysname] bfd echo-source-ip 1.1.1.1
[Sysname] interface vlan-interface 11
[Sysname-Vlan-interface11] isis primary-path-detect bfd echo