Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: finding MAC/Port on Bridge/Switch

by zengargoyle (Deacon)
on Nov 27, 2003 at 01:19 UTC ( [id://310441]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ snmpwalk $ARGS $HOSTNAME system
    ...
    ...
    system.sysORTable.sysOREntry.sysORDescr.29 = Enterasys RADIUS Accounti
    +ng Client Config MIB
    system.sysORTable.sysOREntry.sysORDescr.30 = Enterasys TLS MIB
    ...
    
  2. or download this
    -- dot1qTp MIB group ( 1.3.6.1.2.1.17.7.1.2 )
    -- iso(1). org(3). dod(6). internet(1). mgmt(2). mib-2(1). dot1dBridge
    +(17). qBridgeMIB(7). qBridgeMIBObjects(1). dot1qTp(2)
    ...
         REFERENCE          
         "IEEE 802.1Q/D11 Section 12.7.7"
    ::= { dot1qTp 2}
    
  3. or download this
    $ snmpwalk -M+$HOME/mibs/PublicDomain -m+Q-BRIDGE-MIB -OSX $ARGS $HOST
    +NAME .1.3.6.1.2.1.17.7.1.2
    Q-BRIDGE-MIB::dot1qTpFdbPort[1][0:0:1d:d4:4c:2f] = 1
    ...
    Q-BRIDGE-MIB::dot1qTpFdbStatus[2053][0:1:f4:13:cc:87] = self(4)
    Q-BRIDGE-MIB::dot1qTpFdbStatus[2054][0:1:f4:13:cc:87] = self(4)
    Q-BRIDGE-MIB::dot1qTpFdbStatus[2055][0:1:f4:13:cc:87] = self(4)
    
  4. or download this
    0 - 00000000 - unknown
    1 - 00000001 - first port
    ...
    3 - 00000011 - first and second port
    ...
    # for my AP port 1 is the wired side, port 2 & 3 are the wireless card
    +s so i look for port & 00000110 to see if a MAC is using that AP.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://310441]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-23 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found