Qtech QSW-2900-24T-AC [39/209] Configure notify

2-37
2.9.6 Configure notify
Enable/disable sending all kinds of notify types by configuring notify sending. The defaulted notify sending is
trap. After disabling notify sending, trap will not be sent. Notify sending is defaulted to disable. Configure it in
global configuration mode:
snmp-server enable traps [ notificationtype-list ]
no snmp-server enable traps [ notificationtype-list ]
notificationtype-list:Notificationtype list defined by system. To enable or disable specified notification type by
choose one or serval type. If the keyword is vacant, all types of notification are enabled or disabled.
Notify types are as following:
· bridge:Enable/disable STP
· interfaces:interface LinkUp/LinkDown
· snmp:accessing control; cold boot/heat boot of system
· gbnsavecfg:save configuration
· rmon:RMON trap
· gbn:self-define Trap, such as interface Blocking, CAR, loopback detect
For example:
! Enable notificationtype gbn
QTECH(config)# snmp-server enable traps gbn
2.9.7 Configure engine id
This configuration is used to configure local engine-id or recognizable remote engine-id.
Default local engine id is 275140000000000000000000 which cannot be deleted but modified. It is defaulted
to have no recognizable remote engine-id which can be added and deleted. Once delete a recognizable remote engine
the corresponded user can also be deleted. At most 32 engines can be configured. Use no snmp-server engineID
command to restore default local engine-id or remove remote engine-id. Configure it in global configuration mode:
snmp-server engineID { local engineid-string | remote ip-address [udp-port port-number]
engineid-string }
no snmp-server engineID { local | remote ip-address [udp-port port-number] }
Display current engine configuration in any configuration mode:
show snmp engineID [local | remote]
engineid-string is an engine id that can only be recognized in a network. This system only supports printable
characters of engine id which excludes space.
Ip-address is remote engine ip address. Local ip address is not allowed to input.
Port-number is remote engine port number. Default port number is 162
For example:
! Configure local engine id to be 12345
QTECH(config)# snmp-server engineid local 12345
! Configure remote engine that can be recognized locally. Configure remote engine ip to be 1.1.1.1, and port
number to be 888, and id to be 1234
QTECH(config)# snmp-server engineid remote 1.1.1.1 udp-port 888 1234

Содержание

Скачать
Случайные обсуждения