Re: Error in RFC 1213 for Deprecated atTable ??

Keith McCloghrie <kzm@hls.com> Tue, 12 November 1991 18:25 UTC

Received: from nisc.psi.net by NRI.NRI.Reston.VA.US id aa15881; 12 Nov 91 13:25 EST
Received: by nisc.psi.net (5.61/2.1-PSINet Operations ) id AA12266; Tue, 12 Nov 91 13:09:10 -0500
Received: from LANSLIDE.HLS.COM by nisc.psi.net (5.61/2.1-PSINet Operations ) id AA12256; Tue, 12 Nov 91 13:09:03 -0500
Received: from nms.netman (nms.hls.com) by lanslide.hls.com (4.1/SMI-4.0) id AA25714; Tue, 12 Nov 91 10:11:51 PST
Received: by nms.netman (4.1/SMI-4.1) id AA20543; Tue, 12 Nov 91 10:08:12 PST
From: Keith McCloghrie <kzm@hls.com>
Message-Id: <9111121808.AA20543@nms.netman>
Subject: Re: Error in RFC 1213 for Deprecated atTable ??
To: romkey@asylum.sf.ca.us
Date: Tue, 12 Nov 1991 10:08:10 -0700
Cc: snmp-wg@nisc.psi.net, snmp@nisc.psi.net
In-Reply-To: <9111121651.AA10632@asylum.asylum.sf.ca.us>; from "John Romkey" at Nov 12, 91 11:51 am
Organization: Hughes LAN Systems
X-Mailer: ELM [version 2.2 PL0]

John,

> Okay, bear with me here.
> 
> RFC 1067 says that the instance identifier for an atTable entry is
> atIndex.1.atNetAddress (where atNetAddress is the four component IP
> address).

Right, RFC1067 knows nothing about INDEX clauses.  What 1067 says is 
that the instance sub-identifiers for atTable
are:
       i.1.a.b.c.d

where i is the value of atIndex and a.b.c.d is the value of atNetAddress
 
> To properly represent this, you'd need to be able to say
> 	INDEX	     { atIndex,
> 		       1,
> 		       atNetAddress }

No.  RFC 1212 specifies that when an INDEX clause includes a variable 
with SYNTAX of NetworkAddress, then that variable is represented in 
the instance sub-identifier by n+1 sub-identifiers where, for 
IpAddress, n is 4 and the first sub-identifier is 1.  So, the
instance sub-identifiers for INDEX { atNetAddress } would be 

       1.a.b.c.d
 
Thus, the instance sub-identifiers for INDEX { atIfIndex, atNetAddress }, 
as used for atTable in RFC 1213, 
are:

       i.1.a.b.c.d
 
Voila.

Keith.