The snmp-agent trap enable feature-name line command enables the trap function for the LINE module.
The undo snmp-agent trap enable feature-name line command disables the trap function for the LINE module.
By default, the trap function is disabled for the LINE module.
snmp-agent trap enable feature-name line [ trap-name { hwVtyNumExceed | hwUserLogin | hwUserLoginFail | hwUserLogout } ]
undo snmp-agent trap enable feature-name line [ trap-name { hwVtyNumExceed | hwUserLogin | hwUserLoginFail | hwUserLogout } ]
Parameter |
Description |
Value |
---|---|---|
trap-name | Enables or disables the trap function for a specified event of the LINE module. | - |
hwVtyNumExceed | Enables the trap function for the event that the number of Telnet login users exceeds the maximum number allowed on the device. | - |
hwUserLogin | Enables the trap function for the user login event. | - |
hwUserLoginFail | Enables the trap function for the user login failure event. | - |
hwUserLogout | Enables the trap function for the user logout event. | - |