NeDi Software Specific > Discovery
pb decoding MAC wih HPVC HP VC FlexFabric 10Gb/24-Port
(1/1)
richard.lajaunie:
hi,
when discovering our HPVC HP VC FlexFabric 10Gb/24-Port all of the mac addresses begin with '06' like this:
--- Code: ---BridgeFwd (SNMP) --------------------------------------------------------------
SNMP:Connect 10.10.10.10 community v2 Tout:10s MaxMS:1472
FWDS:Walking BridgeFwd (ariane)
FWDS:Walking FWD Port to IF index
FWDS:06f4ce46b9e9 no IFindex (538)
FWDS:0600195690eb no IFindex (539)
FWDS:060017a47700 no IFindex (539)
--- End code ---
I've found that to the request oid=1.3.6.1.2.1.17.4.3.1.2
the response contain 17 fields
.1.3.6.1.2.1.17.4.3.1.2.6.0.80.86.134.25.250 = Hex-STRING: 00 50 56 86 19 FA .
so in the inc/libsnmp.pm, i find a workarround like this:
--- Code: ---foreach my $fpo ( keys %fwdpo ){
my @dmac = split(/\./,$fpo);
if(defined $dmac[$m6]){ # Ignore incomplete MACs!
# Modif by Richard #
if(defined $dmac[17]){
$m1=12;
$m2=13;
$m3=14;
$m4=15;
$m5=16;
$m6=17;
}
# End Modif by Richard #
my $mc = sprintf "%02x%02x%02x%02x%02x%02x",$dmac[$m1],$dmac[$m2],$dmac[$m3],$dmac[$m4],$dmac[$m5],$dmac[$m6];
if($mc !~ /$misc::ignoredmacs/){
--- End code ---
I don't know if other people using HPVC HP VC FlexFabric 10Gb/24-Port have the same problems.
Tx
richard
rickli:
I'll look at this next week (while I still have access to my HP lab...), tx!
SchmuFoo:
Hello Richard,
--- Quote from: richard.lajaunie on February 07, 2014, 07:07:16 pm ---[..]
I don't know if other people using HPVC HP VC FlexFabric 10Gb/24-Port have the same problems.
Tx
richard
--- End quote ---
Semi-Offtopic: Do you have a proper VLAN Name and VLAN Index Mapping in your setup? I get the VLAN Names with OID 1.3.6.1.4.1.11.5.7.5.2.1.1.6.1.1.2 but I didn't find the OID to the proper VLAN ID.
Cheers,
Jan
Navigation
[0] Message Index
Go to full version