View Issue Details

IDProjectCategoryView StatusLast Update
1433RackTablesSNMPpublic2015-11-25 01:46
Reportergalcorlo Assigned Toadoom42  
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product Version0.20.10 
Summary1433: Add new hardware device Cisco switch Nexus5596
DescriptionAdd via snmp all switch interfaces.

snmpwalk -v 1 -c public switchname sysDescr.0 > sysDescr.0
snmpwalk -On -v 1 -c public switchname sysObjectID.0 > sysObjectID.0
snmpwalk -v 1 -c public switchname ifTable > ifTable
snmpwalk -v 1 -c public switchname .1.3.6.1.2.1.47 > module
TagsNo tags attached.
Attached Files
nexus5596-snmp.tar.gz (79,538 bytes)

Activities

bpothier

bpothier

2015-11-25 01:46

reporter   ~0003021

The nexus 5000 supports "Unified Ports" which can be changed to act as ethernet(ethX/YY) or Fibre Channel (fcX/YY).
Entries in the ifTable will identify the physical port's current mode:
e.g. for FC:
IF-MIB::ifIndex.16777216 = INTEGER: 16777216
IF-MIB::ifDescr.16777216 = STRING: fc1/1
IF-MIB::ifType.16777216 = INTEGER: fibreChannel(56)
IF-MIB::ifMtu.16777216 = INTEGER: 2112
IF-MIB::ifSpeed.16777216 = Gauge32: 3705032704
IF-MIB::ifPhysAddress.16777216 = STRING: 20:1:23:45:67:89:a:bc

e.g. for Eth:
IF-MIB::ifIndex.437264384 = INTEGER: 437264384
IF-MIB::ifDescr.437264384 = STRING: Ethernet3/3
IF-MIB::ifType.437264384 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.437264384 = INTEGER: 1500
IF-MIB::ifSpeed.437264384 = Gauge32: 4294967295
IF-MIB::ifPhysAddress.437264384 = STRING: 0:2a:6:7:8:9a

e.g. for ethernet port channel:
IF-MIB::ifIndex.369098799 = INTEGER: 369098799
IF-MIB::ifDescr.369098799 = STRING: port-channel48
IF-MIB::ifType.369098799 = INTEGER: propVirtual(53)
IF-MIB::ifMtu.369098799 = INTEGER: 1500
IF-MIB::ifSpeed.369098799 = Gauge32: 4294967295
IF-MIB::ifPhysAddress.369098799 = STRING: 0:2a:6:78:9:ab

e.g. for FC(SAN) port channel:
IF-MIB::ifIndex.67108874 = INTEGER: 67108874
IF-MIB::ifDescr.67108874 = STRING: san-port-channel 11
IF-MIB::ifType.67108874 = INTEGER: fibreChannel(56)
IF-MIB::ifMtu.67108874 = INTEGER: 2112
IF-MIB::ifSpeed.67108874 = Gauge32: 4294967295
IF-MIB::ifPhysAddress.67108874 = STRING: 24:b:0:12:3:45:6:0

Notice:
ifPhysAddress varies from 8-byte for WWN/FC and 6-byte for MAC/Eth - already accounted for in layer-2 parsing code
ifType varies from INTEGER: ethernetCsmacd(6) to INTEGER: fibreChannel(56) (also some others like INTEGER: propVirtual(53) for eth port channels, INTEGER: propVirtual(53) for VLAN virtual IPs

Issue History

Date Modified Username Field Change
2015-02-24 17:10 galcorlo New Issue
2015-02-24 17:10 galcorlo Status new => assigned
2015-02-24 17:10 galcorlo Assigned To => adoom42
2015-02-24 17:10 galcorlo File Added: nexus5596-snmp.tar.gz
2015-11-25 01:46 bpothier Note Added: 0003021