bfd multi-hop authentication-mode
Use bfd multi-hop authentication-mode to configure the authentication mode for multi-hop BFD control packets.
Use undo bfd multi-hop authentication-mode to restore the default.
Syntax
bfd multi-hop authentication-mode simple key-id { cipher cipher-string | plain plain-string }
undo bfd multi-hop authentication-mode
Default
No authentication is performed.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
simple: Specifies the simple authentication mode.
key-id: Sets the authentication key ID in the range of 1 to 255.
cipher: Sets a ciphertext password.
cipher-string: Sets the ciphertext password, which is a case-sensitive string of 33 to 53 characters.
plain: Sets a plaintext password.
plain-string: Sets the plaintext password, which is a case-sensitive string of 1 to 16 characters.
Usage guidelines
Use this command to enhance BFD session security.
For security purposes, all authentication passwords, including passwords configured in plain text, are saved in cipher text.
Examples
# Configure the simple authentication mode for multi-hop BFD control packets, setting the authentication key ID to 1 and password to 123456.
<Sysname> system-view [Sysname] bfd multi-hop authentication-mode simple 1 plain 123456