Snmp Trap Link-Status - Cisco nexus 3000 series Command Reference Manual

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

snmp trap link-status

S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
snmp trap link-status
To enable Simple Network Management Protocol (SNMP) link trap generation on an interface, use the
snmp trap link-status command. To disable SNMP link traps, use the no form of this command.
Syntax Description
This command has no arguments or keywords.
Command Default
Enabled
Command Modes
Interface configuration mode
Command History
Release
5.0(3)U1(1)
Usage Guidelines
By default, SNMP link traps are sent when a Layer 2 interface goes up or down. You can disable SNMP
link trap notifications on an individual interface. You can use these limit notifications on a flapping
interface (an interface that transitions between up and down repeatedly).
You can use this command on the following interfaces:
Examples
This example shows how to disable SNMP link-state traps for a specific Layer 2 interface:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# no snmp trap link-status
switch(config-if)#
This example shows how to enable SNMP link-state traps for a specific Layer 3 interface:
switch# configure terminal
switch(config)# interface ethernet 1/5
switch(config-if)# no switchport
switch(config-if)# snmp trap link-status
switch(config-if)#
This example shows how to enable SNMP link-state traps for a specific Layer 2 interface:
switch# configure terminal
Cisco Nexus 3000 Series NX-OS System Management Command Reference
-SM-318
snmp trap link-status
no snmp trap link-status
Modification
This command was introduced.
Layer 2 interface
Layer 3 interface
Use the no switchport command to configure an interface as a Layer 3 interface.
Note
Chapter
System Management Commands
OL-29557-04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents