Справочник Пользователя для 3com WXR100 3CRWXR10095A

Скачать
Страница из 728
Configuring SNMP
149
To configure a notification target for traps from SNMPv3, use the 
following command:
set snmp notify target target-num ip-addr[:udp-port-number] 
usm trap user 
username 
[profile profile-name] 
[security {unsecured | authenticated | encrypted}]
To configure a notification target for informs from SNMPv2c, use the 
following command:
set snmp notify target target-num ip-addr[:udp-port-number] 
v2c 
community-string inform 
[profile profile-name] 
[retries num]
[timeout num]
To configure a notification target for traps from SNMPv2c, use the 
following command:
set snmp notify target target-num ip-addr[:udp-port-number] 
v2c 
community-string trap
[profile profile-name] 
To configure a notification target for traps from SNMPv1, use the 
following command:
set snmp notify target target-num ip-addr[:udp-port-number] 
v1 
community-string 
[profile profile-name] 
To clear a notification target, use the following command:
clear snmp notify target target-num
The target-num is an ID for the target. This ID is local to the WX switch 
and does not need to correspond to a value on the target itself. You can 
specify a number from 1 to 10. 
The ip-addr[:udp-port-number] is the IP address of the server. You also 
can specify the UDP port number to send notifications to. The default is 
162. 
Use v1v2c, or usm to specify the SNMP version.