Command Reference Guide

SROS Command Line Interface Reference Guide Ethernet Interface Configuration Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 477
snmp trap link-status
Use the snmp trap link-status to control the SNMP variable ifLinkUpDownTrapEnable (RFC 2863) to
enable (or disable) 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, VLAN, T1 (t1 1/1), E1 (e1 1/1), DSX-1 (t1 1/2),
G.703, serial (ser 1/1), DDS (dds 1/1), virtual Frame Relay (fr 1), virtual PPP (ppp
1), SHDSL (shdsl 1/1), and loopback interfaces.
Functional Notes
The snmp trap link-status command is used to control the RFC 2863 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 interface:
(config)#interface ethernet 0/1
(config-eth 0/1)#no snmp trap link-status