-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCISCOSB-IpRouter
executable file
·1640 lines (1458 loc) · 47.6 KB
/
CISCOSB-IpRouter
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
CISCOSB-IpRouter DEFINITIONS ::= BEGIN
-- Title: CISCOSB IP Router Private Extension
-- Version: 7.37.00.00
-- Date: 17 May 2004
IMPORTS
rip2Spec, ipRedundancy, ipRouteLeaking, ipRipFilter,
rlIpRoutingProtPreference, rlOspf, ipSpec FROM CISCOSB-IP
rip2IfConfEntry FROM RFC1389-MIB
ospfIfEntry, AreaID, RouterID, ospfVirtIfEntry FROM OSPF-MIB
Unsigned32, Integer32, Counter32, IpAddress,
MODULE-IDENTITY, OBJECT-TYPE FROM SNMPv2-SMI
DisplayString, RowStatus, TruthValue,
TEXTUAL-CONVENTION FROM SNMPv2-TC;
rlIpRouter MODULE-IDENTITY
LAST-UPDATED "200406010000Z"
ORGANIZATION "Cisco Small Business"
CONTACT-INFO
"Postal: 170 West Tasman Drive
San Jose , CA 95134-1706
USA
Website: Cisco Small Business Home http://www.cisco.com/smb>;,
Cisco Small Business Support Community <http://www.cisco.com/go/smallbizsupport>"
DESCRIPTION
"The private MIB module definition for switch001 router MIB."
REVISION "200406010000Z"
DESCRIPTION
"Initial version of this MIB."
::= { ipSpec 18 }
--
-- RIP
--
rsRip2IfConfTable OBJECT-TYPE
SYNTAX SEQUENCE OF RsRip2IfConfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is extension of rip2IfConfTable (RFC 1389 ,RIP 2)"
::= { rip2Spec 1 }
rsRip2IfConfEntry OBJECT-TYPE
SYNTAX RsRip2IfConfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The row definition for this table."
INDEX { rsRip2IfConfAddress }
::= { rsRip2IfConfTable 1 }
RsRip2IfConfEntry ::= SEQUENCE {
rsRip2IfConfAddress IpAddress,
rsRip2IfConfVirtualDis INTEGER,
rsRip2IfConfAutoSend INTEGER,
rlRip2IfConfKeyChain DisplayString
}
rsRip2IfConfAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" The IP Address of this system on the indicated subnet. "
::= { rsRip2IfConfEntry 1 }
rsRip2IfConfVirtualDis OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable defines the virtual number of hops assigned to
the interface specified by rsIfIpAddrIndex. This enables
fine-tuning of the RIP routing algorithm."
DEFVAL { 1 }
::= { rsRip2IfConfEntry 2 }
rsRip2IfConfAutoSend OBJECT-TYPE
SYNTAX INTEGER {
enable (1),
disable (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable controls RIP automatic send behavior. If enabled
and no routers were heard on the interface, RIP will only send
default route with high metric. Otherwise RIP will send updates
according to configuration. "
DEFVAL {enable}
::= { rsRip2IfConfEntry 3 }
rlRip2IfConfKeyChain OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Name of the key-chain which rip2
interface uses for md5 authentication"
::= { rsRip2IfConfEntry 4 }
rlRip2AutoInterfaceCreation OBJECT-TYPE
SYNTAX INTEGER {
enable (1),
disable (2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This variable controls RIP automatic creation and activation of
interfaces. If value is enable - IP interface creation results in
creation and activation of rip Interface. If value is disable
Rip interface is created but not activated.
The option is a platform parameter."
::= { rip2Spec 2 }
rlRip2MibVersion OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"MIB's version, the current version is 1."
::= { rip2Spec 3 }
--
-- CISCOSB Private IP Router Redundancy
--
ipRedundAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This parameter controls the IP Redundancy in the device.
In case the parameter is Enable and the other router
becomes inoperational, all the traffic is handled by
this element."
DEFVAL {disable }
::= { ipRedundancy 1 }
ipRedundOperStatus OBJECT-TYPE
SYNTAX INTEGER {
active(1),
inactive(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" obsolete "
DEFVAL {inactive}
::= { ipRedundancy 2 }
ipRedundRoutersTable OBJECT-TYPE
SYNTAX SEQUENCE OF IpRedundRoutersEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"List of IP addresses backed up by this router."
::= {ipRedundancy 3 }
ipRedundRoutersEntry OBJECT-TYPE
SYNTAX IpRedundRoutersEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" The row definition for this table."
INDEX {ipRedundRoutersIfAddr, ipRedundRoutersMainRouterAddr}
::= {ipRedundRoutersTable 1 }
IpRedundRoutersEntry ::= SEQUENCE {
ipRedundRoutersIfAddr IpAddress,
ipRedundRoutersMainRouterAddr IpAddress,
ipRedundRoutersOperStatus INTEGER,
ipRedundRoutersPollInterval INTEGER,
ipRedundRoutersTimeout INTEGER,
ipRedundRoutersStatus INTEGER
}
ipRedundRoutersIfAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Ip address of the IP interface on which the redundancy feature
is operational."
::= { ipRedundRoutersEntry 1}
ipRedundRoutersMainRouterAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Ip address of the polled main router."
::= { ipRedundRoutersEntry 2}
ipRedundRoutersOperStatus OBJECT-TYPE
SYNTAX INTEGER { active(1), inactive(2) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"If active, the main router is considered inoperational and the IP
interface operates as its backup."
::= { ipRedundRoutersEntry 3 }
ipRedundRoutersPollInterval OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Polling interval for this router (in seconds). If 0 the router is not
polled."
DEFVAL { 3 }
::= { ipRedundRoutersEntry 4 }
ipRedundRoutersTimeout OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Interval in seconds during which the backed-up router must signal.
If it does not signal, it is considered inoperational and the IP
interface starts operating as backup."
DEFVAL { 12 }
::= { ipRedundRoutersEntry 5}
ipRedundRoutersStatus OBJECT-TYPE
SYNTAX INTEGER {
active(1),
notInService(2),
notReady(3),
createAndGo(4),
createAndWait(5),
destroy(6)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Entry status"
::= { ipRedundRoutersEntry 6}
--
-- IP Routing Protol leaking
--
ipLeakStaticToRip OBJECT-TYPE
SYNTAX INTEGER {
enable (1),
disable (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This parameter controls leaking (redistribution) of static routes
to RIP. When enabled, all routes inserted to the IP routing table
via SNMP are advertised into RIP."
DEFVAL {enable}
::= { ipRouteLeaking 1 }
ipLeakStaticToOspf OBJECT-TYPE
SYNTAX INTEGER {
enable (1),
disable (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This parameter controls leaking (redistribution) of static routes
into OSPF. When enabled, all routes inserted to the IP routing table
via SNMP are advertised into OSPF as external routes."
DEFVAL {enable}
::= { ipRouteLeaking 2 }
ipLeakOspfToRip OBJECT-TYPE
SYNTAX INTEGER {
enable (1),
disable (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This parameter controls leaking (redistribution) of routes
from OSPF to RIP. If enabled, all routes learned via OSPF
are advertised into RIP."
DEFVAL {disable}
::= { ipRouteLeaking 3 }
ipLeakRipToOspf OBJECT-TYPE
SYNTAX INTEGER {
enable (1),
disable (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This parameter controls leaking (redistribution) of routes
from RIP to OSPF. If enabled, all routes learned via RIP
are advertised into OSPF as external routes."
DEFVAL {disable}
::= { ipRouteLeaking 4 }
ipLeakExtDirectToOspf OBJECT-TYPE
SYNTAX INTEGER {
enable (1),
disable (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This parameter controls leaking (redistribution) into OSPF of
direct routes external to OSPF, i.e. routes to local network
corresponding to IP interfaces on which OSPF is disabled.
When enabled, all such direct routes are advertised into OSPF
as external routes."
DEFVAL {enable}
::= { ipRouteLeaking 5 }
--
-- RIP Filters
--
-- Global RIP filter is defined per IP router.
rsIpRipFilterGlbTable OBJECT-TYPE
SYNTAX SEQUENCE OF RsIpRipFilterGlbEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table of RIP global filters per IP router."
::= { ipRipFilter 1 }
rsIpRipFilterGlbEntry OBJECT-TYPE
SYNTAX RsIpRipFilterGlbEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" An entry in the RIP global filter table "
INDEX { rsIpRipFilterGlbType,
rsIpRipFilterGlbNumber }
::= { rsIpRipFilterGlbTable 1 }
RsIpRipFilterGlbEntry ::= SEQUENCE {
rsIpRipFilterGlbType INTEGER,
rsIpRipFilterGlbNumber INTEGER,
rsIpRipFilterGlbStatus INTEGER,
rsIpRipFilterGlbIpAddr IpAddress,
rsIpRipFilterGlbNetworkMaskBits INTEGER,
rsIpRipFilterGlbMatchBits INTEGER,
rsIpRipFilterGlbAction INTEGER
}
rsIpRipFilterGlbType OBJECT-TYPE
SYNTAX INTEGER {
input(1),
output(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" Type of filter - input/output "
::= {rsIpRipFilterGlbEntry 1}
rsIpRipFilterGlbNumber OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" Number of RIP filter. "
::= {rsIpRipFilterGlbEntry 2}
rsIpRipFilterGlbStatus OBJECT-TYPE
SYNTAX INTEGER {
valid (1),
invalid (2),
underCreation (3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The validity of this entry. Setting this value to invalid deletes
the entry, and the entry may be actualy removed from the table."
DEFVAL { valid }
::= {rsIpRipFilterGlbEntry 3}
rsIpRipFilterGlbIpAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" network prefix IP address, as in the forwarding table. "
DEFVAL {'00000000'H}
::= {rsIpRipFilterGlbEntry 4}
rsIpRipFilterGlbNetworkMaskBits OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" the number of bits in the IP Network mask, called network-prefix-length
in Router Requirements terminology. for example: the value 16 means
mask 255.255.0.0 "
DEFVAL {0}
::= {rsIpRipFilterGlbEntry 5}
rsIpRipFilterGlbMatchBits OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" the number of bits to match in the Network IP address. A value
smaller than 32 defines a wildcard. for example: the value 8 means
all routes whose leftmost 8 bits are equal to those of the network IP
address. If this variable has a value other than 32, than
rsIpRipFilterGlbNetworkMaskBits must be 0 and is ignored. "
DEFVAL {32}
::= {rsIpRipFilterGlbEntry 6}
rsIpRipFilterGlbAction OBJECT-TYPE
SYNTAX INTEGER {
deny(1),
permit(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Filter action - permit/deny for this network"
DEFVAL { permit }
::= {rsIpRipFilterGlbEntry 7}
-- Intf RIP filter is defined per IP Interface
rsIpRipFilterLclTable OBJECT-TYPE
SYNTAX SEQUENCE OF RsIpRipFilterLclEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table of input/output RIP filters used per IP Interface."
::= { ipRipFilter 2 }
rsIpRipFilterLclEntry OBJECT-TYPE
SYNTAX RsIpRipFilterLclEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" An entry in the Intf RIP filter table"
INDEX {rsIpRipFilterLclIpIntf,
rsIpRipFilterLclType,
rsIpRipFilterLclNumber}
::= { rsIpRipFilterLclTable 1 }
RsIpRipFilterLclEntry ::= SEQUENCE {
rsIpRipFilterLclIpIntf IpAddress,
rsIpRipFilterLclType INTEGER,
rsIpRipFilterLclNumber INTEGER,
rsIpRipFilterLclStatus INTEGER,
rsIpRipFilterLclIpAddr IpAddress,
rsIpRipFilterLclNetworkMaskBits INTEGER,
rsIpRipFilterLclMatchBits INTEGER,
rsIpRipFilterLclAction INTEGER
}
rsIpRipFilterLclIpIntf OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" The IP address identifying the RIP interface for this filter.
This value corresponds to rsIpAdEntAddr. "
::= {rsIpRipFilterLclEntry 1}
rsIpRipFilterLclType OBJECT-TYPE
SYNTAX INTEGER {
input(1),
output(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" Type of filter - input/output "
::= {rsIpRipFilterLclEntry 2}
rsIpRipFilterLclNumber OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" Number of RIP filter for this Interface"
::= {rsIpRipFilterLclEntry 3}
rsIpRipFilterLclStatus OBJECT-TYPE
SYNTAX INTEGER {
valid (1),
invalid (2),
underCreation (3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The validity of this entry. Setting this value to invalid deletes
the entry, and the entry may be actualy removed from the table."
DEFVAL { valid }
::= {rsIpRipFilterLclEntry 4}
rsIpRipFilterLclIpAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" network prefix IP address, as in the forwarding table. "
DEFVAL {'00000000'H}
::= {rsIpRipFilterLclEntry 5}
rsIpRipFilterLclNetworkMaskBits OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" the number of bits in the IP Network mask, called network-prefix-length
in Router Requirements terminology. for example: the value 16 means
mask 255.255.0.0 "
DEFVAL {0}
::= {rsIpRipFilterLclEntry 6}
rsIpRipFilterLclMatchBits OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" the number of bits to match in the Network IP address. A value
smaller than 32 defines a wildcard. for example: the value 8 means
all routes whose leftmost 8 bits are equal to those of the network IP
address. If this variable has a value other than 32, than
rsIpRipFilterLclNetworkMaskBits must be 0 and is ignored. "
DEFVAL {32}
::= {rsIpRipFilterLclEntry 7}
rsIpRipFilterLclAction OBJECT-TYPE
SYNTAX INTEGER {
deny(1),
permit(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Filter action - permit/deny "
DEFVAL { permit }
::= {rsIpRipFilterLclEntry 8}
--
-- Ip Routing Protocol Preference
--
-- Mib for Preferance among routing protocols:
-- Range value 0..255 . O is most preferred, 255 never used for forwarding.
-- only exception is direct which range 0..254 we prevent direct from becoming unreachable
-- (according to RFC1812 section 5.2.4)
rlIpRoutingProtPreferenceDirect OBJECT-TYPE
SYNTAX INTEGER (0..254)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The Preference given to routes whose origin is Local
IP (i.e. IP interface in IpAddrTable)
It is proposed that the value will be higher than dynamic routing protocols.
The change of its value may lead to unexpected results, such as routing loops"
DEFVAL { 20 }
::= {rlIpRoutingProtPreference 1}
rlIpRoutingProtPreferenceStatic OBJECT-TYPE
SYNTAX INTEGER (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The Preference given to routes whose origin is Men configured by
Net managment tools, i.e. Command line or SNMP configured."
DEFVAL { 10 }
::= {rlIpRoutingProtPreference 2}
-- For OSPF:
rlIpRoutingProtPreferenceOspfInter OBJECT-TYPE
SYNTAX INTEGER (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The Preference given to routes whose origin is internal
ospf Links.
Relate to routes which are based on
OSPF Link State Advertisements of type 1-4"
DEFVAL { 30 }
::= {rlIpRoutingProtPreference 3}
rlIpRoutingProtPreferenceOspfExt OBJECT-TYPE
SYNTAX INTEGER (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The Preference given to routes whose origin is external to OSPF
i.e. routes imported by as OSPF AS Border router.
Relate to routes which are based on
OSPF Link State Advertisements of types 5 and 7"
DEFVAL { 60 }
::= {rlIpRoutingProtPreference 4}
rlIpRoutingProtPreferenceOspfReject OBJECT-TYPE
SYNTAX INTEGER (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The Preference given to routes whose origin is OSPF
and Are inserted to cover gaps in net range"
DEFVAL { 254 }
::= {rlIpRoutingProtPreference 5}
--For Rip
rlIpRoutingProtPreferenceRipNormal OBJECT-TYPE
SYNTAX INTEGER (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The Preference given to routes whose origin is RIP
routing domain"
DEFVAL { 60 }
::= {rlIpRoutingProtPreference 6}
rlIpRoutingProtPreferenceRipAggregate OBJECT-TYPE
SYNTAX INTEGER (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The Preference given to routes whose origin is aggregation
As a method of rip1 to handle the CIDR schema.
The idea is that ripv1 aggregates route which fall into certion
class of IP. This route is a discard route in effect,
and is referenced, at forwarding route look up, if there is no beter
match. (which means the route is not available)"
DEFVAL { 254 }
::= {rlIpRoutingProtPreference 7}
rlIpRoutingProtPreferenceBgp OBJECT-TYPE
SYNTAX INTEGER (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The Preference given to routes whose origin is
BGP ROUTERS (EBGP or IBGP)"
DEFVAL { 80 }
::= {rlIpRoutingProtPreference 8}
-- We may use it in the future to control
-- the time scalars new values take effect
-- rlRoutePrefChangeTakeEffectAT OBJECT-TYPE
-- SYNTAX INTEGER {
-- afterReset (1),
-- immediate (2)
-- }
-- MAX-ACCESS read-write
-- STATUS current
-- DESCRIPTION
-- "The time the changes to preference of protocols will become in effect.
-- options are:
-- 1. At run time.
-- 2. after rebboting the devise
-- default value 2 to avoid masive routing change at run time
-- "
-- DEFVAL { afterReset }
-- ::= {rlIpRoutingProtPreference 9}
--
-- OSPF
--
rlOspfMibVersion OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"MIB's version, the current version is 1."
::= { rlOspf 1 }
rlOspfAutoInterfaceCreation OBJECT-TYPE
SYNTAX INTEGER {
enable (1),
disable (2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This variable controls OSPF automatic creation and activation of
interfaces. If value is enable - IP interface creation results in
creation and activation of OSPF Interface. If value is disable
OSPF interface is created but not activated.
The option is a platform parameter."
::= { rlOspf 2 }
--Extention to ospfIfTable
rlOspfIfExtTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlOspfIfExtEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The OSPF Interface Table describes the
interfaces from the viewpoint of OSPF."
::= { rlOspf 3 }
rlOspfIfExtEntry OBJECT-TYPE
SYNTAX RlOspfIfExtEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The OSPF interface table extension
for md5 authentication"
AUGMENTS { ospfIfEntry }
::= { rlOspfIfExtTable 1 }
RlOspfIfExtEntry ::= SEQUENCE {
rlOspfifKeyChain DisplayString
}
rlOspfifKeyChain OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Name of the key-chain which ospf
interface uses for md5 authentication"
::= { rlOspfIfExtEntry 1 }
-- OSPF Link State Advertisements
-- OSPF Router LSA
rlOspfRtrLnkTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlOspfRtrLnkEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Router Link State Advertisement."
::= { rlOspf 4 }
rlOspfRtrLnkEntry OBJECT-TYPE
SYNTAX RlOspfRtrLnkEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A single entry from Router LSA."
INDEX { rlOspfRtrLnkAreaId, rlOspfRtrLnkLsid,
rlOspfRtrLnkRouterId, rlOspfRtrLnkIdx }
::= { rlOspfRtrLnkTable 1 }
RlOspfRtrLnkEntry ::=
SEQUENCE {
rlOspfRtrLnkAreaId
AreaID,
rlOspfRtrLnkLsid
IpAddress,
rlOspfRtrLnkRouterId
RouterID,
rlOspfRtrLnkIdx
Unsigned32,
rlOspfRtrLnkSequence
Integer32,
rlOspfRtrLnkAge
Integer32,
rlOspfRtrLnkChecksum
Integer32,
rlOspfRtrLnkLength
Unsigned32,
rlOspfRtrLnkBitV
INTEGER,
rlOspfRtrLnkBitE
INTEGER,
rlOspfRtrLnkBitB
INTEGER,
rlOspfRtrLnkLinks
Unsigned32,
rlOspfRtrLnkLinkID
IpAddress,
rlOspfRtrLnkLinkData
IpAddress,
rlOspfRtrLnkType
INTEGER,
rlOspfRtrLnkMetric
Unsigned32
}
rlOspfRtrLnkAreaId OBJECT-TYPE
SYNTAX AreaID
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The 32 bit identifier of the Area from which
the LSA was received."
REFERENCE
"OSPF Version 2, Appendix C.2 Area parameters"
::= { rlOspfRtrLnkEntry 1 }
rlOspfRtrLnkLsid OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Link State ID is an LS Type Specific field
containing either a Router ID or an IP Address;
it identifies the piece of the routing domain
that is being described by the advertisement."
REFERENCE
"OSPF Version 2, Section 12.1.4 Link State ID"
::= { rlOspfRtrLnkEntry 2 }
rlOspfRtrLnkRouterId OBJECT-TYPE
SYNTAX RouterID
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The 32 bit number that uniquely identifies the
originating router in the Autonomous System."
REFERENCE
"OSPF Version 2, Appendix C.1 Global parameters"
::= { rlOspfRtrLnkEntry 3 }
rlOspfRtrLnkIdx OBJECT-TYPE
SYNTAX Unsigned32 (1.. 65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The index is a unsigned 32-bit integer.
It is used as sequence number of entry
in the LSA and relevant only for Router
or Network LSA which can contain
unlimited number of entries."
::= { rlOspfRtrLnkEntry 4 }
rlOspfRtrLnkSequence OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The sequence number field is a signed 32-bit
integer. It is used to detect old and duplicate
link state advertisements. The space of sequence
numbers is linearly ordered. The larger the
sequence number the more recent the advertisement."
REFERENCE
"OSPF Version 2, Section 12.1.6 LS sequence number"
::= { rlOspfRtrLnkEntry 5 }
rlOspfRtrLnkAge OBJECT-TYPE
SYNTAX Integer32 -- Should be 0..MaxAge
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This field is the age of the link state
advertisement in seconds."
REFERENCE
"OSPF Version 2, Section 12.1.1 LS age"
::= { rlOspfRtrLnkEntry 6 }
rlOspfRtrLnkChecksum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This field is the checksum of the complete contents
of the advertisement, excepting the age field.
The age field is excepted so that an advertisement's
age can be incremented without updating the checksum.
The checksum used is the same that is used for ISO
connectionless datagrams; it is commonly referred
to as the Fletcher checksum."
REFERENCE
"OSPF Version 2, Section 12.1.7 LS checksum"
::= { rlOspfRtrLnkEntry 7 }
rlOspfRtrLnkLength OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The lenth in bytes of the LSA.
This includes the 20 byte LSA header."
::= { rlOspfRtrLnkEntry 8 }
rlOspfRtrLnkBitV OBJECT-TYPE
SYNTAX INTEGER {
off(1),
on(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"When set, the router is an endpoint
of one or more fully adjacent virtual
links having the described area as Transit
area (V is for virtual link endpoint)."
::= { rlOspfRtrLnkEntry 9 }
rlOspfRtrLnkBitE OBJECT-TYPE
SYNTAX INTEGER {
off(1),
on(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"When set, the router is an AS
boundary router (E is for external)."
::= { rlOspfRtrLnkEntry 10 }
rlOspfRtrLnkBitB OBJECT-TYPE
SYNTAX INTEGER {
off(1),
on(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"When set, the router is an area
border router (B is for border)."
::= { rlOspfRtrLnkEntry 11 }
rlOspfRtrLnkLinks OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of router links described in this LSA.
This must be the total collection of router links
(i.e., interfaces) to the area."
::= { rlOspfRtrLnkEntry 12 }
rlOspfRtrLnkLinkID OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Identifies the object that this router link
connects to. Value depends on the link's Type."
::= { rlOspfRtrLnkEntry 13 }
rlOspfRtrLnkLinkData OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Value depends on the link's Type field."
::= { rlOspfRtrLnkEntry 14 }
rlOspfRtrLnkType OBJECT-TYPE
SYNTAX INTEGER {
pointToPoint(1),
transitNetwork(2),
stubNetwork(3),
virtualLink(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A quick description of the router link."
::= { rlOspfRtrLnkEntry 15 }
rlOspfRtrLnkMetric OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The cost of using this router link."
::= { rlOspfRtrLnkEntry 16 }
-- OSPF Network LSA
rlOspfNetLnkTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlOspfNetLnkEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Network Link State Advertisement."
::= { rlOspf 5 }
rlOspfNetLnkEntry OBJECT-TYPE