The radius-server nas-identifier-format command sets the encapsulation format of the NAS-Identifier attribute.
The undo radius-server nas-identifier-format command restores the default encapsulation format of the NAS-Identifier attribute.
By default, the NAS-Identifier attribute encapsulation format is the user's hostname.
radius-server nas-identifier-format { hostname | vlan-id | ap-info }
undo radius-server nas-identifier-format
Only the S5730-HI, S5731-H, S5731S-H, S6730-H, S6730S-H, S5732-H, S6720-HI, and S5720-HI support the ap-info parameter.
Parameter |
Description |
Value |
---|---|---|
hostname |
Sets the encapsulation format of NAS-Identifier to a user's host name. |
- |
vlan-id |
Sets the encapsulation format of NAS-Identifier to a user's VLAN ID. |
- |
ap-info |
Sets the encapsulation format of NAS-Identifier to the AP's MAC address. |
- |
A RADIUS server uses the NAS-Identifier attributes to identify NASs. The NASs also use the NAS-Identifier attributes carried in the sent RADIUS packets to identify themselves.
When the RADIUS server interconnected with the device requires that the NAS-Identifier attribute value is the MAC address of the AP when the device functions as an AC in a wireless scenario, you need to run the radius-server nas-identifier-format ap-info command.