Tp-Link T1600G-28PS (TL-SG2424P) [745/754] Configuration file

Tp-Link T1600G-28PS (TL-SG2424P) [745/754] Configuration file
Configuration Guide 723
Managing SNMP & RMON Configuration Example

Configuring RMON
1) Create two Statistics entries to monitor ports 1/0/1 and 1/0/2 respectively. The owner of the
entries is set as monitor, and the status is set as valid.
Switch(config)#rmon statistics 1 interface gigabitEthernet 1/0/1 owner monitor status valid
Switch(config)#rmon statistics 2 interface gigabitEthernet 1/0/2 owner monitor status valid
2) Create two history entries and bind them to ports 1/0/1 and 1/0/2 respectively. Set the sample
interval as 100 seconds, max buckets as 50, and the owner as monitor.
Switch(config)#rmon history 1 interface gigabitEthernet 1/0/1 interval 100 owner monitor
buckets 50
Switch(config)#rmon history 2 interface gigabitEthernet 1/0/2 interval 100 owner monitor
buckets 50
3) Create two event entries named admin, which is the SNMP user name. Set entry 1 as the
Notify type and its description as “rising notify”. Set entry 2 as the Log type and its description
as “falling log”. Set the owner of them as monitor.
Switch(config)#rmon event 1 user admin description rising-notify type notify owner monitor
Switch(config)#rmon event 2 user admin description falling-log type log owner monitor
4) Create two alarm entries. For entry 1, set the alarm variable as BPackets, associated statistics
entry ID as 1 (bound to port 1/0/1), the sample type as Absolute, the rising threshold as
3000, the associated rising event entry ID as 1 (Notify type), the falling threshold as 3000, the
associated falling event entry ID as 2 (the log type), the alarm type as all, the interval as 10
seconds, and the owner name as monitor. For entry 2, set the associated statistics entry ID as
2 (bound to port 1/0/2), while all other configurations are the same as those of entry 1.
Switch(config)#rmon alarm 1 stats-index 1 alarm-variable bpkt s-type absolute rising-
threshold 3000 rising-event-index 1 falling-threshold 3000 falling-event-index 2 a-type all
interval 10 owner monitor
Switch(config)#rmon alarm 2 stats-index 2 alarm-variable bpkt s-type absolute rising-
threshold 3000 rising-event-index 1 falling-threshold 3000 falling-event-index 2 a-type all
interval 10 owner monitor
Configuration File
Switch#configure
Switch(config)#snmp-server
Switch(config)#snmp-server engineID remote 123456789a

Содержание

Похожие устройства

Скачать