mac-authentication password-format

Configures the MAC authentication password format.
Syntax
mac-authentication password-format { xx-xx-xx-xx-xx-xx | xx:xx:xx:xx:xx:xx | xxxx.xxxx.xxxx | xxxxxxxxxxxx } [ upper-case ]
no mac-authentication password-format { xx-xx-xx-xx-xx-xx | xx:xx:xx:xx:xx:xx | xxxx.xxxx.xxxx | xxxxxxxxxxxx } [ upper-case ]
Command Default

By default, the MAC address is sent to the RADIUS server in the format xxxxxxxxxxxx in lower case.

Parameters
xx-xx-xx-xx-xx-xx
Specifies the MAC authentication password format as xx-xx-xx-xx-xx-xx.
xx:xx:xx:xx:xx:xx
Specifies the MAC authentication password format as xx:xx:xx:xx:xx:xx.
xxxx.xxxx.xxxx
Specifies the MAC authentication password format as xxxx.xxxx.xxxx.
xxxxxxxxxxxx
Specifies the MAC authentication password format as xxxxxxxxxxxx.
upper-case
Converts the password to uppercase.
Modes

Authentication configuration mode

Usage Guidelines

The no form of the command restores the default.

You can configure the device to send the MAC address to the RADIUS server in the format xx-xx-xx-xx-xx-xx, xx.xx.xx.xx.xx.xx, xxxx.xxxx.xxxx, or xxxxxxxxxxxx. Use the upper-case password format option to send the password in uppercase.

Examples

The following example configures the MAC authentication password format as xx-xx-xx-xx-xx-xx.

device(config)# authentication
device(config-authen)# mac-authentication password-format xx-xx-xx-xx-xx-xx

The following example configures the MAC authentication password format as xx-xx-xx-xx-xx-xx in upper case.

device(config)# authentication
device(config-authen)# mac-authentication password-format xx-xx-xx-xx-xx-xx upper-case
History
Release version Command history
08.0.20 This command was introduced.
08.0.20c The upper-case option was added.
08.0.61 The xx.xx.xx.xx.xx.xx and the xx:xx:xx:xx:xx:xx options were added.