Re: about mac addresss problem

This is a discussion on Re: about mac addresss problem within the SNMP Coders forums, part of the Networking and Network Related category; On tor, 2007-03-29 at 13:23 +0800, Clement Hsu wrote: > Dear All: > > I am Clement. ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-29-2007
Magnus Fromreide
 
Posts: n/a
Default Re: about mac addresss problem

On tor, 2007-03-29 at 13:23 +0800, Clement Hsu wrote:
> Dear All:
>
> I am Clement. I meet a problem about macaddress. The following is the
> mib which I want to write:
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------
> [MIB]

....
> dot11Address OBJECT-TYPE
> SYNTAX MacAddress
> MAX-ACCESS read-create
> STATUS current
> DESCRIPTION
> "MAC address identifying a multicast addresses
> from which this STA will receive frames."
> ::= { dot11GroupAddressesEntry 2 }


> The problem is when I perform mib2c and create the corresponding mib
> template( I use mib2c.iterate_access)
> After coding, when I perform ./get, I got the following result:
>
> Walk dot11GroupAddressesTable
> IEEE802dot11-MIB:: dot11Address.1.0 = STRING: 11:22:33:44:55:66:1
> IEEE802dot11-MIB::dot11Address.2.0 = STRING: 11:22:33:44:55:66:1
> IEEE802dot11-MIB::dot11Address.3.0 = STRING: 11:22:33:44:55:66:1
> IEEE802dot11-MIB::dot11Address.4.0 = STRING: 11:22:33:44:55:66:1
> IEEE802dot11-MIB::dot11GroupAddressesStatus.1.0 = INTEGER: active(1)
> IEEE802dot11-MIB::dot11GroupAddressesStatus.2.0 = INTEGER: active(1)
> IEEE802dot11-MIB::dot11GroupAddressesStatus.3.0 = INTEGER: active(1)
> IEEE802dot11-MIB:: dot11GroupAddressesStatus.4.0 = INTEGER: active(1)
>
> the error is that the EEE802dot11-MIB::dot11Address.1.0 should show
> Hex-STRING: 11 22 33 44 55 66
> not
> STRING: 11:22:33:44:55:66:1


This is expected since your MIB states that you should use MacAddress as
syntax for dot11Address and MacAddress has a DISPLAY-HINT of "1x:"

The big question is why there are seven entries in your address.

/MF


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0