Snmp-Agent - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

2336
C
154: SNMP C
HAPTER
Parameter
Description
Related command:
Example

snmp-agent

Syntax
View
Parameter
Description
Example
C
ONFIGURATION
OMMANDS
None
Use the
enable snmp trap updown
messages for interface state change (linkup/linkdown Trap messages).
Use the
undo enable snmp trap updown
linkup/linkdown SNMP Trap messages on an interface.
By default, the sending of linkup/linkdown SNMP Trap messages is enabled.
Note that:
To enable an interface to send SNMP Trap packets when its state changes, you
need to enable the Link up/down Trap packet transmission function on an
interface and globally. Use the enable snmp trap updown command to enable
this function on an interface, and use the snmp-agent trap enable [ standard
[ linkdown | linkup ] * ] command to enable this function globally.
snmp-agent target-host, snmp-agent trap enable.
#Enable the sending of linkup/linkdown SNMP Trap messages on the port Ethernet
1/0 and use the community name public.
<Sysname> system-view
[Sysname] snmp-agent trap enable
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 pa
rams securityname public
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] enable snmp trap updown
snmp-agent
undo snmp-agent
System view
None
Use the
snmp-agent
Use the
undo snmp-agent
By default, SNMP agent is disabled.
# Disable the current SNMP agent.
<Sysname> system-view
[Sysname] undo snmp-agent
command to enable the sending of Trap
command to enable SNMP agent.
command to disable SNMP agent.
command to disable the sending of

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents