1-29
z After configuring the accounting-on enable command, you need to execute the save command
so that the command can take effect when the switch restarts.
z This function requires the cooperation of the H3C CAMS system.
Related commands: nas-ip.
Examples
# Enable the user re-authentication at restart function for the RADIUS scheme named radius1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] radius scheme radius1
[Sysname-radius-radius1] accounting-on enable
calling-station-id mode
Syntax
calling-station-id mode { mode1 | mode2 } { lowercase | uppercase }
undo calling-station-id mode
View
RADIUS scheme view
Parameters
mode1: Sets the MAC address format to XXXX-XXXX-XXXX, where each X represents a hexadecimal
number.
mode2: Sets the MAC address format to XX-XX-XX-XX-XX-XX.
lowercase: Uses lowercase letters in the MAC address.
uppercase: Uses uppercase letters in the MAC address.
Description
Use the calling-station-id mode command to configure the MAC address format of the
Calling-Station-Id (Type 31) field in RADIUS packets.
Use the undo calling-station-id mode command to restore the default format.
By default, the MAC address format is XXXX-XXXX-XXXX, in lowercase.
Examples
# Set the MAC address format of the Calling-Station-Id field to XX-XX-XX-XX-XX-XX, in uppercase.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname]radius scheme system
[Sysname-radius-system]calling-station-id mode mode2 uppercase