The radius-attribute nas-ip command sets the NAS-IP-Address attribute in a RADIUS packet sent from an NAS.
The undo radius-attribute nas-ip command deletes the configured NAS-IP-Address attribute.
By default, the source IP address of the NAS is the NAS-IP-Address attribute value.
Parameter |
Description |
Value |
|---|---|---|
ip-address |
Specifies the NAS-IP-Address attribute value in RADIUS packets sent by the device. |
The value is a valid unicast address in dotted decimal notation. |
Usage Scenario
A RADIUS server uses the NAS-IP-Address attributes in RADIUS packets sent by NASs to identify NASs. You can run the radius-attribute nas-ip command in the RADIUS server template view to set the NAS-IP-Address attribute.
Prerequisites
A RADIUS server template has been created using the radius-server template command.
Precautions
If the RADIUS NAS-IP-Address attribute is set to an invalid IP address, the configuration fails and an error message is displayed.