Enabling RADIUS-SNMP accounting
Before you begin
You must configure a RADIUS server before you can enable RADIUS-SNMP accounting.
About this task
Enable Remote Access Dial-in User Services (RADIUS) Simple Network Managing Protocol (SNMP) accounting globally. Use SNMP to remotely collect management data. An SNMP agent is a software process that monitors the UDP port 161 for SNMP messages. Each SNMP message sent to the agent contains a list of management objects.
Procedure
Example
Switch:1> enable Switch:1# configure terminal Switch:1(config)# radius-snmp acct-enable Switch:1(config)# radius-snmp abort-session-timer 30
Variable Definitions
The following table defines parameters for the radius-snmp command.
Variable |
Value |
---|---|
acct-enable |
Enables RADIUS accounting globally. You cannot enable RADIUS accounting before you configure a valid server. The system disables RADIUS accounting by default. The default is false. Use the no option to disable RADIUS accounting globally: no radius-snmp acct-enable |
abort-session-timer <30–65535> |
Set the timer, in seconds, to send a stop accounting message. The default is 180. |
re-auth-timer <30–65535> |
Sets timer for re-authentication of the SNMP session. The timer value ranges from 30 to 65535 seconds. The default is 180. |
user WORD <0–20> |
Specifies the user name for SNMP access. WORD <0–20> specifies the user name in a range of 0 to 20 characters. The default is snmp_user. |