Command Reference Guide
SROS Command Line Interface Reference Guide HDLC Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 846
snmp trap link-status
Use the snmp trap link-status command to control the SNMP variable ifLinkUpDownTrapEnable
(RFC2863), which enables (or disables) the interface to send SNMP traps when there is an interface status
change. Use the no form of this command to disable this trap.
Syntax Description
No subcommands.
Default Values
By default, the ifLinkUpDownTrapEnable OID is enabled for all interfaces except virtual Frame Relay
interfaces.
Command Modes
(config-interface)# Interface Configuration Mode
Valid interfaces include: Ethernet (eth 0/1), virtual PPP interfaces (ppp 1), virtual
HDLC interfaces (hdlc 1), virtual Frame Relay sub-interfaces (fr 1.20), tunnel
interfaces (tunnel 1), and VLAN interface (vlan 1).
Functional Notes
The snmp trap link-status command is used to control the RFC2863 ifLinkUpDownTrapEnable OID (OID
number 1.3.6.1.2.1.31.1.1.1.14.0).
Usage Examples
The following example disables the link-status trap on the HDLC interface:
(config)#interface hdlc 1
(config-hdlc 1)#no snmp trap link-status