Snmp-Agent Trap If-Mib Link Extended - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

To generate linkUp or linkDown traps when the link state of an interface changes, you must enable the
linkUp or linkDown trap function globally by using the snmp-agent trap enable [ standard [ linkdown |
linkup ] * ] command and on the interface by using the enable snmp trap updown command.
The following matrix shows the keyword and router compatibility:
Keyword
acfp
Examples
# Enable the SNMP agent to send SNMP authentication failure traps to 10.1.1.1 in the community public.
<Sysname> system-view
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname
public
[Sysname] snmp-agent trap enable standard authentication
Related commands
snmp-agent target-host
enable snmp trap updown

snmp-agent trap if-mib link extended

Use snmp-agent trap if-mib link extended to configure the SNMP agent to send extended
linkUp/linkDown traps.
Use undo snmp-agent trap if-mib link extended to restore the default.
Syntax
snmp-agent trap if-mib link extended
undo snmp-agent trap if-mib link extended
Default
The SNMP agent sends standard linkUp/linkDown traps.
Views
System view
Default command level
3: Manage level
Usage guidelines
The extended linkUp and linkDown traps add interface description and interface type to the standard
linkUp and linkDown traps for fast failure point identification. When you configure the snmp-agent trap
if-mib link extended command, make sure the NMS supports the extended linkUp and linkDown traps.
If not, the NMS will be unable to parse the traps.
A standard linkUp trap is in the following format:
#Apr 24 11:48:04:896 2008 Sysname IFNET/4/INTERFACE UPDOWN:
SR6602
SR6602-X
No
No
SR6604/SR6608/SR6616
Yes on the RPE-X1 or
RSE-X1 MPU
No on the MCP MPU
122
SR6604-X/SR6608-X
/SR6616-X
Yes

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents