HP VPN Firewall Appliances Network Management Command Reference

355
Default
No authentication is available on an interface.
Views
Interface view
Default command level
2: System level
Parameters
hmac-md5: Enables HMAC-MD5 authentication.
md5: Enables MD5 authentication.
simple: Enables simple authentication.
key-id: Specifies a key ID in the range of 1 to 255.
cipher: Specifies a ciphertext password.
plain: Specifies a plaintext password.
password: Specifies a password. In simple authentication mode, a plaintext password is a case-sensitive
string of 1 to 8 characters, and a ciphertext password is a case-sensitive string of 1 to 41 characters. In
MD5/HMAC-MD5 authentication mode, a plaintext password is a case-sensitive string of 1 to 16
characters, and a ciphertext password is a case-sensitive string of 1 to 53 characters.
Usage guidelines
Interfaces attached to the same network segment must have the same authentication password and
mode.
For security purposes, all keys and passwords, including keys and passwords configured in plain text, are
saved in cipher text.
If you do not provide the cipher or plain keyword, cipher applies to MD5/HMAC-MD5 authentication
mode and plain applies to simple authentication mode by default.
Examples
# Enable MD5 authentication for the network 131.119.0.0/16 in Area 1. Set the interface key ID to 15,
and plaintext authentication password to abc.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[Sysname-ospf-100-area-0.0.0.1] authentication-mode md5
[Sysname-ospf-100-area-0.0.0.1] quit
[Sysname-ospf-100] quit
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] ospf authentication-mode md5 15 plain abc
# Enable simple authentication for the network 131.119.0.0/16 in Area 1. Set for the plaintext
authentication password to abc on GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255