Snmp-Agent Trap Enable - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
<Sysname> system-view
[Sysname] snmp-agent trap enable standard
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname public
# Enable the device to send SNMP Traps to the device which is in VPN 1 and has an IP
address of 10.1.1.1, using the community name of public.
<Sysname> system-view
[Sysname] snmp-agent trap enable standard
[Sysname]
vpn-instance vpn1 params securityname public

1.1.20 snmp-agent trap enable

Syntax
snmp-agent trap enable [ bgp | configuration | flash | ospf [ process-id ]
[ ospf-trap-list ] | standard [ authentication | coldstart | linkdown | linkup |
warmstart ]* | system | vrrp [ authfailure | newmaster ] ]
undo snmp-agent trap enable [ bgp | configuration | flash | ospf [ process-id ]
[ ospf-trap-list ] | standard [ authentication | coldstart | linkdown | linkup |
warmstart ]* | system | vrrp [ authfailure | newmaster ] ]
View
System view
Parameters
bgp: Enables the sending of BGP Trap messages.
configuration: Enables the sending of configuration Trap messages.
flash: Enables the sending of FLASH Trap messages.
ospf [ process-id ] [ ospf-trap-list ]: Enables the sending of OSPF Trap messages. The
parameter process-id is the process ID and spf-trap-list is the Trap packet list.
standard: Enables the sending of standard Trap messages.
authentication: Enables the sending of authentication failure Trap messages in
the event of authentication failure.
coldstart: Sends coldstart Trap messages when the device restarts.
linkdown: Sends linkdown Trap messages when the port is in a linkdown status. It
should be configured globally.
linkup: Sends linkup Trap messages when the port is in a linkup status. It should
be configured globally.
warmstart: Sends warmstart Trap messages when the SNMP restarts.
system: Sends H3C-SYS-MAN-MIB (a private MIB) Trap messages.
snmp-agent
target-host
1-20
Chapter 1 SNMP Configuration Commands
trap
address
udp-domain
10.1.1.1

Advertisement

Table of Contents
loading

Table of Contents