mac-address-format

Configures the format MAC addresses are filled in RADIUS request frames

Supported on the following devices:

Syntax

mac-address-format [middle-hyphen|no-delim|pair-colon|pair-hyphen|quad-dot] 
case [lower|upper] attributes [all|username-password]

Parameters

mac-address-format [middle-hyphen|no-delim|pair-colon|pair-hyphen|quad-dot] 
case [lower|upper] attributes [all|username-password]

middle-hyphen

Configures the MAC address format as AABBCC-DDEEFF

no-delim

Configures the MAC address format as AABBCCDDEEFF (without delimiters)

pair-colon

Configures the MAC address format as AA:BB:CC:DD:EE:FF

pair-hyphen

Configures the MAC address display format as AA-BB-CC-DD-EE-FF (default setting)

quad-dot

Configures the MAC address display format as AABB.CCDD.EEFF

case [lower|upper]

Indicates the case the MAC address is formatted
  • lower – Indicates MAC address is in lower case. For example, aa:bb:cc:dd:ee:ff
  • upper – Indicates MAC address is in upper case. For example, AA:BB:CC:DD:EE:FF (default setting)
attributes [all|username-password] Configures RADIUS attributes to which this MAC format is applicable
  • all – Applies to all attributes with MAC addresses such as username, password, calling-station-id, and called-station-id
  • username-password – Applies only to the username and password fields (default setting)

Examples

nx9500-6C8809(config-aaa-policy-test)#mac-address-format quad-dot case upper attributes username-password
nx9500-6C8809(config-aaa-policy-test)#show context
aaa-policy test
 authentication server 5 host 172.16.10.10 secret 0 test1 port 1
 authentication server 5 timeout 10  attempts 3
 accounting server 2 host 172.16.10.10 secret 0 test1 port 1
 accounting server 2 timeout 2 attempts 2
 mac-address-format quad-dot case upper attributes username-password
 authentication protocol chap
 --More--
nx9500-6C8809(config-aaa-policy-test)#

Related Commands

no

Resets the MAC address format to default (pair-hyphen)