Regarding setting/getting table with MAC address as Index

Vidya Sagar Saripalli <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <6B8C251C14212B4EB9EB910AE62587FC5C355BCD71@SINCHNMBX001.TechMahindra.com>
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
Telephone: 3251
Mobile: +91 9742210822

[cid:[email protected]]<http://www.techmahindra.com/>

Connect with us:
[cid:[email protected]]<http://www.facebook.com/TechMahindra>[cid:[email protected]]<http://twitter.com/Tech_Mahindra>[cid:[email protected]]<http://www.linkedin.com/company/tech-mahindra>[cid:[email protected]]<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.
============================================================================================================================

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
image001.jpg (image/jpeg, 9.9 KB) - not displayed
image002.jpg (image/jpeg, 1.5 KB) - not displayed
image003.jpg (image/jpeg, 1.6 KB) - not displayed
image004.jpg (image/jpeg, 1.8 KB) - not displayed
image005.jpg (image/jpeg, 1.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.