9 Replies Latest reply on Sep 3, 2008 11:26 AM by rangertdc

    Question to Switch Port Mapper developpers

      Hello,


      When I use Switch Port Mapper for a Cisco Catalyst 3560, I can get MAC addresses of connected devices.


      I don't found these MAC address when I make a SNMPWALK. Which MIB are you using for that ? I have try with BRIDGE-MIB.txt but it isn't that apparently.


      Thanks in advance,

        • Re: Question to Switch Port Mapper developpers

           Geoloem - You need to vary the community string for each VLAN to get the MACs for each VLAN out of the Bridge-MIB.  So, for VLAN 400, you would need to use the community string <mycommunitystring>@400.

          When you use just the bare community string, you get the Bridge-MIB for the default VLAN only.

          HTH,

          Greg

            • Re: Question to Switch Port Mapper developpers

              :-) It's working.


              Just one last question. I see strange caracters in return between dot1dTpFdbAddress and = Hex-STRING. Is-it normal ?


              BRIDGE-MIB::dot1dTpFdbAddress.'..)9     ä' = Hex-STRING: 00 0C 29 39 09 84
              BRIDGE-MIB::dot1dTpFdbAddress.'..)H%Z' = Hex-STRING: 00 0C 29 48 25 5A
              BRIDGE-MIB::dot1dTpFdbAddress.'..].UÕ' = Hex-STRING: 00 0D 5D 00 55 E5
              BRIDGE-MIB::dot1dTpFdbAddress.'...ܽ:' = Hex-STRING: 00 11 0A 9A AB 3A
              BRIDGE-MIB::dot1dTpFdbAddress.'...ø2K' = Hex-STRING: 00 11 0A 9B 32 4B
              BRIDGE-MIB::dot1dTpFdbAddress.'...÷└±' = Hex-STRING: 00 11 0A F6 C0 F1
              BRIDGE-MIB::dot1dTpFdbAddress.'../..<' = Hex-STRING: 00 11 2F 00 16 3C
              BRIDGE-MIB::dot1dTpFdbAddress.'..Ï█Ýl' = Hex-STRING: 00 11 D8 DB ED 6C
              BRIDGE-MIB::dot1dTpFdbAddress.'..yð#Ü' = Hex-STRING: 00 12 79 D0 23 9A
              BRIDGE-MIB::dot1dTpFdbAddress.'..yÐ.:' = Hex-STRING: 00 12 79 D1 15 3A
              BRIDGE-MIB::dot1dTpFdbAddress.'..yÐ.;' = Hex-STRING: 00 12 79 D1 15 3B
              BRIDGE-MIB::dot1dTpFdbAddress.'..Kªè╠' = Hex-STRING: 00 1A 4B A6 8A CC
              BRIDGE-MIB::dot1dTpFdbAddress.'..Kª▄ª' = Hex-STRING: 00 1A 4B A6 DC A6
              BRIDGE-MIB::dot1dTpFdbAddress.'..*ÛCB' = Hex-STRING: 00 1B 2A EA 43 42


              Thanks !

              • Re: Question to Switch Port Mapper developpers

                Greg, I have a question.


                 In this post, you state that you need to vary the community string for each VLAN to get the MACs out of the Bridge-MIB, because when using the bare string, you get the Bridge-MIB for the default VLAN only.


                 Then, in a post in this thread:  Problems with Switch Port Mapper and SNMP v3?


                You state that SPM automatically adds the @<VLANID> to the community string for each VLAN when it queries the switch.


                 I'm confused.


                 My company purchased multiple copies of the Engineer's Toolset for our network staff, with the SPM as one of the key factors of that purchase, and we're having to run multiple queries against each switch for each VLAN, which makes the SPM tool and it's data export feature quite burdensome.


                How do we get SPM to automatically add the @<VLANID> for each VLAN?