SNR S2989G-24TX-POE — настройка SNMP для управления сетевыми устройствами [44/553]

Превью страниц Страница 44 / 553
SNR S2989G-24TX-POE [44/553] Typical snmp configuration examples
S2989G-24TX Operation Manual
Chapter
1
Basic
Management
Configuration
1-29
Enable the switch to send Trap message.
This command is used for SNMP v1/v2/v3.
Set the host IPv4/IPv6 address which is
used to receive SNMP Trap information.
For SNMP v1/v2, this command also
configures Trap community string; for
SNMP v3, this command also configures
Trap user name and security level. The
“no” form of this command cancels this
IPv4 or IPv6 address.
Set the source IPv4 or IPv6 address which
is used to send trap packet, the no
command deletes the configuration.
Enable/disable the function of sending the
trap message to the port of UP/DOWN
event.
9. Enable/Disable RMON
Command
Explanation
Global mode
rmon enable
no rmon enable
Enable/disable RMON.
1.2.4.5 Typical SNMP Configuration Examples
The IP address of the NMS is 1.1.1.5; the IP address of the switch (Agent) is 1.1.1.9.
Scenario 1: The NMS network administrative software uses SNMP protocol to obtain
data from the switch.
The configuration on the switch is listed below:
Switch(config)#snmp-server enable
Switch(config)#snmp-server community rw private
Switch(config)#snmp-server community ro public
Switch(config)#snmp-server securityip 1.1.1.5
The NMS can use private as the community string to access the switch with read-write

Содержание

666

Узнайте, как настроить SNMP для отправки Trap-сообщений и управления сетевыми устройствами. Подробные примеры и команды для эффективной конфигурации.