Welcome, Guest. Please login or register.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - richard.lajaunie

Pages: [1]
1
Discovery / 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

Pages: [1]