Hi Team,

In my project we are using Net-SNMP agent. I need some clarifications regarding 
table with MAC address as Index.

While setting/getting a value from table with MAC address as one of its index, 
Does I need to specify the length of MAC address(6) also in OID?

While getting Net-SNMP will put length (6) in the PDU?

In MIB the definition of MAC address is like this

MacAddress ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "1x:"
    STATUS       current
    DESCRIPTION
            "Represents an 802 MAC address represented in the
            `canonical' order defined by IEEE 802.1a, i.e., as if it
            were transmitted least significant bit first, even though
            802.5 (in contrast to other 802.x protocols) requires MAC
            addresses to be transmitted most significant bit first."
    SYNTAX       OCTET STRING (SIZE (6))

Thanks in advance.

Regards,
Vidya Sagar Saripalli
SDU10_NDU

[cid:image001.jpg@01CEFB29.98E72880]<http://www.techmahindra.com/>

Connect with us:
[cid:image002.jpg@01CEFB29.98E72880]<http://www.facebook.com/TechMahindra>[cid:image003.jpg@01CEFB29.98E72880]<http://twitter.com/Tech_Mahindra>[cid:image004.jpg@01CEFB29.98E72880]<http://www.linkedin.com/company/tech-mahindra>[cid:image005.jpg@01CEFB29.98E72880]<http://www.youtube.com/user/techmahindra09>











============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the
 Tech Mahindra policy statement, you may review the policy at <a 
href="http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html</a>
 
externally and <a 
href="http://tim.techmahindra.com/tim/disclaimer.html";>http://tim.techmahindra.com/tim/disclaimer.html</a>
 internally within Tech Mahindra.
============================================================================================================================

<<inline: image001.jpg>>

<<inline: image002.jpg>>

<<inline: image003.jpg>>

<<inline: image004.jpg>>

<<inline: image005.jpg>>

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to