SROS Command Line Interface Reference Guide

HDLC Command Set

 

 

snmp trap link-status

Use the snmp trap link-statuscommand 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-statuscommand 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

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

846

Page 846
Image 846
HP 7000 dl Router manual Config#interface hdlc Config-hdlc 1#no snmp trap link-status