Hitachi GR2000 Series Manuel D’Utilisation

Page de 500
SNMP Information
GR2K-GA-0014
3-21
Ver. 07-02
Event type:
log
Trap community name: “net-mgr ichiro 07/25”
4. Using the
alarm
object with the
set
subcommand omitted, create an RMON
Ethernet alarm-group entry with the following properties for the above
event-group entries:
RMON Ethernet alarm-group index number: 12
Object MIB ID: “ifOutDiscards.3”
Note: ifOutDiscards MIB counts discarded packets for which no error is detected.
Interval: 256111 seconds
Sample type: delta
Rising threshold: 400000 packets
Rising event-group index number: 3
Falling threshold: 100 packets
Falling event-group index number: 5
5. Show the resulting event-group entries.
Add description and owner to the registered event-group index number 3, and show
the resulting event-group entries:
(config)# snmp "rmon-mgr" 30.1.1.1 -read_write trap
(config)# event 3 -type trap -community "rmon-mgr"
(config)# event 5 -type log -owner "net-mgr ichiro 07/25"
(config)# alarm 12  -variable "ifOutDiscards.3"  -interval  256111 
-sample_type  delta -rising_threshold 400000 -rising_event_index 3 
-falling_threshold 100  -falling_event_index 5
(config)# show event
    event 3 {
        type trap;
        community "rmon-mgr";
    };
    event 5 {
        type log;
        owner "net-mgr ichiro 07/25";
    };
(config)# 
(config)# event 3 -description "if inInError > 200 then trap" -owner 
"monitor"
(config)# show event
    event 3 {
        type trap;
        community "rmon-mgr";
        description "if inInError > 200 then trap";
        owner "monitor";
    };
    event 5 {
        type log;
        owner "net-mgr ichiro 07/25";
    };
(config)#