Snmp-Agent - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – SNMP and RMON
Quidway S3900 Series Ethernet Switches-Release 1510
The enable snmp trap updown and snmp-agent target-host commands are used at
the same time. You can use the snmp-agent target-host command to specify the
hosts that can receive Trap information. To send Trap information, you must configure
at least one snmp-agent target-host command.
Example
# Enable the port Ethernet 1/0/1 to send linkUp and linkDown SNMP traps, using the
community name "public" to the NMS whose IP address is 10.1.1.1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] snmp-agent trap enable
[Quidway] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname public
[Quidway] interface Ethernet1/0/1
[Quidway-Ethernet1/0/1] enable snmp trap updown

1.1.10 snmp-agent

Syntax
snmp-agent
undo snmp-agent
View
System view
Parameter
None
Description
Use the snmp-agent command to enable SNMP Agent.
Use the undo snmp-agent command to disable SNMP Agent.
By default, SNMP Agent is disabled.
Example
# Disable running SNMP Agent.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] undo snmp-agent
Huawei Technologies Proprietary
1-9
Chapter 1 SNMP Configuration Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents