[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    Re: How to get Mac address on specific port of bridge
From:       Dave Shield <D.T.Shield () csc ! liv ! ac ! uk>
Date:       2002-01-30 9:16:36
[Download RAW message or body]

>     Can I get all the Mac address in port 1 or port 2 ?

That table is indexed by Mac address, so there's no way to retrieve
*just* the entries related to a particular port.   But you could walk
.1.3.6.1.2.1.17.4.3.1.2 (BRIDGE-MIB::dot1dTpFdbPort), and look for
entries with the value '1' or '2'.
  The corresponding Mac address will then be the index value from
the OID.

Dave


_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic