[F10-nsp] port numbler/mac address

o k fungk124_2hot at hotmail.co.jp
Thu Feb 9 05:18:16 EST 2006


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/ 



More information about the force10-nsp mailing list