H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SNMP and RMON
H3C S7500 Series Ethernet Switches Chapter 1
SNMP Configuration Commands
1-9
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] snmp-agent trap enable
[H3C] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname public
[H3C] interface ethernet6/0/1
[H3C-Ethernet6/0/1] enable snmp trap updown
1.1.9 snmp-agent
Syntax
snmp-agent
undo snmp-agent
View
System view
Parameters
None
Description
Use the snmp-agent command to enable SNMP agents.
Use the undo snmp-agent command to disable SNMP agents.
By default, SNMP agents are disabled.
Note:
You can enable the SNMP agent function by executing this command or any
configuration command of snmp-agent.
Examples
# Disable running SNMP agents.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] undo snmp-agent