[F10-nsp] port numbler/mac address

Ron Lewkiewicz ron.nsp at force10networks.com
Thu Feb 9 20:02:27 EST 2006


Keio-san,

I'm not entirely clear that I'm understanding your question, but in
general use:

- dot1qTpFdbPort : to see MAC addresses learned on non-default VLAN.
- dot1dTpFdbPort : to see MAC addresses learned on default VLAN
- dot1dBasePortIfIndex : to map dot1 indexes to ifIndex
- f10LinkAggMib : to see MAC addresses learned on LAG interfaces

Hope this helps.

-Ron


o k wrote:
> Hi,
>
> I'm trying to get the port number on which a MAC address has been learned, 
> by using SNMP.
> But when I snmpwalk, E300 responds like this:
>
>   $ snmpwalk -v 2c -c public 192.168.1.1 1.3.6.1.2.1.17.4.3.1.1
>   BRIDGE-MIB::dot1dTpFdbAddress = No Such Instance currently exists at this 
> OID
>
>   $ snmpwalk -v 2c -c public 192.168.1.1 1.3.6.1.2.1.17.4.3.1.2
>   BRIDGE-MIB::dot1dTpFdbPort = No Such Instance currently exists at this 
> OID
>
>   $ snmpwalk -v 2c -c public 192.168.1.1 1.3.6.1.2.1.17.7.1.2.2.1.1
>   Q-BRIDGE-MIB::dot1qTpFdbAddress = No Such Object available on this agent 
> at this OID
>
>   $ snmpwalk -v 2c -c public 192.168.1.1 1.3.6.1.2.1.17.7.1.2.2.1.2
>   Q-BRIDGE-MIB::dot1qTpFdbPort.20.'...-..' = INTEGER: 1
>   Q-BRIDGE-MIB::dot1qTpFdbPort.20.'....y.' = INTEGER: 1
>   Q-BRIDGE-MIB::dot1qTpFdbPort.20.'......' = INTEGER: 18
>   Q-BRIDGE-MIB::dot1qTpFdbPort.20.'.....V' = INTEGER: 209
>   :
>   (snip) 
>   :
>   
>   $ snmpwalk -v 2c -c public 192.168.1.1 1.3.6.1.2.1.2.2.1.1
>   IF-MIB::ifIndex.33865785 = INTEGER: 33865785
>   :
>   (snip)
>   :
>
> There are some vlans (ID 20,21,,,). And no port is associated with the 
> default vlan.
> The only OID that shows me MAC addresses connected to E300 is 
> "ipNetToMediaPhysAddress". 
> But it doesn't give the information about ports. I can know only about the 
> VLAN-IP-MAC relationships from the OID.
>
> Any ideas?
>
> Regards
> keio
>
> _________________________________________________________________
> 迷惑メールやウイルスへの対策も万全「MSN Hotmail」 
> http://promotion.msn.co.jp/hotmail/ 
>
> _______________________________________________
> force10-nsp mailing list
> force10-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/force10-nsp
>   


More information about the force10-nsp mailing list