EasyManua.ls Logo

3Com 5500G-EI - Snmp-Agent Trap Enable

3Com 5500G-EI
530 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
486 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
Use the undo snmp-agent target-host command to cancel the host currently
configured to receive SNMP notification.
You must enter the snmp-agent trap enable command before you enter the
snmp-agent target-host command. The snmp-agent trap enable command
enables the device to transmit Trap packets. To send Trap messages, at least one
snmp-agent target-host command should be configured.
Example
To enable Trap messages to be sent to 2.2.2.2 with a community name of guest,
enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]snmp-agent trap enable
[SW5500]snmp-agent target-host trap address udp-domain 2.2.2.2
params securityname guest
[SW5500]
To enable Trap messages to be sent to 2.2.2.2 with a community name of
public, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]snmp-agent trap enable
[SW5500]snmp-agent target-host trap address udp-domain 2.2.2.2
params securityname public
snmp-agent trap enable Syntax
snmp-agent trap enable [ configuration | flash | ospf [
process-id
]
[
ospf-trap-list
] | standard [ authentication | coldstart | linkdown
| linkup | warmstart ]* | system ]
undo snmp-agent trap enable [ bgp [ backwardtransition ] [
established ] | configuration | flash | ospf [
process-id
] [
ospf-trap-list
] | standard [ authentication | coldstart | linkdown |
linkup | warmstart ]* | system ]
View
System view
Parameter
configuration: Configure to send SNMP configuratin Trap packets.
flash: Configure to send SNMP flash Trap packets.
ospf [
process-id
] [
ospf-trap-list
]: Configure to send the OSPF trap
packets.
process-id
is the ID of the OSPF process, ranging from 1 to 65535.
ospf-trap-list
is the list of OSPF trap information.
standard [ authentication | coldstart | linkdown | linkup | warmstart
]*
: Configure to send standard Trap messages.
authentication: Configure to send SNMP authentication Trap messages
when authentication fails.

Table of Contents

Related product manuals