This command specifies the RADIUS client to use the specified RADIUS attribute in the RADIUS requests. The supported attributes are as follows:
- 4: Include the NAS-IP Address attribute. If the specific IP address is configured while enabling this attribute, the RADIUS client uses that IP address while sending NAS-IP-Address attribute in RADIUS communication.
- 95: Include the NAS-IPV6-Address attribute. If the specific IPv6 address is configured while enabling this attribute, the RADIUS client uses that IPv6 address while sending NAS-IPV6-Address attribute in RADIUS communication.
- 30: This command configures the format in which the MAC address is sent to the RADIUS server in attribute 30.
- 31: This command configures the format in which the MAC address is sent to the RADIUS server in attribute 31 Calling-Station-ID).
- 32: This command configures the format in which the MAC address is sent to the RADIUS server in attribute 32 (NAS-Identifier).
| Default | (Attribute 30 and 31 only) MAC address format: legacy lower case |
| Format | radius server attribute {4 [ipaddr] | 95 [ipv6_addr] | {30 | 31 | 32} mac-format {leagacy lower-case | upper-case | ietf lower-case | upper-case | unformatted lower-case | upper-case }} |
| Mode | Global Config |
| Term | Definition |
|---|---|
| 4 | NAS-IP-Address attribute to be used in RADIUS requests. |
| ipaddr | The IP address of the server. |
| ipv6_addr | The IPv6 address of the server. |
| ietf | Format the MAC address as xx-xx-xx-xx-xx-xx. |
| legacy | Format the MAC address as xx:xx:xx:xx:xx:xx |
| unformatted | Format the MAC address as aaaabbbbcccc. |
Example: The following shows an example of the command.
(Switch) (Config) #radius server attribute 4 192.168.37.60
Example: The following shows an example of the command.
(Switch) (Config) #(Config)#radius server attribute 95 3ffe:ffff:100:f101::1
Example: The following shows an example of the command.
(Switch) (Config) #(Config)#radius server attribute 31 mac-format unformatted lower-case