356
C
HAPTER
33: SNMP C
ONFIGURATION
Configuring Extended
Trap
The extended Trap includes the following.
■
Interface description" and "interface type" are added into the linkUp/linkDown
Trap message. When receiving this extended Trap message, NMS can
immediately determine which interface on the device fails according to the
interface description and type.
■
In all Trap messages sent from the information center to the log server, a MIB
object name is added after the OID field of the MIB object. The name is for
your better understanding of the MIB object.
Enable the switch to send Trap messages to
NMS
snmp-agent trap enable
[ configuration | flash |
standard [
authentication |
coldstart | linkdown |
linkup | warmstart ]* |
system | ]
Optional
By default, a port is
enabled to send all
types of Traps.
Enable the port
to send Trap
messages
Enter port view or
interface view
interface
interface-type
interface-number
Enable the port or
interface to send Trap
messages
enable snmp trap
updown
Quit to system view
quit
Set the destination for Trap messages
snmp-agent target-host
trap address
udp-domain
{
ip-address
}
[
udp-port
port-number
]
params securityname
security-string
[
v1
|
v2c
|
v3
{
authentication
|
privacy
} ]
Required
Set the source address for Trap messages
snmp-agent trap source
interface-type
interface-number
Optional
Set the size of the queue used to hold the
Traps to be sent to the destination host
snmp-agent trap
queue-size
size
Optional
The default is 100.
Set the aging time for Trap messages
snmp-agent trap life
seconds
Optional
120 seconds by
default.
Table 275
Configure basic Trap
Operation
Command Description
Table 276
Configure extended Trap
Operation
Command
Description
Enter system view
system-view
-
Configure extended Trap
snmp-agent trap ifmib link
extended
Optional
By default, the
linkUp/linkDown Trap
message adopts the standard
format defined in IF-MIB. For
details, refer to RFC 1213.
Содержание Switch 4210 9-Port
Страница 10: ...Password Control Configuration 556 Displaying Password Control 563 Password Control Configuration Example 564 ...
Страница 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Страница 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Страница 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Страница 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Страница 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Страница 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Страница 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Страница 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Страница 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Страница 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Страница 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Страница 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Страница 340: ...338 CHAPTER 30 CLUSTER ...
Страница 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Страница 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Страница 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Страница 451: ......
Страница 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Страница 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Страница 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...