Mac-Authentication User-Name-Format - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

Example

mac-authentication user-name-format

Syntax
View
Parameter
Description
# Set the server timeout timer to 150 seconds.
<Sysname> systme-view
[Sysname] mac-authentication timer server-timeout 150
mac-authentication user-name-format { fixed [ account name ] [ password
{ cipher | simple } password ] | mac-address [ with-hyphen | without-hyphen ] }
undo mac-authentication user-name-format
System view
fixed: Uses the MAC authentication username type of fixed username.
account name: Specifies the fixed username. The name argument is a
case-insensitive string of 1 to 55 characters and defaults to mac.
password { cipher | simple } password: Specifies the fixed password for the fixed
username. Using the cipher keyword displays the password in cipher text. Using
the simple keyword displays the password in plain text. In the former case, the
password can be either a string of 1 to 63 characters in plain text or a string of 24
or 88 characters in cipher text. In the latter case, the password must be a string of
1 to 63 characters in plain text.
mac-address: Adopts the user's source MAC address as the username, which is
case-insensitive.
with-hyphen: Indicates that the MAC address must include "-", like
xx-xx-xx-xx-xx-xx. The letters in the address must be in lower case.
without-hyphen: Indicates that the MAC address must not include "-", like
xxxxxxxxxxxx. The letters in the address must be in lower case.
Use the
mac-authentication user-name-format
username and password for MAC authentication.
Use the
undo mac-authentication user-name-format
the default.
By default, a user's source MAC address is used as the username and password.
And whether "-" is necessary in the MAC address varies with devices.
Note that:
When using the type of fixed username, you must also manually configure the
password.
When the user's source MAC address is used as the username, the password is
also that MAC address.
In cipher display mode, a password in plain text with no more than 16
characters will be encrypted into a password in cipher text with 24 characters,
command to configure the
command to restore
2013

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents