From: Eduardo C. <e.cardona@CableLabs.com> - 2001-08-29 14:29:45
|
Jassi. ifIndex = 0 is an invalid number for ifIndex (that's why) -> use something > 0 ;-) Eduardo ifIndex OBJECT-TYPE -- FROM IF-MIB, RFC1213-MIB -- TEXTUAL CONVENTION InterfaceIndex SYNTAX Integer32 (1..2147483647) DISPLAY-HINT "d" MAX-ACCESS read-only STATUS current DESCRIPTION "A unique value, greater than zero, for each interface. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub-layer must remain constant at least from one re-initialization of the entity's network management system to the next re-initialization." ::= { iso(1) org(3) dod(6) internet(1) mgmt(2) mib-2(1) interfaces(2) ifTable(2) ifEntry(1) 1 } -----Original Message----- From: Jassi [mailto:snm...@ho...] Sent: Tuesday, August 28, 2001 11:45 PM To: net...@li... Subject: if-mib implementation Hello, I am implementing if-mib for my Router. My ifTable contains ifIndex=0 as a valid index. Rfc2233 says that for all those interfaces who don't have a higherLayer, ifHigherLayer is assigned 0. Since i have ifIndex=0 as a valid index, i am not able to decide about this. Please help me in this regard. Thanks, Jassi. |