Qtech QSW-2910-09T-POE-AC/DC — настройка SNMP: локальный и удаленный engine ID [167/212]

Превью страниц Страница 167 / 212
Qtech QSW-2910-52T-POE-AC [167/212] Configure view
+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
167
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
!Display local engine configuration
QTECH(config)# show snmp engineid local
13.5.2.9 Configure view
Use snmp-server view command to configure view and its subtree. Iso, internet and sysview
are the default views. At most 64 views can be configured. View Internet must not delete and
modify. Configure it in global configuration mode:
snmp-server view view-name oid-tree { included | excluded }
no snmp-server view view-name [ oid-tree ]
View-name means the name of the view to be added. It ranges from 1 to 32,excluding space.
Oid-tree means the subtree of the view which corresponds to such a mib node as ―1.3.6.1‖;
The substring of OID must be the integer between 0 and 2147483647.
The sum of the number of characters in view name string and the number of oid nodes should
not be more than 62.
When configuring view subtree to be exclude, the node in this subtree cannot be accesed
which does not mean the node excluded this subtree can be accessed. When configuring
notify destination host, if the security name is the community, sending notify is not effected on
view; if the user with the security name being SNMPv3, sending notify is controlled by notify
view of this user. What this notify view controlled is the accessing of the node that variable
belongs to and it is not influence accessing attribution of trap OID that notify belonged to. If

Содержание

507

Узнайте, как настроить локальный и удаленный engine ID в SNMP, а также как управлять представлениями и их поддеревьями для эффективного мониторинга сети.