cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1439
Views
5
Helpful
1
Replies
Highlighted
Participant

Nexus Check port speed snmp

Hello All,

In Nexus, if we poll for ifspeed, it gives the speed configured on the interface.  For example, say the interface supports both gig or 10G. How can I just extract the highest it can support though I have manually/Auto nego to a Gig? Please advise

Ethernet1/2/2 is up
Dedicated Interface
Hardware: 1000/10000

Thanks

Everyone's tags (1)
1 REPLY 1
Highlighted
Cisco Employee

Rakesh,

Rakesh,

Reviewed your question and unfortunately, we did not have explicit SNMP MIB object to represent HW supported max BW.

The appropriate MIB object to represent interface BW are :

Interface speed : ifHighSpeed in IF-MIB
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=ifHighSpeed&translate=Translate

Interface duplex : dot3StatsDuplexStatus <> in EtherLike-MIB
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=dot3StatsDuplexStatus&translate=Translate

This mib objects are supported for Nexus 5.1(1) release onwards.

The following information provide SNMP supported filed in CLI, "show interface xxxx"  for Nexus paltform.

Hope it is helpful.

If this information is helpful, please let me know.

Thank you,

-Prasad.

CLI to SNMP MIB object mapping for "show interface xxx"

Mapped MIB Objects:

Interface Name                          :ifName in IF-MIB[ 5.1(1) ]
Oper Status                             :ifOperStatus in IF-MIB[ 5.1(1) ]
address                                 :ifPhysAddress in IF-MIB[ 5.1(1) ]
Description                             :ifAlias of ifXEntry in IF-MIB[ 5.1(1) ]
MTU                                     :ifMtu in IF-MIB[ 5.1(1) ]
Interface duplex                        :dot3StatsDuplexStatus in EtherLike-MIB[ 5.1(1) ]
Interface speed                         :ifHighSpeed in IF-MIB[ 5.1(1) ]
Rx unicast packets                      :ifHCInUcastPkts in IF-MIB[ 5.1(1) ]
Rx multicast packets                    :ifHCInMulticastPkts in IF-MIB[ 5.1(1) ]
Rx broadcast packets                    :ifHCInBroadcastPkts in IF-MIB[ 5.1(1) ]
Rx bytes                                :ifHCInOctets in IF-MIB[ 5.1(1) ]
Rx input error                          :ifInErrors in IF-MIB[ 5.1(1) ]
Rx bad proto drop                       :ifInUnknownProtos in IF-MIB[ 5.1(1) ]
Rx input discard                        :ifInDiscards in IF-MIB[ 5.1(1) ]
Tx unicast packets                      :ifHCOutUcastPkts in IF-MIB[ 5.1(1) ]
Tx multicast packets                    :ifHCOutMulticastPkts in IF-MIB[ 5.1(1) ]
Tx broadcast packets                    :ifHCOutBroadcastPkts in IF-MIB[ 5.1(1) ]
Tx bytes                                :ifHCOutOctets in IF-MIB[ 5.1(1) ]
Tx output error                         :ifOutErrors in IF-MIB[ 5.1(1) ]
Tx output discard                       :ifOutDiscards in IF-MIB[ 5.1(1) ]
State Change Reason                     :cieIfStateChangeReason in CISCO-IF-EXTENSION-MIB[ 6.2(2) ]
RX runts                                :cieIfInRuntsErrs in CISCO-IF-EXTENSION-MIB[ 6.2(2) ]
RX giants                               :cieIfInGiantsErrs in CISCO-IF-EXTENSION-MIB[ 6.2(2) ]
RX overrun                              :cieIfInOverrunErrs in CISCO-IF-EXTENSION-MIB[ 6.2(2) ]
RX ignored                              :cieIfInIgnored in CISCO-IF-EXTENSION-MIB[ 6.2(2) ]
CreatePlease to create content
Content for Community-Ad