1
IP-FORWARD-MIB DEFINITIONS ::= BEGIN
4
MODULE-IDENTITY, OBJECT-TYPE,
5
IpAddress, Integer32, Gauge32,
6
Counter32 FROM SNMPv2-SMI
7
RowStatus FROM SNMPv2-TC
11
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
12
InterfaceIndexOrZero FROM IF-MIB
14
IANAipRouteProtocol FROM IANA-RTPROTO-MIB
15
InetAddress, InetAddressType,
16
InetAddressPrefixLength,
17
InetAutonomousSystemNumber FROM INET-ADDRESS-MIB;
19
ipForward MODULE-IDENTITY
20
LAST-UPDATED "200602010000Z"
22
"IETF IPv6 Working Group
23
http://www.ietf.org/html.charters/ipv6-charter.html"
27
Johns Hopkins University - Applied Physics Laboratory
29
11100 Johns Hopkins Road
30
Laurel MD, 20723-6099 USA
32
Phone: +1-443-778-1319
33
Email: brian@innovationslab.net
35
Send comments to <ipv6@ietf.org>"
37
"The MIB module for the management of CIDR multipath IP
40
Copyright (C) The Internet Society (2006). This version
41
of this MIB module is a part of RFC 4292; see the RFC
42
itself for full legal notices."
44
REVISION "200602010000Z"
46
"IPv4/v6 version-independent revision. Minimal changes
47
were made to the original RFC 2096 MIB to allow easy
48
upgrade of existing IPv4 implementations to the
49
version-independent MIB. These changes include:
51
Adding inetCidrRouteDiscards as a replacement for the
52
deprecated ipRoutingDiscards and ipv6DiscardedRoutes
55
Adding a new conformance statement to support the
56
implementation of the IP Forwarding MIB in a
62
The inetCidrRouteTable replaces the IPv4-specific
63
ipCidrRouteTable, its related objects, and related
64
conformance statements.
66
Published as RFC 4292."
68
REVISION "199609190000Z"
70
"Revised to support CIDR routes.
71
Published as RFC 2096."
73
REVISION "199207022156Z"
75
"Initial version, published as RFC 1354."
78
inetCidrRouteNumber OBJECT-TYPE
83
"The number of current inetCidrRouteTable entries that
87
inetCidrRouteDiscards OBJECT-TYPE
92
"The number of valid route entries discarded from the
93
inetCidrRouteTable. Discarded route entries do not
94
appear in the inetCidrRouteTable. One possible reason
95
for discarding an entry would be to free-up buffer space
96
for other route table entries."
101
inetCidrRouteTable OBJECT-TYPE
102
SYNTAX SEQUENCE OF InetCidrRouteEntry
103
MAX-ACCESS not-accessible
109
"This entity's IP Routing table."
111
"RFC 1213 Section 6.6, The IP Group"
114
inetCidrRouteEntry OBJECT-TYPE
115
SYNTAX InetCidrRouteEntry
116
MAX-ACCESS not-accessible
119
"A particular route to a particular destination, under a
120
particular policy (as reflected in the
121
inetCidrRoutePolicy object).
123
Dynamically created rows will survive an agent reboot.
125
Implementers need to be aware that if the total number
126
of elements (octets or sub-identifiers) in
127
inetCidrRouteDest, inetCidrRoutePolicy, and
128
inetCidrRouteNextHop exceeds 111, then OIDs of column
129
instances in this table will have more than 128 sub-
130
identifiers and cannot be accessed using SNMPv1,
133
inetCidrRouteDestType,
137
inetCidrRouteNextHopType,
140
::= { inetCidrRouteTable 1 }
142
InetCidrRouteEntry ::= SEQUENCE {
143
inetCidrRouteDestType InetAddressType,
144
inetCidrRouteDest InetAddress,
145
inetCidrRoutePfxLen InetAddressPrefixLength,
146
inetCidrRoutePolicy OBJECT IDENTIFIER,
147
inetCidrRouteNextHopType InetAddressType,
148
inetCidrRouteNextHop InetAddress,
149
inetCidrRouteIfIndex InterfaceIndexOrZero,
150
inetCidrRouteType INTEGER,
151
inetCidrRouteProto IANAipRouteProtocol,
152
inetCidrRouteAge Gauge32,
153
inetCidrRouteNextHopAS InetAutonomousSystemNumber,
154
inetCidrRouteMetric1 Integer32,
155
inetCidrRouteMetric2 Integer32,
156
inetCidrRouteMetric3 Integer32,
160
inetCidrRouteMetric4 Integer32,
161
inetCidrRouteMetric5 Integer32,
162
inetCidrRouteStatus RowStatus
165
inetCidrRouteDestType OBJECT-TYPE
166
SYNTAX InetAddressType
167
MAX-ACCESS not-accessible
170
"The type of the inetCidrRouteDest address, as defined
171
in the InetAddress MIB.
173
Only those address types that may appear in an actual
174
routing table are allowed as values of this object."
176
::= { inetCidrRouteEntry 1 }
178
inetCidrRouteDest OBJECT-TYPE
180
MAX-ACCESS not-accessible
183
"The destination IP address of this route.
185
The type of this address is determined by the value of
186
the inetCidrRouteDestType object.
188
The values for the index objects inetCidrRouteDest and
189
inetCidrRoutePfxLen must be consistent. When the value
190
of inetCidrRouteDest (excluding the zone index, if one
191
is present) is x, then the bitwise logical-AND
192
of x with the value of the mask formed from the
193
corresponding index object inetCidrRoutePfxLen MUST be
194
equal to x. If not, then the index pair is not
195
consistent and an inconsistentName error must be
196
returned on SET or CREATE requests."
198
::= { inetCidrRouteEntry 2 }
200
inetCidrRoutePfxLen OBJECT-TYPE
201
SYNTAX InetAddressPrefixLength
202
MAX-ACCESS not-accessible
205
"Indicates the number of leading one bits that form the
206
mask to be logical-ANDed with the destination address
207
before being compared to the value in the
211
inetCidrRouteDest field.
213
The values for the index objects inetCidrRouteDest and
214
inetCidrRoutePfxLen must be consistent. When the value
215
of inetCidrRouteDest (excluding the zone index, if one
216
is present) is x, then the bitwise logical-AND
217
of x with the value of the mask formed from the
218
corresponding index object inetCidrRoutePfxLen MUST be
219
equal to x. If not, then the index pair is not
220
consistent and an inconsistentName error must be
221
returned on SET or CREATE requests."
223
::= { inetCidrRouteEntry 3 }
225
inetCidrRoutePolicy OBJECT-TYPE
226
SYNTAX OBJECT IDENTIFIER
227
MAX-ACCESS not-accessible
230
"This object is an opaque object without any defined
231
semantics. Its purpose is to serve as an additional
232
index that may delineate between multiple entries to
233
the same destination. The value { 0 0 } shall be used
234
as the default value for this object."
235
::= { inetCidrRouteEntry 4 }
237
inetCidrRouteNextHopType OBJECT-TYPE
238
SYNTAX InetAddressType
239
MAX-ACCESS not-accessible
242
"The type of the inetCidrRouteNextHop address, as
243
defined in the InetAddress MIB.
245
Value should be set to unknown(0) for non-remote
248
Only those address types that may appear in an actual
249
routing table are allowed as values of this object."
251
::= { inetCidrRouteEntry 5 }
253
inetCidrRouteNextHop OBJECT-TYPE
255
MAX-ACCESS not-accessible
258
"On remote routes, the address of the next system en
262
route. For non-remote routes, a zero length string.
264
The type of this address is determined by the value of
265
the inetCidrRouteNextHopType object."
266
::= { inetCidrRouteEntry 6 }
268
inetCidrRouteIfIndex OBJECT-TYPE
269
SYNTAX InterfaceIndexOrZero
270
MAX-ACCESS read-create
273
"The ifIndex value that identifies the local interface
274
through which the next hop of this route should be
275
reached. A value of 0 is valid and represents the
276
scenario where no interface is specified."
277
::= { inetCidrRouteEntry 7 }
279
inetCidrRouteType OBJECT-TYPE
281
other (1), -- not specified by this MIB
282
reject (2), -- route that discards traffic and
283
-- returns ICMP notification
284
local (3), -- local interface
285
remote (4), -- remote destination
286
blackhole(5) -- route that discards traffic
289
MAX-ACCESS read-create
292
"The type of route. Note that local(3) refers to a
293
route for which the next hop is the final destination;
294
remote(4) refers to a route for which the next hop is
295
not the final destination.
297
Routes that do not result in traffic forwarding or
298
rejection should not be displayed, even if the
299
implementation keeps them stored internally.
301
reject(2) refers to a route that, if matched, discards
302
the message as unreachable and returns a notification
303
(e.g., ICMP error) to the message sender. This is used
304
in some protocols as a means of correctly aggregating
307
blackhole(5) refers to a route that, if matched,
308
discards the message silently."
309
::= { inetCidrRouteEntry 8 }
314
inetCidrRouteProto OBJECT-TYPE
315
SYNTAX IANAipRouteProtocol
319
"The routing mechanism via which this route was learned.
320
Inclusion of values for gateway routing protocols is
321
not intended to imply that hosts should support those
323
::= { inetCidrRouteEntry 9 }
325
inetCidrRouteAge OBJECT-TYPE
330
"The number of seconds since this route was last updated
331
or otherwise determined to be correct. Note that no
332
semantics of 'too old' can be implied, except through
333
knowledge of the routing protocol by which the route
335
::= { inetCidrRouteEntry 10 }
337
inetCidrRouteNextHopAS OBJECT-TYPE
338
SYNTAX InetAutonomousSystemNumber
339
MAX-ACCESS read-create
342
"The Autonomous System Number of the Next Hop. The
343
semantics of this object are determined by the routing-
344
protocol specified in the route's inetCidrRouteProto
345
value. When this object is unknown or not relevant, its
346
value should be set to zero."
348
::= { inetCidrRouteEntry 11 }
350
inetCidrRouteMetric1 OBJECT-TYPE
352
MAX-ACCESS read-create
355
"The primary routing metric for this route. The
356
semantics of this metric are determined by the routing-
357
protocol specified in the route's inetCidrRouteProto
358
value. If this metric is not used, its value should be
364
::= { inetCidrRouteEntry 12 }
366
inetCidrRouteMetric2 OBJECT-TYPE
368
MAX-ACCESS read-create
371
"An alternate routing metric for this route. The
372
semantics of this metric are determined by the routing-
373
protocol specified in the route's inetCidrRouteProto
374
value. If this metric is not used, its value should be
377
::= { inetCidrRouteEntry 13 }
379
inetCidrRouteMetric3 OBJECT-TYPE
381
MAX-ACCESS read-create
384
"An alternate routing metric for this route. The
385
semantics of this metric are determined by the routing-
386
protocol specified in the route's inetCidrRouteProto
387
value. If this metric is not used, its value should be
390
::= { inetCidrRouteEntry 14 }
392
inetCidrRouteMetric4 OBJECT-TYPE
394
MAX-ACCESS read-create
397
"An alternate routing metric for this route. The
398
semantics of this metric are determined by the routing-
399
protocol specified in the route's inetCidrRouteProto
400
value. If this metric is not used, its value should be
403
::= { inetCidrRouteEntry 15 }
405
inetCidrRouteMetric5 OBJECT-TYPE
407
MAX-ACCESS read-create
410
"An alternate routing metric for this route. The
411
semantics of this metric are determined by the routing-
415
protocol specified in the route's inetCidrRouteProto
416
value. If this metric is not used, its value should be
419
::= { inetCidrRouteEntry 16 }
421
inetCidrRouteStatus OBJECT-TYPE
423
MAX-ACCESS read-create
426
"The row status variable, used according to row
427
installation and removal conventions.
429
A row entry cannot be modified when the status is
430
marked as active(1)."
431
::= { inetCidrRouteEntry 17 }
435
OBJECT IDENTIFIER ::= { ipForward 5 }
438
OBJECT IDENTIFIER ::= { ipForwardConformance 1 }
441
OBJECT IDENTIFIER ::= { ipForwardConformance 2 }
444
ipForwardFullCompliance MODULE-COMPLIANCE
447
"When this MIB is implemented for read-create, the
448
implementation can claim full compliance.
450
There are a number of INDEX objects that cannot be
451
represented in the form of OBJECT clauses in SMIv2,
452
but for which there are compliance requirements,
453
expressed in OBJECT clause form in this description:
455
-- OBJECT inetCidrRouteDestType
456
-- SYNTAX InetAddressType (ipv4(1), ipv6(2),
457
-- ipv4z(3), ipv6z(4))
459
-- This MIB requires support for global and
460
-- non-global ipv4 and ipv6 addresses.
465
-- OBJECT inetCidrRouteDest
466
-- SYNTAX InetAddress (SIZE (4 | 8 | 16 | 20))
468
-- This MIB requires support for global and
469
-- non-global IPv4 and IPv6 addresses.
471
-- OBJECT inetCidrRouteNextHopType
472
-- SYNTAX InetAddressType (unknown(0), ipv4(1),
476
-- This MIB requires support for global and
477
-- non-global ipv4 and ipv6 addresses.
479
-- OBJECT inetCidrRouteNextHop
480
-- SYNTAX InetAddress (SIZE (0 | 4 | 8 | 16 | 20))
482
-- This MIB requires support for global and
483
-- non-global IPv4 and IPv6 addresses.
486
MODULE -- this module
487
MANDATORY-GROUPS { inetForwardCidrRouteGroup }
489
OBJECT inetCidrRouteStatus
490
SYNTAX RowStatus { active(1), notInService (2) }
491
WRITE-SYNTAX RowStatus { active(1), notInService (2),
492
createAndGo(4), destroy(6) }
493
DESCRIPTION "Support for createAndWait is not required."
495
::= { ipForwardCompliances 3 }
497
ipForwardReadOnlyCompliance MODULE-COMPLIANCE
500
"When this MIB is implemented without support for read-
501
create (i.e., in read-only mode), the implementation can
502
claim read-only compliance."
503
MODULE -- this module
504
MANDATORY-GROUPS { inetForwardCidrRouteGroup }
506
OBJECT inetCidrRouteIfIndex
509
"Write access is not required."
511
OBJECT inetCidrRouteType
517
"Write access is not required."
519
OBJECT inetCidrRouteNextHopAS
522
"Write access is not required."
524
OBJECT inetCidrRouteMetric1
527
"Write access is not required."
529
OBJECT inetCidrRouteMetric2
532
"Write access is not required."
534
OBJECT inetCidrRouteMetric3
537
"Write access is not required."
539
OBJECT inetCidrRouteMetric4
542
"Write access is not required."
544
OBJECT inetCidrRouteMetric5
547
"Write access is not required."
549
OBJECT inetCidrRouteStatus
550
SYNTAX RowStatus { active(1) }
553
"Write access is not required."
555
::= { ipForwardCompliances 4 }
558
inetForwardCidrRouteGroup OBJECT-GROUP
559
OBJECTS { inetCidrRouteDiscards,
560
inetCidrRouteIfIndex, inetCidrRouteType,
561
inetCidrRouteProto, inetCidrRouteAge,
565
inetCidrRouteNextHopAS, inetCidrRouteMetric1,
566
inetCidrRouteMetric2, inetCidrRouteMetric3,
567
inetCidrRouteMetric4, inetCidrRouteMetric5,
568
inetCidrRouteStatus, inetCidrRouteNumber
572
"The IP version-independent CIDR Route Table."
573
::= { ipForwardGroups 4 }
576
ipCidrRouteNumber OBJECT-TYPE
581
"The number of current ipCidrRouteTable entries that are
582
not invalid. This object is deprecated in favor of
583
inetCidrRouteNumber and the inetCidrRouteTable."
588
ipCidrRouteTable OBJECT-TYPE
589
SYNTAX SEQUENCE OF IpCidrRouteEntry
590
MAX-ACCESS not-accessible
593
"This entity's IP Routing table. This table has been
594
deprecated in favor of the IP version neutral
597
"RFC 1213 Section 6.6, The IP Group"
600
ipCidrRouteEntry OBJECT-TYPE
601
SYNTAX IpCidrRouteEntry
602
MAX-ACCESS not-accessible
605
"A particular route to a particular destination, under a
616
::= { ipCidrRouteTable 1 }
618
IpCidrRouteEntry ::= SEQUENCE {
619
ipCidrRouteDest IpAddress,
620
ipCidrRouteMask IpAddress,
621
ipCidrRouteTos Integer32,
622
ipCidrRouteNextHop IpAddress,
623
ipCidrRouteIfIndex Integer32,
624
ipCidrRouteType INTEGER,
625
ipCidrRouteProto INTEGER,
626
ipCidrRouteAge Integer32,
627
ipCidrRouteInfo OBJECT IDENTIFIER,
628
ipCidrRouteNextHopAS Integer32,
629
ipCidrRouteMetric1 Integer32,
630
ipCidrRouteMetric2 Integer32,
631
ipCidrRouteMetric3 Integer32,
632
ipCidrRouteMetric4 Integer32,
633
ipCidrRouteMetric5 Integer32,
634
ipCidrRouteStatus RowStatus
637
ipCidrRouteDest OBJECT-TYPE
642
"The destination IP address of this route.
644
This object may not take a Multicast (Class D) address
647
Any assignment (implicit or otherwise) of an instance
648
of this object to a value x must be rejected if the
649
bitwise logical-AND of x with the value of the
650
corresponding instance of the ipCidrRouteMask object is
652
::= { ipCidrRouteEntry 1 }
654
ipCidrRouteMask OBJECT-TYPE
662
"Indicate the mask to be logical-ANDed with the
663
destination address before being compared to the value
664
in the ipCidrRouteDest field. For those systems that
665
do not support arbitrary subnet masks, an agent
666
constructs the value of the ipCidrRouteMask by
667
reference to the IP Address Class.
669
Any assignment (implicit or otherwise) of an instance
670
of this object to a value x must be rejected if the
671
bitwise logical-AND of x with the value of the
672
corresponding instance of the ipCidrRouteDest object is
673
not equal to ipCidrRouteDest."
674
::= { ipCidrRouteEntry 2 }
677
ipCidrRouteTos OBJECT-TYPE
678
SYNTAX Integer32 (0..2147483647)
682
"The policy specifier is the IP TOS Field. The encoding
683
of IP TOS is as specified by the following convention.
684
Zero indicates the default path if no more specific
687
+-----+-----+-----+-----+-----+-----+-----+-----+
689
| PRECEDENCE | TYPE OF SERVICE | 0 |
691
+-----+-----+-----+-----+-----+-----+-----+-----+
694
Field Policy Field Policy
695
Contents Code Contents Code
696
0 0 0 0 ==> 0 0 0 0 1 ==> 2
697
0 0 1 0 ==> 4 0 0 1 1 ==> 6
698
0 1 0 0 ==> 8 0 1 0 1 ==> 10
699
0 1 1 0 ==> 12 0 1 1 1 ==> 14
700
1 0 0 0 ==> 16 1 0 0 1 ==> 18
701
1 0 1 0 ==> 20 1 0 1 1 ==> 22
705
1 1 0 0 ==> 24 1 1 0 1 ==> 26
706
1 1 1 0 ==> 28 1 1 1 1 ==> 30"
707
::= { ipCidrRouteEntry 3 }
709
ipCidrRouteNextHop OBJECT-TYPE
714
"On remote routes, the address of the next system en
715
route; Otherwise, 0.0.0.0."
716
::= { ipCidrRouteEntry 4 }
718
ipCidrRouteIfIndex OBJECT-TYPE
720
MAX-ACCESS read-create
723
"The ifIndex value that identifies the local interface
724
through which the next hop of this route should be
727
::= { ipCidrRouteEntry 5 }
729
ipCidrRouteType OBJECT-TYPE
731
other (1), -- not specified by this MIB
732
reject (2), -- route that discards traffic
733
local (3), -- local interface
734
remote (4) -- remote destination
736
MAX-ACCESS read-create
739
"The type of route. Note that local(3) refers to a
740
route for which the next hop is the final destination;
741
remote(4) refers to a route for which the next hop is
742
not the final destination.
744
Routes that do not result in traffic forwarding or
745
rejection should not be displayed, even if the
746
implementation keeps them stored internally.
748
reject (2) refers to a route that, if matched,
749
discards the message as unreachable. This is used in
750
some protocols as a means of correctly aggregating
752
::= { ipCidrRouteEntry 6 }
757
ipCidrRouteProto OBJECT-TYPE
759
other (1), -- not specified
760
local (2), -- local interface
761
netmgmt (3), -- static route
762
icmp (4), -- result of ICMP Redirect
764
-- the following are all dynamic
766
egp (5), -- Exterior Gateway Protocol
767
ggp (6), -- Gateway-Gateway Protocol
768
hello (7), -- FuzzBall HelloSpeak
769
rip (8), -- Berkeley RIP or RIP-II
770
isIs (9), -- Dual IS-IS
771
esIs (10), -- ISO 9542
772
ciscoIgrp (11), -- Cisco IGRP
773
bbnSpfIgp (12), -- BBN SPF IGP
774
ospf (13), -- Open Shortest Path First
775
bgp (14), -- Border Gateway Protocol
776
idpr (15), -- InterDomain Policy Routing
777
ciscoEigrp (16) -- Cisco EIGRP
782
"The routing mechanism via which this route was learned.
783
Inclusion of values for gateway routing protocols is
784
not intended to imply that hosts should support those
786
::= { ipCidrRouteEntry 7 }
788
ipCidrRouteAge OBJECT-TYPE
793
"The number of seconds since this route was last updated
794
or otherwise determined to be correct. Note that no
795
semantics of `too old' can be implied, except through
796
knowledge of the routing protocol by which the route
799
::= { ipCidrRouteEntry 8 }
801
ipCidrRouteInfo OBJECT-TYPE
802
SYNTAX OBJECT IDENTIFIER
803
MAX-ACCESS read-create
809
"A reference to MIB definitions specific to the
810
particular routing protocol that is responsible for
811
this route, as determined by the value specified in the
812
route's ipCidrRouteProto value. If this information is
813
not present, its value should be set to the OBJECT
814
IDENTIFIER { 0 0 }, which is a syntactically valid
815
object identifier, and any implementation conforming to
816
ASN.1 and the Basic Encoding Rules must be able to
817
generate and recognize this value."
818
::= { ipCidrRouteEntry 9 }
820
ipCidrRouteNextHopAS OBJECT-TYPE
822
MAX-ACCESS read-create
825
"The Autonomous System Number of the Next Hop. The
826
semantics of this object are determined by the routing-
827
protocol specified in the route's ipCidrRouteProto
828
value. When this object is unknown or not relevant, its
829
value should be set to zero."
831
::= { ipCidrRouteEntry 10 }
833
ipCidrRouteMetric1 OBJECT-TYPE
835
MAX-ACCESS read-create
838
"The primary routing metric for this route. The
839
semantics of this metric are determined by the routing-
840
protocol specified in the route's ipCidrRouteProto
841
value. If this metric is not used, its value should be
844
::= { ipCidrRouteEntry 11 }
846
ipCidrRouteMetric2 OBJECT-TYPE
848
MAX-ACCESS read-create
851
"An alternate routing metric for this route. The
852
semantics of this metric are determined by the routing-
853
protocol specified in the route's ipCidrRouteProto
854
value. If this metric is not used, its value should be
860
::= { ipCidrRouteEntry 12 }
862
ipCidrRouteMetric3 OBJECT-TYPE
864
MAX-ACCESS read-create
867
"An alternate routing metric for this route. The
868
semantics of this metric are determined by the routing-
869
protocol specified in the route's ipCidrRouteProto
870
value. If this metric is not used, its value should be
873
::= { ipCidrRouteEntry 13 }
875
ipCidrRouteMetric4 OBJECT-TYPE
877
MAX-ACCESS read-create
880
"An alternate routing metric for this route. The
881
semantics of this metric are determined by the routing-
882
protocol specified in the route's ipCidrRouteProto
883
value. If this metric is not used, its value should be
886
::= { ipCidrRouteEntry 14 }
888
ipCidrRouteMetric5 OBJECT-TYPE
890
MAX-ACCESS read-create
893
"An alternate routing metric for this route. The
894
semantics of this metric are determined by the routing-
895
protocol specified in the route's ipCidrRouteProto
896
value. If this metric is not used, its value should be
899
::= { ipCidrRouteEntry 15 }
901
ipCidrRouteStatus OBJECT-TYPE
903
MAX-ACCESS read-create
909
"The row status variable, used according to row
910
installation and removal conventions."
911
::= { ipCidrRouteEntry 16 }
914
ipForwardCompliance MODULE-COMPLIANCE
917
"The compliance statement for SNMPv2 entities that
918
implement the ipForward MIB.
920
This compliance statement has been deprecated and
921
replaced with ipForwardFullCompliance and
922
ipForwardReadOnlyCompliance."
924
MODULE -- this module
925
MANDATORY-GROUPS { ipForwardCidrRouteGroup }
927
::= { ipForwardCompliances 1 }
930
ipForwardCidrRouteGroup OBJECT-GROUP
931
OBJECTS { ipCidrRouteNumber,
932
ipCidrRouteDest, ipCidrRouteMask, ipCidrRouteTos,
933
ipCidrRouteNextHop, ipCidrRouteIfIndex,
934
ipCidrRouteType, ipCidrRouteProto, ipCidrRouteAge,
935
ipCidrRouteInfo,ipCidrRouteNextHopAS,
936
ipCidrRouteMetric1, ipCidrRouteMetric2,
937
ipCidrRouteMetric3, ipCidrRouteMetric4,
938
ipCidrRouteMetric5, ipCidrRouteStatus
942
"The CIDR Route Table.
944
This group has been deprecated and replaced with
945
inetForwardCidrRouteGroup."
946
::= { ipForwardGroups 3 }
949
ipForwardNumber OBJECT-TYPE
957
"The number of current ipForwardTable entries that are
963
ipForwardTable OBJECT-TYPE
964
SYNTAX SEQUENCE OF IpForwardEntry
965
MAX-ACCESS not-accessible
968
"This entity's IP Routing table."
970
"RFC 1213 Section 6.6, The IP Group"
973
ipForwardEntry OBJECT-TYPE
974
SYNTAX IpForwardEntry
975
MAX-ACCESS not-accessible
978
"A particular route to a particular destination, under a
986
::= { ipForwardTable 1 }
988
IpForwardEntry ::= SEQUENCE {
989
ipForwardDest IpAddress,
990
ipForwardMask IpAddress,
991
ipForwardPolicy Integer32,
992
ipForwardNextHop IpAddress,
993
ipForwardIfIndex Integer32,
994
ipForwardType INTEGER,
995
ipForwardProto INTEGER,
996
ipForwardAge Integer32,
997
ipForwardInfo OBJECT IDENTIFIER,
998
ipForwardNextHopAS Integer32,
999
ipForwardMetric1 Integer32,
1003
ipForwardMetric2 Integer32,
1004
ipForwardMetric3 Integer32,
1005
ipForwardMetric4 Integer32,
1006
ipForwardMetric5 Integer32
1009
ipForwardDest OBJECT-TYPE
1011
MAX-ACCESS read-only
1014
"The destination IP address of this route. An entry
1015
with a value of 0.0.0.0 is considered a default route.
1017
This object may not take a Multicast (Class D) address
1020
Any assignment (implicit or otherwise) of an instance
1021
of this object to a value x must be rejected if the
1022
bitwise logical-AND of x with the value of the
1023
corresponding instance of the ipForwardMask object is
1025
::= { ipForwardEntry 1 }
1027
ipForwardMask OBJECT-TYPE
1029
MAX-ACCESS read-create
1032
"Indicate the mask to be logical-ANDed with the
1033
destination address before being compared to the value
1034
in the ipForwardDest field. For those systems that do
1035
not support arbitrary subnet masks, an agent constructs
1036
the value of the ipForwardMask by reference to the IP
1039
Any assignment (implicit or otherwise) of an instance
1040
of this object to a value x must be rejected if the
1041
bitwise logical-AND of x with the value of the
1042
corresponding instance of the ipForwardDest object is
1043
not equal to ipForwardDest."
1044
DEFVAL { '00000000'H } -- 0.0.0.0
1045
::= { ipForwardEntry 2 }
1051
ipForwardPolicy OBJECT-TYPE
1052
SYNTAX Integer32 (0..2147483647)
1053
MAX-ACCESS read-only
1056
"The general set of conditions that would cause
1057
the selection of one multipath route (set of
1058
next hops for a given destination) is referred
1061
Unless the mechanism indicated by ipForwardProto
1062
specifies otherwise, the policy specifier is
1063
the IP TOS Field. The encoding of IP TOS is as
1064
specified by the following convention. Zero
1065
indicates the default path if no more specific
1068
+-----+-----+-----+-----+-----+-----+-----+-----+
1070
| PRECEDENCE | TYPE OF SERVICE | 0 |
1072
+-----+-----+-----+-----+-----+-----+-----+-----+
1077
Field Policy Field Policy
1078
Contents Code Contents Code
1079
0 0 0 0 ==> 0 0 0 0 1 ==> 2
1080
0 0 1 0 ==> 4 0 0 1 1 ==> 6
1081
0 1 0 0 ==> 8 0 1 0 1 ==> 10
1082
0 1 1 0 ==> 12 0 1 1 1 ==> 14
1083
1 0 0 0 ==> 16 1 0 0 1 ==> 18
1084
1 0 1 0 ==> 20 1 0 1 1 ==> 22
1085
1 1 0 0 ==> 24 1 1 0 1 ==> 26
1086
1 1 1 0 ==> 28 1 1 1 1 ==> 30
1088
Protocols defining 'policy' otherwise must either
1089
define a set of values that are valid for
1090
this object or must implement an integer-instanced
1091
policy table for which this object's
1092
value acts as an index."
1093
::= { ipForwardEntry 3 }
1095
ipForwardNextHop OBJECT-TYPE
1100
MAX-ACCESS read-only
1103
"On remote routes, the address of the next system en
1104
route; otherwise, 0.0.0.0."
1105
::= { ipForwardEntry 4 }
1107
ipForwardIfIndex OBJECT-TYPE
1109
MAX-ACCESS read-create
1112
"The ifIndex value that identifies the local interface
1113
through which the next hop of this route should be
1116
::= { ipForwardEntry 5 }
1118
ipForwardType OBJECT-TYPE
1120
other (1), -- not specified by this MIB
1121
invalid (2), -- logically deleted
1122
local (3), -- local interface
1123
remote (4) -- remote destination
1125
MAX-ACCESS read-create
1128
"The type of route. Note that local(3) refers to a
1129
route for which the next hop is the final destination;
1130
remote(4) refers to a route for which the next hop is
1131
not the final destination.
1133
Setting this object to the value invalid(2) has the
1134
effect of invalidating the corresponding entry in the
1135
ipForwardTable object. That is, it effectively
1136
disassociates the destination identified with said
1137
entry from the route identified with said entry. It is
1138
an implementation-specific matter as to whether the
1139
agent removes an invalidated entry from the table.
1140
Accordingly, management stations must be prepared to
1141
receive tabular information from agents that
1142
corresponds to entries not currently in use. Proper
1143
interpretation of such entries requires examination of
1144
the relevant ipForwardType object."
1146
::= { ipForwardEntry 6 }
1151
ipForwardProto OBJECT-TYPE
1153
other (1), -- not specified
1154
local (2), -- local interface
1155
netmgmt (3), -- static route
1156
icmp (4), -- result of ICMP Redirect
1158
-- the following are all dynamic
1159
-- routing protocols
1160
egp (5), -- Exterior Gateway Protocol
1161
ggp (6), -- Gateway-Gateway Protocol
1162
hello (7), -- FuzzBall HelloSpeak
1163
rip (8), -- Berkeley RIP or RIP-II
1164
is-is (9), -- Dual IS-IS
1165
es-is (10), -- ISO 9542
1166
ciscoIgrp (11), -- Cisco IGRP
1167
bbnSpfIgp (12), -- BBN SPF IGP
1168
ospf (13), -- Open Shortest Path First
1169
bgp (14), -- Border Gateway Protocol
1170
idpr (15) -- InterDomain Policy Routing
1172
MAX-ACCESS read-only
1175
"The routing mechanism via which this route was learned.
1176
Inclusion of values for gateway routing protocols is
1177
not intended to imply that hosts should support those
1179
::= { ipForwardEntry 7 }
1181
ipForwardAge OBJECT-TYPE
1183
MAX-ACCESS read-only
1186
"The number of seconds since this route was last updated
1187
or otherwise determined to be correct. Note that no
1188
semantics of `too old' can be implied except through
1189
knowledge of the routing protocol by which the route
1192
::= { ipForwardEntry 8 }
1194
ipForwardInfo OBJECT-TYPE
1195
SYNTAX OBJECT IDENTIFIER
1196
MAX-ACCESS read-create
1202
"A reference to MIB definitions specific to the
1203
particular routing protocol that is responsible for
1204
this route, as determined by the value specified in the
1205
route's ipForwardProto value. If this information is
1206
not present, its value should be set to the OBJECT
1207
IDENTIFIER { 0 0 }, which is a syntactically valid
1208
object identifier, and any implementation conforming to
1209
ASN.1 and the Basic Encoding Rules must be able to
1210
generate and recognize this value."
1211
::= { ipForwardEntry 9 }
1213
ipForwardNextHopAS OBJECT-TYPE
1215
MAX-ACCESS read-create
1218
"The Autonomous System Number of the Next Hop. When
1219
this is unknown or not relevant to the protocol
1220
indicated by ipForwardProto, zero."
1222
::= { ipForwardEntry 10 }
1224
ipForwardMetric1 OBJECT-TYPE
1226
MAX-ACCESS read-create
1229
"The primary routing metric for this route. The
1230
semantics of this metric are determined by the routing-
1231
protocol specified in the route's ipForwardProto value.
1232
If this metric is not used, its value should be set to
1235
::= { ipForwardEntry 11 }
1237
ipForwardMetric2 OBJECT-TYPE
1239
MAX-ACCESS read-create
1242
"An alternate routing metric for this route. The
1243
semantics of this metric are determined by the routing-
1244
protocol specified in the route's ipForwardProto value.
1245
If this metric is not used, its value should be set to
1248
::= { ipForwardEntry 12 }
1253
ipForwardMetric3 OBJECT-TYPE
1255
MAX-ACCESS read-create
1258
"An alternate routing metric for this route. The
1259
semantics of this metric are determined by the routing-
1260
protocol specified in the route's ipForwardProto value.
1261
If this metric is not used, its value should be set to
1264
::= { ipForwardEntry 13 }
1266
ipForwardMetric4 OBJECT-TYPE
1268
MAX-ACCESS read-create
1271
"An alternate routing metric for this route. The
1272
semantics of this metric are determined by the routing-
1273
protocol specified in the route's ipForwardProto value.
1274
If this metric is not used, its value should be set to
1277
::= { ipForwardEntry 14 }
1279
ipForwardMetric5 OBJECT-TYPE
1281
MAX-ACCESS read-create
1284
"An alternate routing metric for this route. The
1285
semantics of this metric are determined by the routing-
1286
protocol specified in the route's ipForwardProto value.
1287
If this metric is not used, its value should be set to
1290
::= { ipForwardEntry 15 }
1293
ipForwardOldCompliance MODULE-COMPLIANCE
1296
"The compliance statement for SNMP entities that
1297
implement the ipForward MIB."
1302
MODULE -- this module
1303
MANDATORY-GROUPS { ipForwardMultiPathGroup }
1305
::= { ipForwardCompliances 2 }
1307
ipForwardMultiPathGroup OBJECT-GROUP
1308
OBJECTS { ipForwardNumber,
1309
ipForwardDest, ipForwardMask, ipForwardPolicy,
1310
ipForwardNextHop, ipForwardIfIndex, ipForwardType,
1311
ipForwardProto, ipForwardAge, ipForwardInfo,
1313
ipForwardMetric1, ipForwardMetric2, ipForwardMetric3,
1314
ipForwardMetric4, ipForwardMetric5
1318
"IP Multipath Route Table."
1319
::= { ipForwardGroups 2 }