Nexus 7k SNMP ifxtable
Hi Guys,
I have a problem with Nexus7k not displaying any values for L3 packets forwarded/received for subinterfaces when doing ifxtable snmp walk.
Is there something I am missing?
Thanks,
Mike
Similar Messages
-
Cisco LMS 4.2.3 - Nexus VDC - SNMP
Hi All,
I am having some trouble with getting inventory collection work for the VDC's of a Nexus 7k from LMS 4.2.3.
The collection works for the main VDC, just not any of the others.
I have verified (using SNMPWALK) from the LMS server that the snmp credentials in use on the LMS for these VDC's is correct.
We are using SNMP V3.
The error I am getting when trying to run an inventory collection is:
Device Collection Failed. Failed to fetch Containment details.
Does anyone have any experience with getting VDC's to work in LMS and may have seen this error before?
Thanks in advance.Hi ,
You are hitting the below BUG:
LMS 4.2.3 Inventory collection is failing for some of Nexus 7k devices
CSCuh49814
Development team is still working on the fix.
Thanks-
Afroz
[Do rate the useful post] -
Nexus 7000 SNMP Polling of interfaces within VDC's ?
Hi all,
I hope this is a relatively easy question to answer.
I have some Nexus 7010's that I need to monitor via SNMP. Currently, we can poll the switch and get some info back, however we only see physical interfaces that belong to the Admin VDC.
In order to be able to poll interfaces within a non-Admin VDC, do I have to configure SNMP communities (and an IP to respond to the poll) within each VDC ? Or is there a way to poll them from the Admin VDC?
bash-2.05$ snmpwalk -v 2c -c public <ipaddr-in-admin-vdc> .1.3.6.1.2.1.31.1.1.1.1
IF-MIB::ifName.83886080 = STRING: mgmt0
< **** Eth 8/1 - 8/15 assigned to other VDC's ****>
IF-MIB::ifName.439939072 = STRING: Ethernet8/16
IF-MIB::ifName.439943168 = STRING: Ethernet8/17
IF-MIB::ifName.439947264 = STRING: Ethernet8/18
IF-MIB::ifName.439951360 = STRING: Ethernet8/19
IF-MIB::ifName.439955456 = STRING: Ethernet8/20
IF-MIB::ifName.439959552 = STRING: Ethernet8/21
IF-MIB::ifName.439963648 = STRING: Ethernet8/22
IF-MIB::ifName.439967744 = STRING: Ethernet8/23
IF-MIB::ifName.439971840 = STRING: Ethernet8/24
IF-MIB::ifName.439975936 = STRING: Ethernet8/25
IF-MIB::ifName.439980032 = STRING: Ethernet8/26
Thanks,
AnthonyHi Anthony,
Think of each VDC as a separate switch. So you need to configure SNMP per VDC.
HTH -
Nexus 5548UP snmp gathering information from FC is not working
Hi all,
We have a couple of Nexus 5548UP.
Nx-OS = n5000-uk9.7.0.5.N1.1.bin
monitoring traffic of FC interfaces was working fine until we upgraded to 7.0.5.N1.1 from 6.0.2.N2.1.
We didn't change anything on our Nexus config and on our Centreon monitoring engine.
I also can't see Fc interface while browsing MIBs from the Nexus.
Is there any issue or something to do to recover the monitoring of The FC interface of the Nexus ?
Best Regards
CyrilHi,
It might be this bug.
FC interfaces are not listed in IF-MIB snmp walk
CSCup75270
-->Fixed in NX-OS 7.0(6) and above. -
Wrong SNMP values for ciscoEnvMonSupplyStatus
Hello everyone,
we are facing the following issue: the SNMP poll is showing wrong values for ciscoEnvMonSupplyStatus when at the same time the "show env all" shows that there is nothing wrong with the power supplies.
Here is the example:
ciscoEnvMonSupplyStatusDescr.1057 Sw1, PS1 Faulty, RPS NotExist OctetString 192.168.49.28:161
ciscoEnvMonSupplyStatusDescr.1058 Sw1, PS2 Faulty, RPS NotExist OctetString 192.168.49.28:161
ciscoEnvMonSupplyState.1057 notFunctioning (6) Integer 192.168.49.28:161
ciscoEnvMonSupplyState.1058 notFunctioning (6) Integer 192.168.49.28:161
------------------ show env all ------------------
FAN 1 is OK
FAN 2 is OK
FAN PS-1 is OK
FAN PS-2 is OK
SYSTEM TEMPERATURE is OK
System Temperature Value: 31 Degree Celsius
System Temperature State: GREEN
Yellow Threshold : 46 Degree Celsius
Red Threshold : 60 Degree Celsius
SW PID Serial# Status Sys Pwr PoE Pwr Watts
1A C3KX-PWR-350WAC AZS161803GQ OK Good Good 350/0
1B C3KX-PWR-350WAC AZS161803GT OK Good Good 350/0
I have seen that this is a more or less a known issue and there are plenty of bugs for it, but exactly for our hardware and IOS (C3560E Software (C3560E-IPBASEK9-M), Version 15.0(2)SE2, RELEASE SOFTWARE (fc1)) I cannot find any exact information.
Please, advice if we are hitting some known bug which I cannot locate.
Thanks,
Vesselin
SW Status RPS Name RPS Serial# RPS Port#
1 Not Present <>Hi ,
I have issue while generating alerts for the CISO nexus device.
snmp laert tool: Solarwinds error : The OID is not supported,
Can anyone tell me the OID for the CISCO nexus 2k, 5K devices.
I am trying to generate the Temp alert.
THANKS -
Hello,
i am setting up tacacs+ aaa on nexus switch.
Using nexus cli i can record all entered commands (see example 1).
Using Cisco Device Manager with the same switch i cannot get a record of entered commands (see example 2).
Via CDM, nexus is using snmpv3 and MD5 for authentication allowing me to type username/password to authenticate.
How can i setup aaa on nexus to provide same level of reporting when using CDM and CLI?
If anyone can provide some config info would be greatly appreciated.
AAA config lines:
feature tacacs+
aaa authentication login default group AAA
aaa accounting default group AAA
tacacs-server host 5.5.5.5 key <key>
aaa group server tacacs+ AAA
server 5.5.5.5
use-vrf management
Example 1
22/03/2011,14:45:57,MaxPower,Nexus,terminal length 0 (SUCCESS),0,none,0,10.2.2.44@pts/0,1.1.1.1,
22/03/2011,14:45:57,MaxPower,Nexus,terminal session-timeout 60 (SUCCESS),0,none,0,10.2.2.44@pts/0,1.1.1.1,
22/03/2011,14:45:57,MaxPower,Nexus,sync-snmp-password ******** MaxPower 10.2.2.44 (SUCCESS),0,none,0,10.2.2.44@pts/0,1.1.1.1,
22/03/2011,14:46:02,MaxPower,Nexus,terminal length 0 (SUCCESS),0,none,0,10.2.2.44@pts/3,1.1.1.1,
22/03/2011,14:46:02,MaxPower,Nexus,terminal session-timeout 60 (SUCCESS),0,none,0,10.2.2.44@pts/3,1.1.1.1,
22/03/2011,14:46:03,MaxPower,Nexus,sync-snmp-password ******** MaxPower 10.2.2.44 (SUCCESS),0,none,0,10.2.2.44@pts/3,1.1.1.1,
22/03/2011,14:46:11,MaxPower,Nexus,target (name:10.2.2.44/2162/0 address:10.2.2.44:2162 timeout:1500 retry:3 tagList:trap params:10.2.2.44/2162/0) added ,0,none,0,snmp_3277_10.2.2.44,1.1.1.1,
22/03/2011,14:46:16,MaxPower,Nexus,target (name:10.2.2.44/2162/0 address:10.2.2.44:2162 timeout:1500 retry:3 tagList:trap params:10.2.2.44/2162/0) added ,0,none,0,snmp_3279_10.2.2.44,1.1.1.1,
Example 2
22/03/2011,14:46:36,MaxPower,ACSGroup,write <cr>,15,shell,tty2,2,10.10.10.15,
22/03/2011,14:48:26,MaxPower,ACSGroup,configure terminal <cr>,15,shell,tty1,29,10.10.10.34,
22/03/2011,14:49:06,MaxPower,ACSGroup,aaa group server tacacs+ AAA <cr>,15,shell,tty1,31,10.10.10.34,Hi
there are many ways to achieve this, but the *correct* and most scalable is to enable command authorisation on your devices.
In ACS create some groups based on the permissions levels each group should have.
In the groups enable the shell (exec) service.
At this point you can either list the denied commands for certains groups right in the group edit page itself.
Alternatively, you can created Device Command Sets in the share profiles UI. These are more flexible because inside a single group you cap map to different DCSs based on the device being managed (either by device ip or by network device group)
Its all there in the ACS docs!
Good luck. -
How to reboot Nexi using SNMP (tsMsgSend not supported)
How does one reboot Nexus using SNMP?'
Normally, I reboot IOS gear using:
snmpset -c {private} {switch|router|whatever} tsMsgSend.0 i 2
tsMsgSend OBJECT-TYPE
SYNTAX INTEGER {
nothing(1),
reload(2),
messagedone(3),
abort(4)
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Sends the message. The value determines what
to do after the message has completed."
::= { lts 9 }
But our new Nexi (5000 and 7500) don't support tsMsgSend in various ways:
N5K
Reason: notWritable (That object does not support modification)
Failed object: OLD-CISCO-TS-MIB::tsMsgSend.0
N7K
Reason: wrongValue (The set value is illegal or unsupported in some way)
Failed object: OLD-CISCO-TS-MIB::tsMsgSend.0
Yes, I have the following in the Nexi config files:
snmp-server system-shutdown
How does one reboot a Nexus using SNMP?
--sk
Stuart Kendrick
FHCRCHi,
The only way that a device can be reloaded using SNMP is with the SNMP object tsMsgSend
(1.3.6.1.4.1.9.2.9.9).
As per the official Nexus MIB support list, the OID is not supported in NX-OS
Thanks-
Afroz
[Do rate the useful posts] -
Using SNMP to monitor Nexus 7000 Series Supervisor Module
Hello,
I got a Nexus 7000 supervisor module recently, I met a SNMP problem for this module
I would like to know which specific OIDs to use to monitor the following using SNMP on a Nexus 7000 supervisor module:
- Port status
- CPU total utilization
- Power Supply status
- Chassis Fan status
etc.
The Nexus is quite different from other Cisco devices - any help will be appreciated!hope help, and
port status OID is ifOperStatus
CPU total utilization OID is 1.3.6.1.4.1.9.9.109.1.1.1.1.6.1
[root@NET-MONITOR-1 ~]#
[root@NET-MONITOR-1 ~]# snmpwalk -On -v 2c -c 360buy 172.17.0.253 ifDescr.83886080
.1.3.6.1.2.1.2.2.1.2.83886080 = STRING: mgmt0
[root@NET-MONITOR-1 ~]#
[root@NET-MONITOR-1 ~]# snmpwalk -On -v 2c -c 360buy 172.17.0.253 ifOperStatus.83886080
.1.3.6.1.2.1.2.2.1.8.83886080 = INTEGER: up(1)
[root@NET-MONITOR-1 ~]#
[root@NET-MONITOR-1 ~]# snmpwalk -On -v 2c -c 360buy 172.17.0.253 1.3.6.1.4.1.9.9.109.1.1.1.1.6.1
.1.3.6.1.4.1.9.9.109.1.1.1.1.6.1 = Gauge32: 21
[root@NET-MONITOR-1 ~]# -
How to retrieve Nexus 7010 et 5596 configuration via Snmp ?
Hello all,
I want to know how to retrieve the complete configuration for a Nexus via the snmpwalk or snmpget commands...
What mib's is needed ?
Thanks for the feedbackHi more information, i execute the scrip below :
#!/bin/sh
# Script to demonstrate the SNMP commands necessary to backup the Cisco Nexus Switches
COMMUNITY="RW community"
HOST="Ip @"
TFTPSERVER="srv @"
FILENAME="nex7000.cfg"
RND="10"
snmpset -v 2c -c$COMMUNITY $HOST ccCopyProtocol.$RND i 1 ccCopySourceFileType.$RND i 4 ccCopyDestFileType.$RND i 1 ccCopyServerAddress.$RND a $TFTPSERVER ccCopyFileName.$RND s $FILENAME ccCopyEntryRowStatus.$RND i 4
sleep 5
snmpget -v 2c -c$COMMUNITY $HOST ccCopyState.$RND
sleep 5
snmpget -v 2c -c$COMMUNITY $HOST ccCopyState.$RND
sleep 5
snmpget -v 2c -c$COMMUNITY $HOST ccCopyState.$RND
sleep 5
snmpget -v 2c -c$COMMUNITY $HOST ccCopyState.$RND
snmpset -v 2c -c$COMMUNITY $HOST ccCopyEntryRowStatus.$RND i 6
When i launch it i have this message on the server :
./testnexus.sh
ccCopyProtocol.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyProtocol)
ccCopySourceFileType.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopySourceFileType)
ccCopyDestFileType.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyDestFileType)
ccCopyServerAddress.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyServerAddress)
ccCopyFileName.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyFileName)
ccCopyEntryRowStatus.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyEntryRowStatus)
ccCopyState.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyState)
ccCopyState.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyState)
ccCopyState.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyState)
ccCopyState.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyState)
ccCopyEntryRowStatus.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyEntryRowStatus)
When i launch a debug snmp all, i have no error, i just see that the packet that comes it's accepted by the ACL
Thanks for your feedback -
Nexus 5548 not responding to snmp
I've got a Nexus 5548 running 6.0(2)N2(3). It does not use the mgmt interface or management vrf. It's using a vlan interface for all my management access.
I have a simple snmp config set up:
snmp-server community mystring
My SNMP server is directly connected (no firewalls, no acls). I can ping my nexus from the SNMP host, but can't get SNMP replies.
I've done an SNMP debug, nothing happens when I run an snmpwalk. I also checked show snmp, and it's showing no SNMP input packets.
Could this have something to do with trying to use the management vrf? Or something simple I'm missing?
ThanksHa wow -- "sh run snmp" pointed me to the problem. There was a command:
no snmp-server protocol enable
That must be a default, I never entered that. Anyway a 'snmp-server protocol enable' fixed it. I should have caught that. Although an hour with TAC also didn't notice it hehe.
Thanks! -
Nexus 3064 switch: Can't get MAC addresses through SNMP
Hello Everyone!
I'm seeing an issue in our Nexus 3064 switch where we can't get the MAC address table using SNMP. At the same time, I can see MAC addresses of all the ports from the switch command line (show mac address-table). I've verified that SNMP is enabled and I can fetch other switch information (such as VLANs) using SNMP.
I did an SNMP walk to get the mac (
snmpwalk -v2c -c <communityString>@<VlanID> <ManagementIP> 1.3.6.1.2.1.17.4.3.1), and it didnt return anything.
Could any of you please let me know what can be potentially wrong here? Really appreciate your help.
Thanks for your time!Greetings Vipins,
This could be caused by CSCto56055 "not getting any value for dot1dtpFdbTable objects", resolved in 5.0(3)U1(2) and later releases.
Kind Regards,
/Phil -
NEXUS 5000: read CPU Load with SNMP
Hallo,
tried to read the NEXUS 5000 cpu load:
cseSysCPUUtilization 1.3.6.1.4.1.9.9.305.1.1.1
but there is a timeout:
Timeout: No Response from 10.100.224.16
Other MIB values readout, like the system value, is ok.
We use snmpv3.
Thanks
ylvieHi Ylvie,
There are a few sources for CPU utilisation values from SNMP, the classic
ones from CISCO-PROCESS-MIB:
cpmCPUTotal5secRev 1.3.6.1.4.1.9.9.109.1.1.1.1.6
cpmCPUTotal1minRev 1.3.6.1.4.1.9.9.109.1.1.1.1.7
cpmCPUTotal5minRev 1.3.6.1.4.1.9.9.109.1.1.1.1.8
And a new source in CISCO-SYSTEM-EXT-MIB, cseSysCPUUtilization
(1.3.6.1.4.1.9.9.305.1.1.1). Unlike the averaged values from CISCO-PROCESS-MIB,
cseSysCPUUtilization returns an un-smoothed value and typically shows more erratic
results.so I would recommended the objects from CISCO-PROCESS-MIB
ie. cpmCPUTotal5secRev instead.
Thanks
Afroj -
Using SNMP is it possible to find the vPC peer link of a Nexus 5K?
I'm trying to use SNMP to get the Peer Link pair...
hi,
You can include 0calyear characteristic before the structure in the column and set it to no display and show result row.
regards,
Arvind. -
I (my customer) does not get SNMP Traps from the N5k when he unplugs one power supply (only logs). He gets only traps when he turns both power supplies off. If I check show snmp trap all trap entity are enabled (rmon Trap are off). NX-OS is 4.2(1)N2(1).
How he will get traps if one power supplies is off or fails?Hi
Thanks for your support.
First I like to mention that the issue is when an Nexus2k behind the 5k (FEX) looses the power on one power-supply.
The trap I get if both power supplies are disconected is:
"Power Status Change Event.
The power operational status of a FRAU at entPhysicalTable index has changed to offEnvPower.
Power Admin Status: . "
4 seconds later I get than also the FRU Removal Event.
like mentioned eralier we also would like to get snmp traps when only one power supply goes down, but can't not figure out the config for that.
K.R.
Markus -
Nexus 5000 N5K lots of snmp get errors
Hi all,
We have deployed an N5000 which is polled by a management station.
Since then the log gets flooded with messages like this:
2010 May 12 08:19:52.006 xxxx snmpd: SNMP Operation (GET) failed. Reason:2 reqId (66076779) errno (42) error index (1)
2010 May 12 08:19:52.007 xxxx snmpd: 66076779.000000:iso.3.6.1.4.1.11.2.17.4.1.1.1.0 = NULL SNMPPKTEND
2010 May 12 08:19:52.007 xxxx snmpd: SNMPERRPKTSTRT: 0.000000 160 66076779.000000 0.000000 0.000000 0.000000 0 0 1 1 0
5---xxxxx 9 0 0 0.000000 0.000000 0.0.0.0 0 0 0 0 0 0 0 16
I guess this is becuase the management station polls a non-existing mib variable. However, i don't want this to be logged to the log file.
How to prevent this ?
Logging levels are at:
logging level snmpd 1
System version: version 4.1(3)N2(1a)
regards,
GeertHI all,
I got the same error messages so I come through this thread, but we're running actuall v 5.1.3 which much newer than 4.2.
BIOS: version 3.5.0
loader: version N/A
kickstart: version 5.1(3)N2(1b)
system: version 5.1(3)N2(1b)
2013 Apr 8 04:57:00 netbdc-serv21-sw %SNMPD-3-ERROR: SNMP log error : SNMP Operation (GET) failed. Reason:2 reqId (136752093) errno (42) error index (1)
2013 Apr 8 04:57:00 netbdc-serv21-sw %SNMPD-3-ERROR: SNMP log error : 136752093.000000:iso.2.840.10006.300.43.1.3.0 = NULL SNMPPKTEND
2013 Apr 8 04:57:00 netbdc-serv21-sw %SNMPD-3-ERROR: SNMP log error : SNMPERRPKTSTRT: 0.000000 160 136752093.000000 0.000000 0.000000 0.000000 0 0 1 1 0 ***** 14 0 0 0 ***
** 0 0 0 0 21
anyone know how to fix this.
thanks in advance.
Michael
Maybe you are looking for
-
Black flashes appear every 2 seconds after exporting from final cut pro
http://www.youtube.com/watch?v=b8jJNnk4s3g here is my video as an example of what is happening. It only shows up after exporting and on the original AVI footage, and not my outro footage which was a .mov. Please can somebody help me figure out what i
-
Where did photostream and Cameraroll go in iOS 8?
Please add camera roll and photo stream back I will not update the rest of my devices while those are missing. I Cant even tell which photos are on the device and which are on the cloud. Nor can I remove it from one spot and leave it on the other. T
-
Does call to ptsname() cause memory leak?
Purify signalled that the call to ptsname() is a memory leak. ptsname() returns a char* and apparently is doing this on the heap even though the man page says it is a static data area. My question is whether we need to do a free() on the return from
-
What is plugin variablespalette used for?
I suddenly have a message at startup "Error Loading Plugins Variablespalette.aip". I click continue and Illustrator opens up fine and I can do all my work. I have another PC running same OS and CS which does not get this error. So I copied the f
-
Lightroom error, changing modules, on new iMac
Help. I cannot get LR5 to open on my new iMac. Using OSX 10.9.1, LR 5.3. I consistently get the 'error on changing modules' message, and no catalog will open. I cannot create a new catalog, or open an old one. I've deleted and re-installed LR, CC, al