Configuring Extended Trap Function; Enabling Logging For Network Management - 3Com E4500-24 Cli Configuration Manual

Hp e4500-24: user guide
Table of Contents

Advertisement

To do...
Enable the switch to send
traps to NMS
Enter port view or
interface view
Enable
Enable the port
the port to
or interface to
send traps
send traps
Quit to system
view
Set the destination for traps
Set the source address for
traps
Set the size of the queue used
to hold the traps to be sent to
the destination host
Set the aging time for traps

Configuring Extended Trap Function

The extended trap function refers to adding "interface description" and "interface type" into the
linkUp/linkDown trap. When receiving this extended trap, NMS can immediately determine which
interface on the device fails according to the interface description and type.
Follow these steps to configure extended trap function:
To do...
Enter system view
Configure the extended trap
function

Enabling Logging for Network Management

Follow these steps to enable logging for network management:
To do...
Enter system view
Use the command...
snmp-agent trap enable [ configuration |
flash | standard [ authentication | coldstart
| linkdown | linkup | warmstart ]* | system ]
interface interface-type interface-number
enable snmp trap updown
quit
snmp-agent target-host trap address
udp-domain { ip-address } [ udp-port
port-number ] params securityname
security-string [ v1 | v2c | v3 [ authentication
| privacy ] ]
snmp-agent trap source interface-type
interface-number
snmp-agent trap queue-size size
snmp-agent trap life seconds
Use the command...
system-view
snmp-agent trap ifmib link
extended
Use the command...
system-view
1-5
Remarks
Optional
By default, a port
is enabled to send
all types of traps.
Required
Optional
Optional
The default is 100.
Optional
120 seconds by
default.
Remarks
Optional
By default, the linkUp/linkDown
trap adopts the standard format
defined in IF-MIB. For details, refer
to RFC 1213.
Remarks

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500

Table of Contents