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/
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/