--- 1/draft-ietf-ipv6-rfc2096-update-03.txt 2006-02-05 00:03:38.000000000 +0100 +++ 2/draft-ietf-ipv6-rfc2096-update-04.txt 2006-02-05 00:03:38.000000000 +0100 @@ -1,13 +1,13 @@ Internet-Draft M. Wasserman - Document: draft-ietf-ipv6-rfc2096-update-03.txt Wind River + Document: draft-ietf-ipv6-rfc2096-update-04.txt Wind River Expires: December 2003 B. Haberman Caspian Networks June 2003 IP Forwarding Table MIB Status of this Memo This document is an Internet-Draft and is in full conformance with all provisions of Section 10 of RFC2026. @@ -41,43 +41,71 @@ the forwarding of Internet Protocol (IP) packets, in an IP version independent manner. This document obsoletes RFC 2096. Copyright Notice Copyright (C) The Internet Society (2003). All Rights Reserved. Wasserman, Haberman Expires December 2003 1 Table of Contents - 1 Revision History...............................................2 - 2 Conventions Used In This Document..............................4 - 3 The Internet-Standard Management Framework.....................4 - 4 Overview.......................................................4 - 5 Definitions....................................................5 - 6 Security Considerations.......................................27 - 7 Normative References..........................................28 - 8 Informative References........................................28 - 9 Authors and Acknowledgements..................................29 - 10 Editor's Contact Information..................................29 - 11 Full Copyright Statement......................................29 + 1 Conventions Used In This Document..............................5 + 2 The Internet-Standard Management Framework.....................5 + 3 Overview.......................................................5 + 4 Definitions....................................................7 + 5 Security Considerations.......................................30 + 6 Changes from RFC 2096.........................................31 + 7 Normative References..........................................31 + 8 Informative References........................................31 + 9 Authors and Acknowledgements..................................33 + 10 Editor's Contact Information..................................33 + 11 Full Copyright Statement......................................33 - 1 Revision History + Revision History + + [Note to RFC Editor: Please remove prior to publication] + + Changes from draft-ietf-ipv6-rfc2096-update-03.txt: + + 27 Jun 2003 Updated text to DESCRIPTION of inetCidrRouteDiscards + + Re-instated inetCidrRouteNumber + + Added references for IF-MIB, IP-MIB, and IANA- + RTPROTO-MIB + + Changed reference to RFC 2096 from normative to + informative + + Added RFC editor note to remove Revision History at + publication time + + Updated REVISION clause + + Added section describing changes from RFC 2096 + + Added REVISION clause for original publication as RFC + 1354 + + Added MIB Copyright statement to DESCRIPTION Changes from draft-ietf-ipv6-rfc2096-update-02.txt: 16 Jan 2003 Changed lower-case 'h' to upper-case 'H' in hex number. Updated REVISION and LAST UPDATED dates. 13 Jun 2003 Changed inetCidrRouteDscp to inetCidrRoutePolicy. Updated MIB Boilerplate. + + Wasserman, Haberman Expires December 2003 2 17 Jun 2003 Added read-only compliance statement. Added text to DESCRIPTION clause for inetCidrRouteStatus to indicate a row cannot be modified when it is active. Removed numbered references from DESCRIPTION clauses. Removed Unsigned32 from IMPORTS list. @@ -92,21 +120,20 @@ 02 Nov 2002 Fixed bugs that caused the MIB not to compile. Changed the type of inetCidrRouteDscp to Dscp. Improved the revision information. Removed inetCidrRouteNumber and inetCidrRouteWeight. Other editorial changes. - Wasserman, Haberman Expires December 2003 2 Changes from draft-ietf-ipv6-rfc-2096-update-00.txt: 22 Aug 2002 Minor editorial changes and clean-up Changes from draft-ietf-ipngwg-rfc2096-update-00.txt: 27 Jun 2002 Added inetCidrRouteDscp index and inetCidrRouteWeight object to the inetCidrRouteTable. Restored inetCidrRouteNextHopType variable (may be @@ -119,116 +146,121 @@ Changed editor, moved author information to end, several editorial changes. Changed name to draft-ietf-ipv6-rfc-2096-update-*.txt 13 Jul 2002 Removed inetCidrRouteNextHopType. Changes from draft-ops-rfc2096-update-00.txt: 12 Jul 2001 Renamed to IPNG working group draft + + Wasserman, Haberman Expires December 2003 3 Added scopes to the uses of instance Added inetCidrRouteDiscards to replace ipRoutingDiscards Fixed some remaining ipCidr*/inetCidr* confusion in DESCRIPTIONs Changes from first draft posted to v6mib mailing list: 23 Feb 2001 Updated MODULE-IDENTITY Deleted inetCidrRouteTos, add inetCidrRouteInstance in INDEX of inetCidrRouteTable. Used InterfaceIndex, InetAddressPrefixLength and InetAutonomousSystemNumber TC's, and limited the SIZE of inetCidrRouteDest and inetCidrRouteNextHop Updated conformance info. Added copyright and table of contents. - Wasserman, Haberman Expires December 2003 3 - 2 Conventions Used In This Document + Wasserman, Haberman Expires December 2003 4 + 1 Conventions Used In This Document The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119]. - 3 The Internet-Standard Management Framework + 2 The Internet-Standard Management Framework For a detailed overview of the documents that describe the current Internet-Standard Management Framework, please refer to section 7 of RFC 3410 [RFC3410]. Managed objects are accessed via a virtual information store, termed the Management Information Base or MIB. MIB objects are generally accessed through the Simple Network Management Protocol (SNMP). Objects in the MIB are defined using the mechanisms defined in the Structure of Management Information (SMI). This memo specifies a MIB module that is compliant to the SMIv2, which is described in STD 58, RFC 2578 [RFC2578], STD 58, RFC 2579 [RFC2579] and STD 58, RFC 2580 [RFC2580]. - 4 Overview + 3 Overview The MIB consists of one current table and two current global objects. 1. The object inetCidrRouteNumber indicates the number of current routes. This is primarily to avoid having to read the table in order to determine this number. 2. The object inetCidrRouteDiscards counts the number of valid - routes that were discarded for any reason. + routes that were discarded from inetCidrRouteTable for any + reason. This object replaces the ipRoutingDiscards and + ipv6DiscardedRoutes objects. 3. The inetCidrRouteTable provides the ability to display IP version independent multipath CIDR routes. In addition, there is one deprecated table and object, and one obsolete table and object, representing previous revisions of this MIB. 1. The obsolete object ipForwardNumber represents the number of entries in the obsolete ipForwardTable. 2. The obsolete ipForwardTable updates the RFC 1213 ipRouteTable to display multipath IP Routes. This is in turn obsoleted by the ipCidrRouteTable. 3. The deprecated object ipCidrRouteNumber represents the number of entries in the deprecated ipCidrRouteTable. + Wasserman, Haberman Expires December 2003 5 4. The deprecated ipCidrRouteTable updates the RFC 1213 ipRouteTable to display multipath IP Routes having the same network number but differing network masks. - Wasserman, Haberman Expires December 2003 4 - 5 Definitions + Wasserman, Haberman Expires December 2003 6 + 4 Definitions IP-FORWARD-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, IpAddress, Integer32, Gauge32, Counter32 FROM SNMPv2-SMI RowStatus FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF InterfaceIndex FROM IF-MIB ip FROM IP-MIB IANAipRouteProtocol FROM IANA-RTPROTO-MIB InetAddress, InetAddressType, InetAddressPrefixLength, InetAutonomousSystemNumber FROM INET-ADDRESS-MIB; ipForward MODULE-IDENTITY - LAST-UPDATED "200306130000Z" + LAST-UPDATED "200306270800Z" ORGANIZATION "IETF IPv6 MIB Revision Team" CONTACT-INFO "Editor: Margaret Wasserman Wind River 10 Tara Blvd, Suite 330 Nashua, NH 03062 Phone: +1 603 897-2067 Email: mrw@windriver.com @@ -236,60 +268,90 @@ Brian Haberman Caspian Networks 1 Park Drive, Suite 300 Research Triangle Park, NC 27709 Phone: +1 919 949-4828 Email: brian@innovationslab.net" DESCRIPTION "The MIB module for the management of CIDR multipath IP Routes." - REVISION "200306130000Z" + REVISION "200306270800Z" DESCRIPTION "IPv4/v6 version-independent revision. Minimal changes were made to the original RFC 2096 MIB, to allow easy upgrade of existing IPv4 implementations to the - version-independent MIB. published as RFC XXXX." - REVISION "200301130000Z" + version-independent MIB. These changes include: + + Adding inetCidrRouteDiscards as a replacement for the + deprecated ipRoutingDiscards and ipv6DiscardedRoutes + objects. + + Adding a new conformance statement to support the + implementation of the IP Forwarding MIB in a + + Wasserman, Haberman Expires December 2003 7 + read-only mode. + + Copyright (C) The Internet Society (2003). This version + Of this MIB module is part of RFC xxxx; see the RFC + itself for full legal notices. + + published as RFC xxxx." + + REVISION "199609190000Z" DESCRIPTION - "Revised to support CIDR routes." + "Revised to support CIDR routes. + Published as RFC 2096." + + REVISION "199207022156Z" + DESCRIPTION + "Initial version, published as RFC 1354." ::= { ip 24 } + inetCidrRouteNumber OBJECT-TYPE + SYNTAX Gauge32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of current inetCidrRouteTable entries that + are not invalid." + ::= { ipForward 6 } + inetCidrRouteDiscards OBJECT-TYPE SYNTAX Counter32 - - Wasserman, Haberman Expires December 2003 5 MAX-ACCESS read-only STATUS current DESCRIPTION - "The number of routing entries which were chosen to be - discarded even though they are valid. One possible - reason for discarding such an entry could be to free-up - buffer space for other routing entries." + "The number of entries in the inetCidrRouteTable which + were chosen to be discarded even though they are valid. + One possible reason for discarding such an entry could + be to free-up buffer space for other routing entries." ::= { ipForward 8 } -- Inet CIDR Route Table -- The Inet CIDR Route Table deprecates and replaces the -- ipCidrRoute Table currently in the IP Forwarding Table MIB. -- It adds IP protocol independence. inetCidrRouteTable OBJECT-TYPE SYNTAX SEQUENCE OF InetCidrRouteEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This entity's IP Routing table." REFERENCE "RFC 1213 Section 6.6, The IP Group" ::= { ipForward 7 } + Wasserman, Haberman Expires December 2003 8 inetCidrRouteEntry OBJECT-TYPE SYNTAX InetCidrRouteEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A particular route to a particular destination, under a particular policy. Dynamically created rows will survive an agent reboot." INDEX { @@ -305,22 +367,20 @@ InetCidrRouteEntry ::= SEQUENCE { inetCidrRouteDestType InetAddressType, inetCidrRouteDest InetAddress, inetCidrRoutePfxLen InetAddressPrefixLength, inetCidrRoutePolicy OBJECT IDENTIFIER, inetCidrRouteNextHopType InetAddressType, inetCidrRouteNextHop InetAddress, inetCidrRouteIfIndex InterfaceIndex, inetCidrRouteType INTEGER, inetCidrRouteProto IANAipRouteProtocol, - - Wasserman, Haberman Expires December 2003 6 inetCidrRouteAge Integer32, inetCidrRouteNextHopAS InetAutonomousSystemNumber, inetCidrRouteMetric1 Integer32, inetCidrRouteMetric2 Integer32, inetCidrRouteMetric3 Integer32, inetCidrRouteMetric4 Integer32, inetCidrRouteMetric5 Integer32, inetCidrRouteStatus RowStatus } @@ -333,20 +393,21 @@ in the InetAddress MIB [RFC3291]." ::= { inetCidrRouteEntry 1 } inetCidrRouteDest OBJECT-TYPE SYNTAX InetAddress (SIZE(0..36)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The destination IP address of this route. + Wasserman, Haberman Expires December 2003 9 Any assignment (implicit or otherwise) of an instance of this object to a value x MUST be rejected if the bitwise logical-AND of x with the value of the mask formed from the corresponding instance of the inetCidrRoutePfxLen object is not equal to x." ::= { inetCidrRouteEntry 2 } inetCidrRoutePfxLen OBJECT-TYPE SYNTAX InetAddressPrefixLength MAX-ACCESS not-accessible @@ -361,22 +422,20 @@ of this object to a value x MUST be rejected if the bitwise logical-AND of the mask formed from x with the value of the corresponding instance of the inetCidrRouteDest object is not equal to inetCidrRouteDest." ::= { inetCidrRouteEntry 3 } inetCidrRoutePolicy OBJECT-TYPE SYNTAX OBJECT IDENTIFIER MAX-ACCESS not-accessible - - Wasserman, Haberman Expires December 2003 7 STATUS current DESCRIPTION "Represents the general set of conditions that would cause the selection of one multipath route (set of next hops for a given destination) over another (referred to as policy). The value { 0 0 } shall be used for the default policy or if no particular policy applies." ::= { inetCidrRouteEntry 4 } inetCidrRouteNextHopType OBJECT-TYPE @@ -388,20 +447,22 @@ defined in the InetAddress MIB [RFC3291]. Value should be set to unknown(0) for non-remote routes." ::= { inetCidrRouteEntry 5 } inetCidrRouteNextHop OBJECT-TYPE SYNTAX InetAddress (SIZE(0..36)) MAX-ACCESS not-accessible STATUS current + + Wasserman, Haberman Expires December 2003 10 DESCRIPTION "On remote routes, the address of the next system en route. For non-remote routes, a zero length string." ::= { inetCidrRouteEntry 6 } inetCidrRouteIfIndex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS read-create STATUS current DESCRIPTION @@ -417,22 +478,20 @@ -- returns ICMP notification local (3), -- local interface remote (4), -- remote destination blackhole(5) -- route which discards traffic -- silently } MAX-ACCESS read-create STATUS current DESCRIPTION "The type of route. Note that local(3) refers to a - - Wasserman, Haberman Expires December 2003 8 route for which the next hop is the final destination; remote(4)refers to a route for which the next hop is not the final destination. Routes which do not result in traffic forwarding or rejection should not be displayed even if the implementation keeps them stored internally. reject(2) refers to a route which, if matched, discards the message as unreachable and returns a notification @@ -444,20 +503,22 @@ discards the message silently." ::= { inetCidrRouteEntry 8 } inetCidrRouteProto OBJECT-TYPE SYNTAX IANAipRouteProtocol MAX-ACCESS read-only STATUS current DESCRIPTION "The routing mechanism via which this route was learned. Inclusion of values for gateway routing protocols is + + Wasserman, Haberman Expires December 2003 11 not intended to imply that hosts should support those protocols." ::= { inetCidrRouteEntry 9 } inetCidrRouteAge OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of seconds since this route was last updated @@ -473,21 +534,20 @@ STATUS current DESCRIPTION "The Autonomous System Number of the Next Hop. The semantics of this object are determined by the routing- protocol specified in the route's inetCidrRouteProto value. When this object is unknown or not relevant its value should be set to zero." DEFVAL { 0 } ::= { inetCidrRouteEntry 11 } - Wasserman, Haberman Expires December 2003 9 inetCidrRouteMetric1 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS current DESCRIPTION "The primary routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's inetCidrRouteProto value. If this metric is not used, its value should be set to -1." @@ -500,20 +560,21 @@ STATUS current DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's inetCidrRouteProto value. If this metric is not used, its value should be set to -1." DEFVAL { -1 } ::= { inetCidrRouteEntry 13 } + Wasserman, Haberman Expires December 2003 12 inetCidrRouteMetric3 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS current DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's inetCidrRouteProto value. If this metric is not used, its value should be set to -1." @@ -528,22 +589,20 @@ "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's inetCidrRouteProto value. If this metric is not used, its value should be set to -1." DEFVAL { -1 } ::= { inetCidrRouteEntry 15 } inetCidrRouteMetric5 OBJECT-TYPE SYNTAX Integer32 - - Wasserman, Haberman Expires December 2003 10 MAX-ACCESS read-create STATUS current DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's inetCidrRouteProto value. If this metric is not used, its value should be set to -1." DEFVAL { -1 } ::= { inetCidrRouteEntry 16 } @@ -555,20 +614,21 @@ DESCRIPTION "The row status variable, used according to row installation and removal conventions. A row entry cannot be modified when the status is marked as active(1)." ::= { inetCidrRouteEntry 17 } -- Conformance information + Wasserman, Haberman Expires December 2003 13 ipForwardConformance OBJECT IDENTIFIER ::= { ipForward 5 } ipForwardGroups OBJECT IDENTIFIER ::= { ipForwardConformance 1 } ipForwardCompliances OBJECT IDENTIFIER ::= { ipForwardConformance 2 } -- Compliance statements @@ -584,21 +644,20 @@ ipForwardReadOnlyCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "When this MIB is implemented without support for read- create (i.e. in read-only mode), the implementation can claim read-only compliance." MODULE -- this module MANDATORY-GROUPS { inetForwardCidrRouteGroup } - Wasserman, Haberman Expires December 2003 11 OBJECT inetCidrRouteIfIndex MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT inetCidrRouteType MIN-ACCESS read-only DESCRIPTION "Write access is not required." @@ -610,20 +669,21 @@ OBJECT inetCidrRouteMetric1 MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT inetCidrRouteMetric2 MIN-ACCESS read-only DESCRIPTION "Write access is not required." + Wasserman, Haberman Expires December 2003 14 OBJECT inetCidrRouteMetric3 MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT inetCidrRouteMetric4 MIN-ACCESS read-only DESCRIPTION "Write access is not required." @@ -639,22 +699,20 @@ ::= { ipForwardCompliances 5 } ipForwardCompliance2 MODULE-COMPLIANCE STATUS deprecated DESCRIPTION "The compliance statement for systems which have routing tables." MODULE -- this module MANDATORY-GROUPS { inetForwardCidrRouteGroup } - - Wasserman, Haberman Expires December 2003 12 ::= { ipForwardCompliances 3 } -- units of conformance inetForwardCidrRouteGroup OBJECT-GROUP OBJECTS { inetCidrRouteDiscards, inetCidrRouteIfIndex, inetCidrRouteType, inetCidrRouteProto, inetCidrRouteAge, inetCidrRouteNextHopAS, inetCidrRouteMetric1, inetCidrRouteMetric2, inetCidrRouteMetric3, @@ -666,20 +724,22 @@ "The IP version independent CIDR Route Table." ::= { ipForwardGroups 4 } -- Deprecated Objects ipCidrRouteNumber OBJECT-TYPE SYNTAX Gauge32 MAX-ACCESS read-only STATUS deprecated DESCRIPTION + + Wasserman, Haberman Expires December 2003 15 "The number of current ipCidrRouteTable entries that are not invalid. This object is deprecated in favor of inetCidrRouteNumber and the inetCidrRouteTable." ::= { ipForward 3 } -- IP CIDR Route Table -- The IP CIDR Route Table obsoletes and replaces the ipRoute -- Table current in MIB-I and MIB-II and the IP Forwarding Table. -- It adds knowledge of the autonomous system of the next hop, @@ -695,22 +755,20 @@ deprecated in favor of the IP version neutral inetCidrRouteTable." REFERENCE "RFC 1213 Section 6.6, The IP Group" ::= { ipForward 4 } ipCidrRouteEntry OBJECT-TYPE SYNTAX IpCidrRouteEntry MAX-ACCESS not-accessible STATUS deprecated - - Wasserman, Haberman Expires December 2003 13 DESCRIPTION "A particular route to a particular destination, under a particular policy." INDEX { ipCidrRouteDest, ipCidrRouteMask, ipCidrRouteTos, ipCidrRouteNextHop } ::= { ipCidrRouteTable 1 } @@ -722,20 +780,22 @@ ipCidrRouteNextHop IpAddress, ipCidrRouteIfIndex Integer32, ipCidrRouteType INTEGER, ipCidrRouteProto INTEGER, ipCidrRouteAge Integer32, ipCidrRouteInfo OBJECT IDENTIFIER, ipCidrRouteNextHopAS Integer32, ipCidrRouteMetric1 Integer32, ipCidrRouteMetric2 Integer32, ipCidrRouteMetric3 Integer32, + + Wasserman, Haberman Expires December 2003 16 ipCidrRouteMetric4 Integer32, ipCidrRouteMetric5 Integer32, ipCidrRouteStatus RowStatus } ipCidrRouteDest OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS deprecated DESCRIPTION @@ -751,22 +811,20 @@ not equal to x." ::= { ipCidrRouteEntry 1 } ipCidrRouteMask OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS deprecated DESCRIPTION "Indicate the mask to be logical-ANDed with the destination address before being compared to the value - - Wasserman, Haberman Expires December 2003 14 in the ipCidrRouteDest field. For those systems that do not support arbitrary subnet masks, an agent constructs the value of the ipCidrRouteMask by reference to the IP Address Class. Any assignment (implicit or otherwise) of an instance of this object to a value x must be rejected if the bitwise logical-AND of x with the value of the corresponding instance of the ipCidrRouteDest object is not equal to ipCidrRouteDest." @@ -778,20 +836,22 @@ -- of the TOS field. This mapping describes the Router -- Requirements mapping, and leaves room to widen the TOS field -- without impact to fielded systems. ipCidrRouteTos OBJECT-TYPE SYNTAX Integer32 (0..2147483647) MAX-ACCESS read-only STATUS deprecated DESCRIPTION "The policy specifier is the IP TOS Field. The encoding + + Wasserman, Haberman Expires December 2003 17 of IP TOS is as specified by the following convention. Zero indicates the default path if no more specific policy applies. +-----+-----+-----+-----+-----+-----+-----+-----+ | | | | | PRECEDENCE | TYPE OF SERVICE | 0 | | | | | +-----+-----+-----+-----+-----+-----+-----+-----+ @@ -807,22 +867,20 @@ 1 1 0 0 ==> 24 1 1 0 1 ==> 26 1 1 1 0 ==> 28 1 1 1 1 ==> 30" ::= { ipCidrRouteEntry 3 } ipCidrRouteNextHop OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS deprecated DESCRIPTION "On remote routes, the address of the next system en - - Wasserman, Haberman Expires December 2003 15 route; Otherwise, 0.0.0.0." ::= { ipCidrRouteEntry 4 } ipCidrRouteIfIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS deprecated DESCRIPTION "The ifIndex value which identifies the local interface through which the next hop of this route should be @@ -834,20 +892,22 @@ SYNTAX INTEGER { other (1), -- not specified by this MIB reject (2), -- route which discards traffic local (3), -- local interface remote (4) -- remote destination } MAX-ACCESS read-create STATUS deprecated DESCRIPTION "The type of route. Note that local(3) refers to a + + Wasserman, Haberman Expires December 2003 18 route for which the next hop is the final destination; remote(4) refers to a route for which the next hop is not the final destination. Routes which do not result in traffic forwarding or rejection should not be displayed even if the implementation keeps them stored internally. reject (2) refers to a route which, if matched, discards the message as unreachable. This is used in @@ -863,22 +923,20 @@ icmp (4), -- result of ICMP Redirect -- the following are all dynamic -- routing protocols egp (5), -- Exterior Gateway Protocol ggp (6), -- Gateway-Gateway Protocol hello (7), -- FuzzBall HelloSpeak rip (8), -- Berkeley RIP or RIP-II isIs (9), -- Dual IS-IS esIs (10), -- ISO 9542 - - Wasserman, Haberman Expires December 2003 16 ciscoIgrp (11), -- Cisco IGRP bbnSpfIgp (12), -- BBN SPF IGP ospf (13), -- Open Shortest Path First bgp (14), -- Border Gateway Protocol idpr (15), -- InterDomain Policy Routing ciscoEigrp (16) -- Cisco EIGRP } MAX-ACCESS read-only STATUS deprecated DESCRIPTION @@ -890,20 +948,22 @@ ipCidrRouteAge OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS deprecated DESCRIPTION "The number of seconds since this route was last updated or otherwise determined to be correct. Note that no semantics of `too old' can be implied except through knowledge of the routing protocol by which the route + + Wasserman, Haberman Expires December 2003 19 was learned." DEFVAL { 0 } ::= { ipCidrRouteEntry 8 } ipCidrRouteInfo OBJECT-TYPE SYNTAX OBJECT IDENTIFIER MAX-ACCESS read-create STATUS deprecated DESCRIPTION "A reference to MIB definitions specific to the @@ -919,22 +979,20 @@ ipCidrRouteNextHopAS OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS deprecated DESCRIPTION "The Autonomous System Number of the Next Hop. The semantics of this object are determined by the routing- protocol specified in the route's ipCidrRouteProto value. When this object is unknown or not relevant its - - Wasserman, Haberman Expires December 2003 17 value should be set to zero." DEFVAL { 0 } ::= { ipCidrRouteEntry 10 } ipCidrRouteMetric1 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS deprecated DESCRIPTION "The primary routing metric for this route. The @@ -946,20 +1004,22 @@ ::= { ipCidrRouteEntry 11 } ipCidrRouteMetric2 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS deprecated DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's ipCidrRouteProto + + Wasserman, Haberman Expires December 2003 20 value. If this metric is not used, its value should be set to -1." DEFVAL { -1 } ::= { ipCidrRouteEntry 12 } ipCidrRouteMetric3 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS deprecated DESCRIPTION @@ -975,22 +1035,20 @@ SYNTAX Integer32 MAX-ACCESS read-create STATUS deprecated DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's ipCidrRouteProto value. If this metric is not used, its value should be set to -1." DEFVAL { -1 } - - Wasserman, Haberman Expires December 2003 18 ::= { ipCidrRouteEntry 14 } ipCidrRouteMetric5 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS deprecated DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's ipCidrRouteProto @@ -1001,20 +1059,21 @@ ipCidrRouteStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS deprecated DESCRIPTION "The row status variable, used according to row installation and removal conventions." ::= { ipCidrRouteEntry 16 } + Wasserman, Haberman Expires December 2003 21 -- compliance statements ipForwardCompliance MODULE-COMPLIANCE STATUS deprecated DESCRIPTION "The compliance statement for SNMPv2 entities which implement the ipForward MIB." MODULE -- this module MANDATORY-GROUPS { ipForwardCidrRouteGroup } @@ -1029,22 +1088,20 @@ ipCidrRouteNextHop, ipCidrRouteIfIndex, ipCidrRouteType, ipCidrRouteProto, ipCidrRouteAge, ipCidrRouteInfo,ipCidrRouteNextHopAS, ipCidrRouteMetric1, ipCidrRouteMetric2, ipCidrRouteMetric3, ipCidrRouteMetric4, ipCidrRouteMetric5, ipCidrRouteStatus } STATUS deprecated DESCRIPTION "The CIDR Route Table." - - Wasserman, Haberman Expires December 2003 19 ::= { ipForwardGroups 3 } -- Obsoleted Definitions - Objects ipForwardNumber OBJECT-TYPE SYNTAX Gauge32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The number of current ipForwardTable entries that are @@ -1056,20 +1113,22 @@ -- The IP Forwarding Table obsoletes and replaces the ipRoute -- Table current in MIB-I and MIB-II. It adds knowledge of -- the autonomous system of the next hop, multiple next hop -- support, and policy routing support. ipForwardTable OBJECT-TYPE SYNTAX SEQUENCE OF IpForwardEntry MAX-ACCESS not-accessible STATUS obsolete DESCRIPTION + + Wasserman, Haberman Expires December 2003 22 "This entity's IP Routing table." REFERENCE "RFC 1213 Section 6.6, The IP Group" ::= { ipForward 2 } ipForwardEntry OBJECT-TYPE SYNTAX IpForwardEntry MAX-ACCESS not-accessible STATUS obsolete DESCRIPTION @@ -1085,22 +1144,20 @@ IpForwardEntry ::= SEQUENCE { ipForwardDest IpAddress, ipForwardMask IpAddress, ipForwardPolicy Integer32, ipForwardNextHop IpAddress, ipForwardIfIndex Integer32, ipForwardType INTEGER, ipForwardProto INTEGER, ipForwardAge Integer32, - - Wasserman, Haberman Expires December 2003 20 ipForwardInfo OBJECT IDENTIFIER, ipForwardNextHopAS Integer32, ipForwardMetric1 Integer32, ipForwardMetric2 Integer32, ipForwardMetric3 Integer32, ipForwardMetric4 Integer32, ipForwardMetric5 Integer32 } ipForwardDest OBJECT-TYPE @@ -1112,20 +1169,22 @@ with a value of 0.0.0.0 is considered a default route. This object may not take a Multicast (Class D) address value. Any assignment (implicit or otherwise) of an instance of this object to a value x must be rejected if the bitwise logical-AND of x with the value of the corresponding instance of the ipForwardMask object is not equal to x." + + Wasserman, Haberman Expires December 2003 23 ::= { ipForwardEntry 1 } ipForwardMask OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS obsolete DESCRIPTION "Indicate the mask to be logical-ANDed with the destination address before being compared to the value in the ipForwardDest field. For those systems that do @@ -1141,21 +1200,20 @@ DEFVAL { '00000000'H } -- 0.0.0.0 ::= { ipForwardEntry 2 } -- The following convention is included for specification -- of TOS Field contents. At this time, the Host Requirements -- and the Router Requirements documents disagree on the width -- of the TOS field. This mapping describes the Router -- Requirements mapping, and leaves room to widen the TOS field -- without impact to fielded systems. - Wasserman, Haberman Expires December 2003 21 ipForwardPolicy OBJECT-TYPE SYNTAX Integer32 (0..2147483647) MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The general set of conditions that would cause the selection of one multipath route (set of next hops for a given destination) is referred to as 'policy'. @@ -1165,20 +1223,21 @@ specified by the following convention. Zero indicates the default path if no more specific policy applies. +-----+-----+-----+-----+-----+-----+-----+-----+ | | | | | PRECEDENCE | TYPE OF SERVICE | 0 | | | | | +-----+-----+-----+-----+-----+-----+-----+-----+ + Wasserman, Haberman Expires December 2003 24 IP TOS IP TOS Field Policy Field Policy Contents Code Contents Code 0 0 0 0 ==> 0 0 0 0 1 ==> 2 0 0 1 0 ==> 4 0 0 1 1 ==> 6 0 1 0 0 ==> 8 0 1 0 1 ==> 10 0 1 1 0 ==> 12 0 1 1 1 ==> 14 1 0 0 0 ==> 16 1 0 0 1 ==> 18 1 0 1 0 ==> 20 1 0 1 1 ==> 22 1 1 0 0 ==> 24 1 1 0 1 ==> 26 @@ -1194,22 +1253,20 @@ ipForwardNextHop OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS obsolete DESCRIPTION "On remote routes, the address of the next system en route; Otherwise, 0.0.0.0." ::= { ipForwardEntry 4 } ipForwardIfIndex OBJECT-TYPE - - Wasserman, Haberman Expires December 2003 22 SYNTAX Integer32 MAX-ACCESS read-create STATUS obsolete DESCRIPTION "The ifIndex value which identifies the local interface through which the next hop of this route should be reached." DEFVAL { 0 } ::= { ipForwardEntry 5 } @@ -1221,20 +1278,21 @@ remote (4) -- remote destination } MAX-ACCESS read-create STATUS obsolete DESCRIPTION "The type of route. Note that local(3) refers to a route for which the next hop is the final destination; remote(4) refers to a route for which the next hop is not the final destination. + Wasserman, Haberman Expires December 2003 25 Setting this object to the value invalid(2) has the effect of invalidating the corresponding entry in the ipForwardTable object. That is, it effectively disassociates the destination identified with said entry from the route identified with said entry. It is an implementation-specific matter as to whether the agent removes an invalidated entry from the table. Accordingly, management stations must be prepared to receive tabular information from agents that corresponds to entries not currently in use. Proper @@ -1250,22 +1308,20 @@ netmgmt (3), -- static route icmp (4), -- result of ICMP Redirect -- the following are all dynamic -- routing protocols egp (5), -- Exterior Gateway Protocol ggp (6), -- Gateway-Gateway Protocol hello (7), -- FuzzBall HelloSpeak rip (8), -- Berkeley RIP or RIP-II is-is (9), -- Dual IS-IS - - Wasserman, Haberman Expires December 2003 23 es-is (10), -- ISO 9542 ciscoIgrp (11), -- Cisco IGRP bbnSpfIgp (12), -- BBN SPF IGP ospf (13), -- Open Shortest Path First bgp (14), -- Border Gateway Protocol idpr (15) -- InterDomain Policy Routing } MAX-ACCESS read-only STATUS obsolete DESCRIPTION @@ -1277,20 +1333,22 @@ ipForwardAge OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The number of seconds since this route was last updated or otherwise determined to be correct. Note that no semantics of `too old' can be implied except through knowledge of the routing protocol by which the route + + Wasserman, Haberman Expires December 2003 26 was learned." DEFVAL { 0 } ::= { ipForwardEntry 8 } ipForwardInfo OBJECT-TYPE SYNTAX OBJECT IDENTIFIER MAX-ACCESS read-create STATUS obsolete DESCRIPTION "A reference to MIB definitions specific to the @@ -1306,22 +1364,20 @@ ipForwardNextHopAS OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS obsolete DESCRIPTION "The Autonomous System Number of the Next Hop. When this is unknown or not relevant to the protocol indicated by ipForwardProto, zero." DEFVAL { 0 } - - Wasserman, Haberman Expires December 2003 24 ::= { ipForwardEntry 10 } ipForwardMetric1 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS obsolete DESCRIPTION "The primary routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's ipForwardProto value. @@ -1333,20 +1389,22 @@ ipForwardMetric2 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS obsolete DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's ipForwardProto value. If this metric is not used, its value should be set to -1." + + Wasserman, Haberman Expires December 2003 27 DEFVAL { -1 } ::= { ipForwardEntry 12 } ipForwardMetric3 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS obsolete DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- @@ -1362,21 +1420,20 @@ STATUS obsolete DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's ipForwardProto value. If this metric is not used, its value should be set to -1." DEFVAL { -1 } ::= { ipForwardEntry 14 } - Wasserman, Haberman Expires December 2003 25 ipForwardMetric5 OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS obsolete DESCRIPTION "An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's ipForwardProto value. If this metric is not used, its value should be set to -1." @@ -1388,40 +1445,41 @@ ipForwardOldCompliance MODULE-COMPLIANCE STATUS obsolete DESCRIPTION "The compliance statement for SNMP entities which implement the ipForward MIB." MODULE -- this module MANDATORY-GROUPS { ipForwardMultiPathGroup } + Wasserman, Haberman Expires December 2003 28 ::= { ipForwardCompliances 2 } ipForwardMultiPathGroup OBJECT-GROUP OBJECTS { ipForwardNumber, ipForwardDest, ipForwardMask, ipForwardPolicy, ipForwardNextHop, ipForwardIfIndex, ipForwardType, ipForwardProto, ipForwardAge, ipForwardInfo, ipForwardNextHopAS, ipForwardMetric1, ipForwardMetric2, ipForwardMetric3, ipForwardMetric4, ipForwardMetric5 } STATUS obsolete DESCRIPTION "IP Multipath Route Table." ::= { ipForwardGroups 2 } END - Wasserman, Haberman Expires December 2003 26 - 6 Security Considerations + Wasserman, Haberman Expires December 2003 29 + 5 Security Considerations There are a number of management objects defined in this MIB module with a MAX-ACCESS clause of read-write and/or read-create. Such objects may be considered sensitive or vulnerable in some network environments. The support for SET operations in a non-secure environment without proper protection can have a negative effect on network operations. These are the tables and objects and their sensitivity/vulnerability: 1. The inetCidrRouteTable contains routing and forwarding @@ -1459,21 +1517,33 @@ authentication and privacy). Further, deployment of SNMP versions prior to SNMPv3 is NOT RECOMMENDED. Instead, it is RECOMMENDED to deploy SNMPv3 and to enable cryptographic security. It is then a customer/operator responsibility to ensure that the SNMP entity giving access to an instance of this MIB module is properly configured to give access to the objects only to those principals (users) that have legitimate rights to indeed GET or SET (change/create/delete) them. - Wasserman, Haberman Expires December 2003 27 + Wasserman, Haberman Expires December 2003 30 + 6 Changes from RFC 2096 + + This document updates RFC 2096 in the following ways: + + 1. Utilized the InetAddress TC to support IP version independent + implementations of the forwarding MIB. This gives common + forwarding MIB support for IPv4 and IPv6. + 2. Creates a read-only conformance statement to support + implementations that only wish to retrieve data. + 3. Creates the inetCidrRouteDiscards object to replace the + deprecated ipRoutingDiscards and ipv6DiscardedRoutes objects. + 7 Normative References [RFC2026] S. Bradner, "The Internet Standards Process -- Revision 3", RFC 2026, BCP9, October 1996 [RFC2119] S. Bradner, "Key words for use in RFCs to Indicate Requirement Levels", RFC 2119, BCP14, March 1999. [RFC2578] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose, M. and S. Waldbusser, "Structure of Management @@ -1481,44 +1551,56 @@ 1999. [RFC2579] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose, M. and S. Waldbusser, "Textual Conventions for SMIv2", STD 58, RFC 2579, April 1999. [RFC2580] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose, M. and S. Waldbusser, "Conformance Statements for SMIv2", STD 58, RFC 2580, April 1999. - [RFC2096] Baker, F., "IP Forwarding Table MIB", RFC 2096, January - 1997. - [RFC3291] Daniele, M., Haberman, B., Routhier, S., Schoenwaelder, J., "Textual Conventions for Internet Network Addresses", RFC 3291, May 2002. + [RFC2863] McCloghrie, K., and Kastenholz, F., "The Interfaces Group + MIB", RFC 2863, June 2000. + + [2011upd] Routhier, S., "Management Information Base for the + Internet Protocol (IP), + draft-ietf-ipv6-rfc2011-update-02.txt, February 2003. + + [RTPROTO] IANA, "IP Route Protocol MIB", + http://www.iana.org/assignments/ianaiprouteprotocol-mib, + September 2000. + 8 Informative References [RFC3410] Case, J., Mundy, R., Partain, D. and B. Stewart, "Introduction and Applicability Statements for Internet- Standard Management Framework", RFC 3410, December 2002. - Wasserman, Haberman Expires December 2003 28 + Wasserman, Haberman Expires December 2003 31 + [RFC2096] Baker, F., "IP Forwarding Table MIB", RFC 2096, January + 1997. + + Wasserman, Haberman Expires December 2003 32 9 Authors and Acknowledgements This document was based on RFC 2096 [RFC2096]. The following people provided text for this version of the document, or were authors of previous versions: Fred Baker, Cisco Bill Fenner, AT&T Research - Brian Haberman + Brian Haberman, Caspian Networks Juergen Schoenwalder, TU Braunschweig Dave Thaler, Microsoft Margaret Wasserman, Wind River Dario Accornero, Mark Adam, Qing Li and Shawn Routhier reviewed the document and provided helpful feedback. 10 Editor's Contact Information Comments or questions regarding this document should be sent to: @@ -1549,12 +1631,12 @@ The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns. This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - Wasserman, Haberman Expires December 2003 29 - Wasserman, Haberman Expires December 2003 30 + Wasserman, Haberman Expires December 2003 33 + Wasserman, Haberman Expires December 2003 34