radius-server force-message-authenticator
Use the radius-server force-message-authenticator Global Configuration mode command to enable Message-Authenticator attribute verification for all types of RADIUS responses received from the specified RADIUS server. Use the no form of the command to restore the default setting.
Syntax
radius-server force-message-authenticator host {ip-address | hostname}
no radius-server force-message-authenticator host {ip-address | hostname}
Parameters
-
ip-address—Specifies the RADIUS server host IP address. The IP address can be an IPv4, IPv6 or IPv6z address.
-
hostname—Specifies the RADIUS server host name. Translation to IPv4 addresses only is supported. (Length: 1–158 characters. Maximum label length of each part of the hostname: 63 characters)
Default Configuration
Message-Authenticator attribute verification is enabled only for RADIUS responses that are part of a RADIUS exchanges using EAP authentication.
Command Mode
Global Configuration mode
User Guidelines
Use the radius-server force-message-authenticator command to to ensure that all RADIUS responses from the specified server include the Message-Authenticator attribute (RADIUS attribute 80. If this setting is enabled, any type of RADIUS response that does not include the Message-Authenticator attribute will be silently discarded and the event will be logged. If this setting is disabled, then RADIUS responses that do not include this attribute will be discarded only if they are part of an RADIUS exchange using EAP authentication.
The command will fail if the RADIUS server specified in the host parameter was not previously configured on the device using the radius-server host command.
Example
Example 1 - The following example enables Message-Authentication attribute verification for all types of RADIUS responses received from RADIUS server 1.2.3.4.
switchxxxxxx(config)# radius-server force-message-authenticator host 1.2.3.4
Example 2 - In the following example the attempt to enable Message-Authentication attribute verification for all types of RADIUS responses received from RADIUS server 5.6.7.8 fails because RADIUS server 5.6.7.8 is not configured on the device.
switchxxxxxx(config)# radius-server force-message-authenticator host 5.6.7.8
Command failed since RADIUS server 5.6.7.8 was not configured on the device.