Welcome, Guest. Please login or register.

Author Topic: pb decoding MAC wih HPVC HP VC FlexFabric 10Gb/24-Port  (Read 1427 times)

richard.lajaunie

  • Newbie
  • *
  • Posts: 26
    • View Profile
pb decoding MAC wih HPVC HP VC FlexFabric 10Gb/24-Port
« on: February 07, 2014, 07:07:16 PM »
hi,
when discovering our HPVC HP VC FlexFabric 10Gb/24-Port all of the mac addresses begin with '06' like this:
Code: [Select]
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)

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: [Select]
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/){


I don't know if other people using HPVC HP VC FlexFabric 10Gb/24-Port have the same problems.

Tx
richard

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2633
    • View Profile
    • NeDi
Re: pb decoding MAC wih HPVC HP VC FlexFabric 10Gb/24-Port
« Reply #1 on: February 07, 2014, 07:24:37 PM »
I'll look at this next week (while I still have access to my HP lab...), tx!
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

SchmuFoo

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Re: pb decoding MAC wih HPVC HP VC FlexFabric 10Gb/24-Port
« Reply #2 on: October 25, 2018, 03:39:31 PM »
Hello Richard,

[..]
I don't know if other people using HPVC HP VC FlexFabric 10Gb/24-Port have the same problems.

Tx
richard

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