-- extracted from draft-ops-endpoint-mib-00.txt -- at Mon Nov 15 17:11:15 1999 INET-ENDPOINT-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY FROM SNMPv2-SMI TEXTUAL-CONVENTION FROM SNMPv2-TC; inetEndpointMIB MODULE-IDENTITY LAST-UPDATED "9907300000Z" ORGANIZATION "IETF OPS Area" CONTACT-INFO "Send comments to mibs@ops.ietf.org" DESCRIPTION "A MIB module for Internet address definitions." ::= { TBD } -- -- -- New TCs for representing generic Internet endpoints. -- These are roughly equivalent to TDomain and TAddress... -- -- -- -- Internet endpoints types -- InetEndpointType ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A value that represents a type of Internet endpoint. Note that it is possible to sub-type objects defined with this syntax by removing one or more enumerated values. The DESCRIPTION clause of such objects (or their corresponding InetEndpoint object) must document specific usage." SYNTAX INTEGER { other(0), ipv4(1), ipv6(2), dns(3) } InetEndpoint ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Denotes an generic Internet endpoint. A InetEndpoint value is always interpreted within the context of a InetEndpointType value. Thus, each definition of a InetEndpointType value must be accompanied by a definition of a textual convention for use with that InetEndpointType. When this Textual Convention is used as the syntax of an index object, there may be issues with the limit of 128 sub-identifiers specified in [SMIv2]. In this case, it is recommended that the OBJECT-TYPE declaration include a "SIZE" clause to limit the number of potential instance sub-identifiers. REFERENCE "See the TAddress TC in std58." SYNTAX OCTET STRING (SIZE (0..255)) -- -- -- TCs for specific Internet endpoint values. -- -- -- -- IPv4 Address -- InetEndpointIPv4 ::= TEXTUAL-CONVENTION DISPLAY-HINT "1d.1d.1d.1d" STATUS current DESCRIPTION "Represents an IPv4 network address: octets contents encoding 1-4 IP address network-byte order The corresponding InetEndpointType is ipv4(1)." SYNTAX OCTET STRING (SIZE (4)) -- -- IPv6 Address -- InetEndpointIPv6 ::= TEXTUAL-CONVENTION DISPLAY-HINT "2x:2x:2x:2x:2x:2x:2x:2x" STATUS current DESCRIPTION "Represents an IPv6 network address: octets contents encoding 1-16 IPv6 address network-byte order The corresponding InetEndpointType is ipv6(2)." REFERENCE "See the Ipv6Address TC in RFC 2465." SYNTAX OCTET STRING (SIZE (16)) -- -- DNS Name -- InetEndpointDNS ::= TEXTUAL-CONVENTION DISPLAY-HINT "255a" STATUS current DESCRIPTION "Represents a fully qualified DNS host name. The corresponding InetEndpointType is dns(3). The DESCRIPTION clause of InetEndpoint objects that may have InetEndpointDNS values must fully describe how (and when) such names are to be resolved to IP addresses." REFERENCE "RFCs 952 and 1123." SYNTAX OCTET STRING (SIZE (1..255)) END