The default-password command sets the password of an IPoX user.
The undo default-password command restores the default configuration.
By default, the password of an IPoX user is not configured.
This command is supported only on the NetEngine 8000 F1A.
default-password [ template template-name ] { simple simple-password | cipher cipher-password | { option60 | vendor-class } [ cn | [ offset offset ] { length length | sub-option sub-option-code [ sub-offset sub-offset ] [ sub-length sub-length ] } ] [ md5-encrypt ] [ support hex ] | { option77 | user-class } }
undo default-password [ template template-name ]
Parameter | Description | Value |
---|---|---|
template template-name |
Specifies the name of the template used to determine the user password generation mode. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
simple simple-password |
Indicates that the user password is in simple text. |
The value is a string of 1 to 128 characters. The password is case sensitive and cannot contain command line characters such as blanks and question mark.
|
cipher cipher-password |
Indicates that the user password is in cipher text.Specifies a cipher-text password. The password is case sensitive and does not contain command line characters such as blanks and question mark. |
The value is a character string. If the input string is not encrypted, the string can contain 1 to 16 characters. If the input string is encrypted, the string can contain 1 to 268 characters. |
option60 |
The vendor-class of the user is option60. |
- |
vendor-class |
Indicates that the system uses the vendor-class attribute as the user password. |
- |
cn |
Uses the vendor-class attribute value in cn-telecom format to generate a user password. |
- |
offset offset |
Configures the offset of a vendor-class option as the user password. |
The value is an integer ranging from 0 to 255. |
length length |
Configures the field length of the vendor-class attribute as the user password. |
The value is an integer ranging from 0 to 255. |
sub-option sub-option-code |
Configures the suboption code of the vendor-class attribute as the user password. |
The value is an integer ranging from 0 to 255. |
sub-offset sub-offset |
Configures the offset of a vendor-class sub-option code as the user password. |
The value is an integer ranging from 0 to 255. |
sub-length sub-length |
Configures the field length of a vendor-class sub-option as the user password. |
The value is an integer ranging from 0 to 255. |
md5-encrypt |
Indicates that the system uses the MD5 algorithm to encrypt the user password.The encryption algorithm used for MD5 authentication poses security risks. |
- |
support |
support. |
- |
hex |
Indicates that the system parses the Option 60 based on the hexadecimal format. |
- |
option77 |
The user-class of the user is option77. |
- |
user-class |
Indicates that the system uses the user-class attribute as the user password. |
- |
The differences between the cipher and simple keywords are as follows:
If cipher is specified, you can enter an encrypted password. If simple is specified, you can enter only the original (non-encrypted) password. The cipher keyword supports longer passwords because encrypted passwords are longer than non-encrypted ones. If the cipher keyword is selected, the input encrypted password must be the same as the encrypted password generated by the system. You can enter a non-encrypted password and view the configuration file to obtain the encrypted password generated by the system. The encrypted password is complicated and errors may occur when you enter the encrypted password. Therefore, it is not recommended to enter the encrypted password. If option60 or vendor-class is used as the user password, the system parses the Option 60 based on character strings by default. To allow the system to parse the Option 60 based on the hexadecimal format, specify the support hex keyword.