Regarding setting/getting table with MAC address as Index
Vidya Sagar Saripalli <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <6B8C251C14212B4EB9EB910AE62587FC5C355BC874@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
[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.
============================================================================================================================
------------------------------------------------------------------------------
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
[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