Disabling Link Notifications On An Interface; Displaying Snmp Ifindex For An Interface - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring SNMP

Disabling Link Notifications on an Interface

You can disable linkUp and linkDown notifications on an individual interface. You can use this limit
notifications on flapping interface (an interface that transitions between up and down repeatedly).
Procedure
Step 1
Step 2
Step 3
Step 4

Displaying SNMP ifIndex for an Interface

The SNMP ifIndex is used across multiple SNMP MIBs to link related interface information.
Procedure
Step 1
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
interface type slot/port
Example:
switch(config)# interface ethernet 2/2
no snmp trap link-status
Example:
switch(config-if)# no snmp trap
link-status
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
Command or Action
show interface snmp-ifindex
Example:
switch# show interface snmp-ifindex
| grep -i Eth12/1
Eth12/1 441974784 (0x1a580000)
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Disabling Link Notifications on an Interface
Purpose
Enters global configuration mode.
Disables SNMP link-state traps for the
interface. This command is enabled by default.
Disables SNMP link-state traps for the
interface. This command is enabled by default.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Displays the persistent SNMP ifIndex value from the
IF-MIB for all interfaces. Optionally, use the |
keyword and the grep keyword to search for a
particular interface in the output.
203

Advertisement

Table of Contents
loading

Table of Contents