HP 6125G HP 6125G & 6125G/XG Blade Switches High Availability Command - Page 138

BFD configuration commands, bfd authentication-mode

Page 138 highlights

BFD configuration commands bfd authentication-mode Syntax bfd authentication-mode { md5 key-id [ cipher ] key | sha1 key-id [ cipher ] key | simple key-id [ cipher ] password } View undo bfd authentication-mode Interface view Default level 2: System level Parameters md5: Specifies the message digest 5 (MD5) authentication mode. sha1: Specifies the secure hash algorithm (SHA-1) authentication mode. simple: Specifies the simple authentication mode. key-id: Sets the authentication key ID, in the range of 1 to 255. cipher: Sets a ciphertext authentication key or password. If this keyword is not specified, you set a plaintext authentication key or password. key: Sets the MD5 or SHA-1 authentication key. This argument is case sensitive. It must be a plaintext string of 1 to 16 characters or a ciphertext string of 33 to 53 characters. password: Sets the password for simple authentication. This argument is case sensitive. It must be a plaintext string of 1 to 16 characters or a ciphertext string of 33 to 53 characters. Description Use bfd authentication-mode to configure the BFD authentication mode on the interface. Use undo bfd authentication-mode to restore the default. By default, no authentication is configured on an interface. For secrecy, all authentication keys or passwords, including authentication keys or passwords configured in plain text, are saved in cipher text. NOTE: The authentication mode, key-id, key (or password) used by both ends trying to establish a BFD session must be the same. If one end changes its authentication mode, it sends the authentication packets in both the new and the old mode at the same time until the other end also changes to the same authentication mode. Examples # Configure VLAN-interface 1 to support MD5 authentication, setting the authentication key-id to 15 and plaintext authentication key to BfdKey. 133

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159

133
BFD configuration commands
bfd authentication-mode
Syntax
bfd authentication-mode
{
md5
key-id
[
cipher
]
key
|
sha1
key-id
[
cipher
]
key
|
simple
key-id
[
cipher
]
password
}
undo
bfd authentication-mode
View
Interface view
Default level
2: System level
Parameters
md5
: Specifies the message digest 5 (MD5) authentication mode.
sha1
: Specifies the secure hash algorithm (SHA-1) authentication mode.
simple
: Specifies the simple authentication mode.
key-id
: Sets the authentication key ID, in the range of 1 to 255.
cipher
: Sets a ciphertext authentication key or password. If this keyword is not specified, you set a
plaintext authentication key or password.
key
: Sets the MD5 or SHA-1 authentication key. This argument is case sensitive. It must be a plaintext
string of 1 to 16 characters or a ciphertext string of 33 to 53 characters.
password
: Sets the password for simple authentication. This argument is case sensitive. It must be a
plaintext string of 1 to 16 characters or a ciphertext string of 33 to 53 characters.
Description
Use
bfd authentication-mode
to configure the BFD authentication mode on the interface.
Use
undo
bfd authentication-mode
to restore the default.
By default, no authentication is configured on an interface.
For secrecy, all authentication keys or passwords, including authentication keys or passwords configured
in plain text, are saved in cipher text.
NOTE:
The authentication mode, key-id, key (or password) used by both ends trying to establish a BFD session
must be the same. If one end changes its authentication mode, it sends the authentication packets in both
the new and the old mode at the same time until the other end also changes to the same authentication
mode.
Examples
# Configure VLAN-interface 1 to support MD5 authentication, setting the authentication key-id to 15 and
plaintext authentication key to
BfdKey
.