177
Command Mode
Global Configuration Mode
Example
Add a Notification entry, and configure the IP Address of the management Host
as 192.168.0.1, the UDP port as 162, the User name of the management station
as admin, the Security Model of the management station as v2c, the type of the
notifications as inform, the maximum time for the switch to wait as 1000
seconds, and the resending time as 100:
TP-LINK(config)# snmp notify-add 192.168.0.1 162 admin smode v2c type
inform resend 100 timeout 1000
snmp-rmon history sample-cfg
Description
The snmp-rmon history sample-cfg command is used to configure the history
sample entry. To return to the default configuration, please use no snmp-rmon
history sample-cfg command. RMON (Remote Monitoring), basing on SNMP
architecture, functions to monitor the network. History Group is one of the
commonly used RMON Groups. After a history group is configured, the switch
collects network statistics information periodically, based on which the
management station can monitor network effectively.
Syntax
snmp-rmon history sample-cfg {index} {port} {interval}
no snmp-rmon history sample-cfg {index}
Parameter
index —— The index number of the entry, ranging from 1 to 12, in the format of
1-3,5.
port —— The port from which the history samples were taken.
interval —— The interval to take samplings from the port, ranging from 10 to
3600 in seconds. By default, it is 1800.
Command Mode
Global Configuration Mode
Example
Configure the sample port as 1, and the sample interval as 100 seconds for the
entries 1-3: