Configure VBRP Network Authentication
VBRP has two modes, that is, simple text authentication and MD5 authentication. The set length of the simple text authentication cannot exceed eight authentication words. The set length of the MD5 authentication is the authentication word not exceeding 64 bits.
Configuration Condition
Before configuring the VBRP basic functions, first complete the following task:
Configure VBRP Simple Text Authentication
Configure the VBRP authentication to check and verify the validity of the VBRP packet. We can use the following command to configure the VBRP simple text authentication mode.
Table 7–6 Configure the VBRP simple text authentication
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
Mandatory
|
Configure the VBRP simple text authentication
|
standby group-number authentication { string }
|
Mandatory
The configured authentication word is string and the length cannot exceed 8-bit authentication word.
By default, do not enable the simple text authentication.
|
Configure VBRP MD5 Authentication
Configure the VBRP authentication to check and verify the validity of the VBRP packet. We can use the following command to configure the VBRP MD5 authentication mode.
Table 7–7 Configure the VBRP MD5 authentication
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
Mandatory
|
Configure the VBRP MD5 authentication
|
standby group-number authentication { md5 { key-id key-identifier key-string key-string } | { key-string key-string } }
|
Mandatory
Configure the MD5 network authentication and the length cannot exceed 8-bit authentication word.
By default, do not enable the MD5 authentication.
|