-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathCISCO-CONFIG-COPY-MIB-V1SMI.my
909 lines (841 loc) · 29.3 KB
/
CISCO-CONFIG-COPY-MIB-V1SMI.my
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
-- MIB file created 30-Sep-2008 10:32:14, by
-- SMICng version 2.2.11-beta(PRO)(Solaris), January 20, 2001. Enterprise key cisco.com
CISCO-CONFIG-COPY-MIB DEFINITIONS ::= BEGIN
-- From file: "CISCO-CONFIG-COPY-MIB.my"
-- Compile options "4 7 F H N O W 03 06 0B 0G 0N 0T"
IMPORTS
DisplayString, TimeStamp, RowStatus, TruthValue
FROM SNMPv2-TC-v1
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
ciscoMgmt
FROM CISCO-SMI
InetAddressType, InetAddress
FROM INET-ADDRESS-MIB
FcNameIdOrZero
FROM CISCO-ST-TC
Gauge, IpAddress
FROM RFC1155-SMI
OBJECT-TYPE
FROM RFC-1212
TRAP-TYPE
FROM RFC-1215;
ciscoConfigCopyMIB OBJECT IDENTIFIER ::= { ciscoMgmt 96 }
-- MODULE-IDENTITY
-- LastUpdated
-- 200504060000Z
-- OrgName
-- Cisco Systems, Inc.
-- ContactInfo
-- Cisco Systems
-- Customer Service
--
-- Postal: 170 W. Tasman Drive
-- San Jose, CA 95134
-- USA
--
-- Tel: +1 800 553-NETS
--
-- E-mail: [email protected]
-- Descr
-- This MIB facilitates writing of configuration files
-- of an SNMP Agent running Cisco's IOS in the
-- following ways: to and from the net, copying running
-- configurations to startup configurations and
-- vice-versa, and copying a configuration
-- (running or startup) to and from the local
-- IOS file system.
-- RevDate
-- 200504060000Z
-- RevDescr
-- Added new enumeration value fabricStartupConfig to
-- ConfigFileType textual convention.
-- Added new table ccCopyErrorTable.
-- Added new enumeration values: systemNotReady and
-- requestAborted to ConfigCopyFailCause.
-- RevDate
-- 200403170000Z
-- RevDescr
-- The object ccCopyServerAddress is deprecated since it
-- supports only IPv4 address. Two new objects are
-- defined ccCopyServerAddressType and
-- ccCopyServerAddressRev1.
-- RevDate
-- 200212170000Z
-- RevDescr
-- Added a new enumeration value
-- someConfigApplyFailed(7) to ConfigCopyFailCause TC.
-- RevDate
-- 200205300000Z
-- RevDescr
-- Added sftp protocol as an option for
-- ConfigCopyProtocol.
-- RevDate
-- 200205070000Z
-- RevDescr
-- Added scp protocol as an option for
-- ConfigCopyProtocol.
-- Added unsupportedProtocol(6) as an option for the
-- ConfigCopyFailCause TC.
-- RevDate
-- 200203280000Z
-- RevDescr
-- Imported Unsigned32 from SNMPv2-SMI instead of
-- CISCO-TC
ciscoConfigCopyMIBObjects OBJECT IDENTIFIER ::= { ciscoConfigCopyMIB 1 }
ccCopy OBJECT IDENTIFIER ::= { ciscoConfigCopyMIBObjects 1 }
ciscoConfigCopyMIBTrapPrefix OBJECT IDENTIFIER ::= { ciscoConfigCopyMIB 2 }
ccCopyMIBTraps OBJECT IDENTIFIER ::= { ciscoConfigCopyMIBTrapPrefix 1 }
ciscoConfigCopyMIBConformance OBJECT IDENTIFIER ::= { ciscoConfigCopyMIB 3 }
ccCopyMIBCompliances OBJECT IDENTIFIER ::= { ciscoConfigCopyMIBConformance 1 }
ccCopyMIBGroups OBJECT IDENTIFIER ::= { ciscoConfigCopyMIBConformance 2 }
ConfigCopyProtocol ::= INTEGER {
tftp(1),
ftp(2),
rcp(3),
scp(4),
sftp(5)
}
-- TEXTUAL-CONVENTION
-- Status
-- mandatory
-- Descr
-- The protocol file transfer protocol that should be
-- used to copy the configuration file over the
-- network. If the config file transfer is to occur
-- locally on the SNMP agent, the method of transfer
-- is left up to the implementation, and is not
-- restricted to the protocols below.
--
-- tftp: Transfer File Transfer Protocol
--
-- ftp: File Transfer protocol
--
-- rcp: Remote Copy Protocol
--
-- scp: Secure Copy Protocol
--
-- sftp: Secure File Transfer Protocol
ConfigCopyState ::= INTEGER {
waiting(1),
running(2),
successful(3),
failed(4)
}
-- TEXTUAL-CONVENTION
-- Status
-- mandatory
-- Descr
-- The state of a TFTP config-copy operation.
-- The description of each state is given below:
--
-- waiting: only one config-copy request can run
-- at any time. A newly activated
-- config-copy request is placed in this
-- state if another request has already
-- been activated.
--
-- running: this state signifies that the
-- config-copy request is running.
--
-- successful: the state when a config-copy request
-- is successfully completed.
--
-- failed: the config-copy request was
-- unsuccessful.
ConfigCopyFailCause ::= INTEGER {
unknown(1),
badFileName(2),
timeout(3),
noMem(4),
noConfig(5),
unsupportedProtocol(6),
someConfigApplyFailed(7),
systemNotReady(8),
requestAborted(9)
}
-- TEXTUAL-CONVENTION
-- Status
-- mandatory
-- Descr
-- The reason a config-copy request failed.
--
-- unknown: very descriptive.
--
-- badFileName: check your file
-- name/path/permissions.
--
-- timeout: the network may be overloaded,
-- or the remote file server may not
-- be responding.
--
-- noMem: the Agent wasn't able to allocate
-- memory for the config-copy
-- operation.
--
-- noConfig: the agent-config selected as the
-- source was non-existent.
--
-- unsupportedProtocol: the protocol is not
-- supported by the agent.
--
-- someConfigApplyFailed: applying of some of the
-- configuration commands
-- failed.
--
-- systemNotReady: system is not ready to copy.
--
-- requestAborted: config copy operation aborted.
ConfigFileType ::= INTEGER {
networkFile(1),
iosFile(2),
startupConfig(3),
runningConfig(4),
terminal(5),
fabricStartupConfig(6)
}
-- TEXTUAL-CONVENTION
-- Status
-- mandatory
-- Descr
-- The various types of files on which a config-copy
-- operation can be performed.
--
-- networkFile: file on another network device,
-- e.g. a file-server on the
-- network.
--
-- iosFile: a file on the local agent, other
-- than startup or running config.
--
-- startupConfig: a startup config file.
--
-- runningConfig: a running config file.
--
-- terminal: a terminal (e.g. the console
-- window) on which the config is
-- to be displayed.
--
-- fabricStartupConfig: a file type which can be
-- used for a destination file;
-- when a running-config is to
-- copied to a destination of
-- this type, the file is copied
-- to the startup config on all
-- devices in the fabric. Such
-- a fabric could, for example,
-- be a Fibre Channel fabric,
-- or even a MAC-based fabric.
ccCopyTable OBJECT-TYPE
SYNTAX SEQUENCE OF CcCopyEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A table of config-copy requests."
::= { ccCopy 1 }
ccCopyEntry OBJECT-TYPE
SYNTAX CcCopyEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A config-copy request.
A management station wishing to create an entry
should first generate a random serial number to be
used as the index to this sparse table. The station
should then create the associated instance of the
row status and row index objects. It must also,
either in the same or in successive PDUs, create an
instance of ccCopySourceFileType and
ccCopyDestFileType.
At least one of the file types defined in
ConfigFileType TC must be an agent-config file type
(i.e. 'startupConfig' or 'runningConfig').
If one of the file types is a 'networkFile', a valid
ccCopyFileName and ccCopyServerAddressType and
ccCopyServerAddressRev1 or just ccCopyServerAddress
must be created as well. If ccCopyServerAddress is
created then ccCopyServerAddressRev1 will store the
same IP address and ccCopyServerAddressType will
take the value 'ipv4'.
For a file type of 'iosFile', only
a valid ccCopyFileName needs to be created as an
extra parameter.
It should also modify the default values for the
other configuration objects if the defaults are not
appropriate.
Once the appropriate instance of all the
configuration objects have been created, either by
an explicit SNMP set request or by default, the row
status should be set to active to initiate the
request. Note that this entire procedure may be
initiated via a single set request which specifies
a row status of createAndGo as well as
specifies valid values for the non-defaulted
configuration objects.
Once the config-copy request has been created
(i.e. the ccCopyEntryRowStatus has been made
active), the entry cannot be modified - the only
operation possible after this is to delete the row.
Once the request completes, the management station
should retrieve the values of the status objects of
interest, and should then delete the entry. In
order to prevent old entries from clogging the
table, entries will be aged out, but an entry will
ever be deleted within 5 minutes of completing."
INDEX { ccCopyIndex }
::= { ccCopyTable 1 }
CcCopyEntry ::= SEQUENCE {
ccCopyIndex Gauge,
ccCopyProtocol ConfigCopyProtocol,
ccCopySourceFileType ConfigFileType,
ccCopyDestFileType ConfigFileType,
ccCopyServerAddress IpAddress,
ccCopyFileName DisplayString,
ccCopyUserName DisplayString,
ccCopyUserPassword DisplayString,
ccCopyNotificationOnCompletion TruthValue,
ccCopyState ConfigCopyState,
ccCopyTimeStarted TimeStamp,
ccCopyTimeCompleted TimeStamp,
ccCopyFailCause ConfigCopyFailCause,
ccCopyEntryRowStatus RowStatus,
ccCopyServerAddressType InetAddressType,
ccCopyServerAddressRev1 InetAddress
}
ccCopyIndex OBJECT-TYPE
SYNTAX Gauge(1..2147483647)
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"Object which specifies a unique entry in the
ccCopyTable. A management station wishing
to initiate a config-copy operation should use a
random value for this object when creating
or modifying an instance of a ccCopyEntry.
The RowStatus semantics of the ccCopyEntryRowStatus
object will prevent access conflicts."
::= { ccCopyEntry 1 }
ccCopyProtocol OBJECT-TYPE
SYNTAX ConfigCopyProtocol
-- Rsyntax INTEGER {
-- tftp(1),
-- ftp(2),
-- rcp(3),
-- scp(4),
-- sftp(5)
-- }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The protocol to be used for any copy.
If the copy operation occurs locally on the SNMP
agent (e.g. 'runningConfig' to 'startupConfig'),
this object may be ignored by the implementation."
DEFVAL { tftp }
::= { ccCopyEntry 2 }
ccCopySourceFileType OBJECT-TYPE
SYNTAX ConfigFileType
-- Rsyntax INTEGER {
-- networkFile(1),
-- iosFile(2),
-- startupConfig(3),
-- runningConfig(4),
-- terminal(5),
-- fabricStartupConfig(6)
-- }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Specifies the type of file to copy from. Either the
ccCopySourceFileType or the ccCopyDestFileType
(or both) must be of type 'runningConfig' or
'startupConfig'. Also, the ccCopySourceFileType
must be different from the ccCopyDestFileType.
If the ccCopySourceFileType has the value of
'networkFile', the ccCopyServerAddress/
ccCopyServerAddressRev1 and ccCopyServerAddressType
and ccCopyFileName must also be created, and 3
objects together (ccCopySourceFileType,
ccCopyServerAddressRev1, ccCopyFileName) will
uniquely identify the source file. If
ccCopyServerAddress is created then
ccCopyServerAddressRev1 will store the
same IP address and ccCopyServerAddressType will
take the value 'ipv4'.
If the ccCopySourceFileType is 'iosFile', the
ccCopyFileName must also be created, and the
2 objects together (ccCopySourceFileType,
ccCopyFileName) will uniquely identify the source
file."
::= { ccCopyEntry 3 }
ccCopyDestFileType OBJECT-TYPE
SYNTAX ConfigFileType
-- Rsyntax INTEGER {
-- networkFile(1),
-- iosFile(2),
-- startupConfig(3),
-- runningConfig(4),
-- terminal(5),
-- fabricStartupConfig(6)
-- }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"specifies the type of file to copy to. Either the
ccCopySourceFileType or the ccCopyDestFileType
(or both) must be of type 'runningConfig' or
'startupConfig'. Also, the ccCopySourceFileType
must be different from the ccCopyDestFileType.
If the ccCopyDestFileType has the value of
'networkFile', the
ccCopyServerAddress/ccCopyServerAddressType and
ccCopyServerAddressRev1 and ccCopyFileName must
also be created, and 3 objects together
(ccCopyDestFileType, ccCopyServerAddressRev1,
ccCopyFileName) will uniquely identify the
destination file. If ccCopyServerAddress is created
then ccCopyServerAddressRev1 will store the same IP
address and ccCopyServerAddressType will take the
value 'ipv4'.
If the ccCopyDestFileType is 'iosFile', the
ccCopyFileName must also be created, and the 2
objects together (ccCopyDestFileType,
ccCopyFileName) will uniquely identify the
destination file."
::= { ccCopyEntry 4 }
ccCopyServerAddress OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS deprecated
DESCRIPTION
"The IP address of the TFTP server from (or to)
which to copy the configuration file. This object
must be created when either the
ccCopySourceFileType or ccCopyDestFileType has the
value 'networkFile'.
Values of 0.0.0.0 or FF.FF.FF.FF for
ccCopyServerAddress are not allowed.
Since this object can just hold only IPv4 Transport
type, it is deprecated and replaced by
ccCopyServerAddressRev1."
::= { ccCopyEntry 5 }
ccCopyFileName OBJECT-TYPE
SYNTAX DisplayString
-- Rsyntax OCTET STRING(SIZE(0..255))
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The file name (including the path, if applicable)
of the file. This object must be created when either
the ccCopySourceFileType or ccCopyDestFileType has
the value 'networkFile' or 'iosFile'."
::= { ccCopyEntry 6 }
ccCopyUserName OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..40))
-- Rsyntax OCTET STRING(SIZE(1..40))
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Remote username for copy via FTP, RCP, SFTP or
SCP protocol.
This object must be created when the ccCopyProtocol
is 'rcp', 'scp', 'ftp', or 'sftp'.
If the protocol is RCP, it will override the remote
username configured through the
rcmd remote-username <username>
configuration command.
The remote username is sent as the server username
in an RCP command request sent by the system to a
remote RCP server."
::= { ccCopyEntry 7 }
ccCopyUserPassword OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..40))
-- Rsyntax OCTET STRING(SIZE(1..40))
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Password used by FTP, SFTP or SCP for copying a
file to/from an FTP/SFTP/SCP server. This object
must be created when the ccCopyProtocol is FTP or
SCP.
Reading it returns a zero-length string for security
reasons."
::= { ccCopyEntry 8 }
ccCopyNotificationOnCompletion OBJECT-TYPE
SYNTAX TruthValue
-- Rsyntax INTEGER {
-- true(1),
-- false(2)
-- }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Specifies whether or not a ccCopyCompletion
notification should be issued on completion of the
TFTP transfer. If such a notification is desired,
it is the responsibility of the management entity to
ensure that the SNMP administrative model is
configured in such a way as to allow the
notification to be delivered."
DEFVAL { false }
::= { ccCopyEntry 9 }
ccCopyState OBJECT-TYPE
SYNTAX ConfigCopyState
-- Rsyntax INTEGER {
-- waiting(1),
-- running(2),
-- successful(3),
-- failed(4)
-- }
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Specifies the state of this config-copy request.
This value of this object is instantiated only after
the row has been instantiated, i.e. after the
ccCopyEntryRowStatus has been made active."
::= { ccCopyEntry 10 }
ccCopyTimeStarted OBJECT-TYPE
SYNTAX TimeStamp
-- Rsyntax TimeTicks
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Specifies the time the ccCopyState last
transitioned to 'running', or 0 if the state has
never transitioned to 'running'(e.g., stuck in
'waiting' state).
This object is instantiated only after the row has
been instantiated."
::= { ccCopyEntry 11 }
ccCopyTimeCompleted OBJECT-TYPE
SYNTAX TimeStamp
-- Rsyntax TimeTicks
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Specifies the time the ccCopyState last
transitioned from 'running' to 'successful' or
'failed' states. This object is instantiated only
after the row has been instantiated.
Its value will remain 0 until the request has
completed."
::= { ccCopyEntry 12 }
ccCopyFailCause OBJECT-TYPE
SYNTAX ConfigCopyFailCause
-- Rsyntax INTEGER {
-- unknown(1),
-- badFileName(2),
-- timeout(3),
-- noMem(4),
-- noConfig(5),
-- unsupportedProtocol(6),
-- someConfigApplyFailed(7),
-- systemNotReady(8),
-- requestAborted(9)
-- }
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The reason why the config-copy operation failed.
This object is instantiated only when the
ccCopyState for this entry is in the
'failed' state."
::= { ccCopyEntry 13 }
ccCopyEntryRowStatus OBJECT-TYPE
SYNTAX RowStatus
-- Rsyntax INTEGER {
-- active(1),
-- notInService(2),
-- notReady(3),
-- createAndGo(4),
-- createAndWait(5),
-- destroy(6)
-- }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The status of this table entry. Once the entry
status is set to active, the associated entry cannot
be modified until the request completes
(ccCopyState transitions to 'successful'
or 'failed' state)."
::= { ccCopyEntry 14 }
ccCopyServerAddressType OBJECT-TYPE
SYNTAX InetAddressType
-- Rsyntax INTEGER {
-- ?? enum value of zero may cause problems
-- unknown(0),
-- ipv4(1),
-- ipv6(2),
-- ipv4z(3),
-- ipv6z(4),
-- dns(16)
-- }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This object indicates the transport type of the
address contained in ccCopyServerAddressRev1 object.
This must be created when either the
ccCopySourceFileType or ccCopyDestFileType has the
value 'networkFile'."
::= { ccCopyEntry 15 }
ccCopyServerAddressRev1 OBJECT-TYPE
SYNTAX InetAddress
-- Rsyntax OCTET STRING(SIZE(0..255))
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The IP address of the TFTP server from (or to)
which to copy the configuration file. This object
must be created when either the
ccCopySourceFileType or ccCopyDestFileType has the
value 'networkFile'.
All bits as 0s or 1s for ccCopyServerAddressRev1 are
not allowed.
The format of this address depends on the value of
the ccCopyServerAddressType object."
::= { ccCopyEntry 16 }
ccCopyErrorTable OBJECT-TYPE
SYNTAX SEQUENCE OF CcCopyErrorEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A table containing information about the failure
cause of the config copy operation. An entry is
created only when the value of ccCopyState changes
to 'failed' for a config copy operation.
Not all combinations of ccCopySourceFileType and
ccCopyDestFileType need to be supported. For
example, an implementation may choose to support
only the following combination:
ccCopySourceFileType = 'runningConfig'
ccCopyDestFileType = 'fabricStartupConfig'.
In the case where a fabric wide config copy
operation is being performed, for example by
selecting ccCopyDestFileType value to be
'fabricStartupConfig', it is possible that the
fabric could have more than one device. In such
cases this table would have one entry for each
device in the fabric. In this case even if the
operation succeeded in one device and failed in
another, the operation as such has failed, so the
global state represented by ccCopyState 'failed',
but for the device on which it was success,
ccCopyErrorDescription would have the
distinguished value, 'success'.
Once the config copy operation completes and if an
entry gets instantiated, the management station
should retrieve the values of the status objects of
interest. Once an entry in ccCopyTable is deleted
by management station, all the corresponding entries
with the same ccCopyIndex in this table are also
deleted.
In order to prevent old entries from clogging the
table, entries age out at the same time as the
corresponding entry with same ccCopyIndex in
ccCopyTable ages out."
::= { ccCopy 2 }
ccCopyErrorEntry OBJECT-TYPE
SYNTAX CcCopyErrorEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"An entry containing information about the
outcome at one destination of a failed config
copy operation."
INDEX { ccCopyIndex, ccCopyErrorIndex }
::= { ccCopyErrorTable 1 }
CcCopyErrorEntry ::= SEQUENCE {
ccCopyErrorIndex Gauge,
ccCopyErrorDeviceIpAddressType InetAddressType,
ccCopyErrorDeviceIpAddress InetAddress,
ccCopyErrorDeviceWWN FcNameIdOrZero,
ccCopyErrorDescription SnmpAdminString
}
ccCopyErrorIndex OBJECT-TYPE
SYNTAX Gauge
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A monotonically increasing integer for the sole
purpose of indexing entries in this table.
When a config copy operation has multiple
destinations, then this index value is used to
distinguish between those multiple destinations."
::= { ccCopyErrorEntry 1 }
ccCopyErrorDeviceIpAddressType OBJECT-TYPE
SYNTAX InetAddressType
-- Rsyntax INTEGER {
-- ?? enum value of zero may cause problems
-- unknown(0),
-- ipv4(1),
-- ipv6(2),
-- ipv4z(3),
-- ipv6z(4),
-- dns(16)
-- }
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The type of Internet address for this destination
device on which config copy operation is performed."
::= { ccCopyErrorEntry 2 }
ccCopyErrorDeviceIpAddress OBJECT-TYPE
SYNTAX InetAddress
-- Rsyntax OCTET STRING(SIZE(0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The IP address of this destination device on which
config copy operation is performed.
The object value has to be consistent with the type
specified in ccCopyErrorDeviceIpAddressType."
::= { ccCopyErrorEntry 3 }
ccCopyErrorDeviceWWN OBJECT-TYPE
SYNTAX FcNameIdOrZero
-- Rsyntax OCTET STRING(SIZE(0|8|16))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The World Wide Name (WWN) of this destination
device on which config copy operation is performed.
The value of this object is zero-length string if
WWN is unassigned or unknown. For example, devices
which do not support fibre channel would not
have WWN."
::= { ccCopyErrorEntry 4 }
ccCopyErrorDescription OBJECT-TYPE
SYNTAX SnmpAdminString
-- Rsyntax OCTET STRING(SIZE(0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The error description for the error happened
for this destination of this config copy
operation."
::= { ccCopyErrorEntry 5 }
ccCopyCompletion TRAP-TYPE
--?? Non-reverse mappable trap
ENTERPRISE ccCopyMIBTraps
VARIABLES {
ccCopyServerAddress, ccCopyFileName, ccCopyState,
ccCopyTimeStarted, ccCopyTimeCompleted, ccCopyFailCause }
-- Status
-- mandatory
DESCRIPTION
"A ccCopyCompletion trap is sent at the completion
of a config-copy request. The ccCopyFailCause is not
instantiated, and hence not included in a trap, when
the ccCopyState is success."
::= 1
ccCopyGroup OBJECT IDENTIFIER ::= { ccCopyMIBGroups 1 }
-- OBJECT-GROUP
-- Status
-- deprecated
-- Descr
-- A collection of objects providing the ability to
-- copy an agent-configuration file.
--
-- This Group is deprecated and new group is defined.
-- objects
-- ccCopyProtocol, ccCopySourceFileType, ccCopyDestFileType,
-- ccCopyServerAddress, ccCopyFileName, ccCopyUserName,
-- ccCopyUserPassword, ccCopyNotificationOnCompletion,
-- ccCopyState, ccCopyTimeStarted, ccCopyTimeCompleted,
-- ccCopyFailCause, ccCopyEntryRowStatus
ccCopyGroupRev1 OBJECT IDENTIFIER ::= { ccCopyMIBGroups 3 }
-- OBJECT-GROUP
-- Status
-- mandatory
-- Descr
-- A collection of objects providing the ability to
-- copy an agent-configuration file.
--
-- This group deprecates the old group ccCopyGroup.
-- objects
-- ccCopyProtocol, ccCopySourceFileType, ccCopyDestFileType,
-- ccCopyServerAddressType, ccCopyServerAddressRev1,
-- ccCopyFileName, ccCopyUserName, ccCopyUserPassword,
-- ccCopyNotificationOnCompletion, ccCopyState,
-- ccCopyTimeStarted, ccCopyTimeCompleted, ccCopyFailCause,
-- ccCopyEntryRowStatus
ccCopyErrorGroup OBJECT IDENTIFIER ::= { ccCopyMIBGroups 4 }
-- OBJECT-GROUP
-- Status
-- mandatory
-- Descr
-- A collection of objects providing the result
-- of a config copy operation when the value of
-- ccCopyDestFileType is 'fabricStartupConfig' and
-- value of ccCopyState is 'failed'.
-- objects
-- ccCopyErrorDeviceIpAddressType, ccCopyErrorDeviceIpAddress,
-- ccCopyErrorDeviceWWN, ccCopyErrorDescription
ccCopyNotificationsGroup OBJECT IDENTIFIER ::= { ccCopyMIBGroups 2 }
-- NOTIFICATION-GROUP
-- Status
-- mandatory
-- Descr
-- The notification used to indicate that a config-copy
-- operation to or from the agent has been completed.
-- notifications
-- ccCopyCompletion
ccCopyMIBCompliance OBJECT IDENTIFIER ::= { ccCopyMIBCompliances 1 }
-- MODULE-COMPLIANCE
-- Status
-- deprecated
-- Descr
-- The compliance statement for Cisco agents which
-- implement the Cisco ConfigCopy MIB. This MIB should
-- be implemented on all Cisco agents that support
-- copying of configs via the CLI.
--
-- This compliance is deprecated and new compliance
-- ccCopyMIBComplianceRev1 is defined.
-- Module
-- >>current<<
-- MandGroup
-- ccCopyGroup
-- MandGroup
-- ccCopyNotificationsGroup
ccCopyMIBComplianceRev1 OBJECT IDENTIFIER ::= { ccCopyMIBCompliances 2 }
-- MODULE-COMPLIANCE
-- Status
-- deprecated
-- Descr
-- The compliance statement for Cisco agents which
-- implement the Cisco ConfigCopy MIB. This MIB should
-- be implemented on all Cisco agents that support
-- copying of configs via the CLI.
--
-- This compliance module deprecates
-- ccCopyMIBCompliance.
-- Module
-- >>current<<
-- MandGroup
-- ccCopyGroupRev1
-- MandGroup
-- ccCopyNotificationsGroup
ccCopyMIBComplianceRev2 OBJECT IDENTIFIER ::= { ccCopyMIBCompliances 3 }
-- MODULE-COMPLIANCE
-- Status
-- mandatory
-- Descr
-- The compliance statement for Cisco agents which
-- implement the Cisco ConfigCopy MIB. This MIB should
-- be implemented on all Cisco agents that support
-- copying of configs via the CLI.
--
-- This compliance module deprecates
-- ccCopyMIBComplianceRev1.
-- Module
-- >>current<<
-- MandGroup
-- ccCopyGroupRev1
-- MandGroup
-- ccCopyNotificationsGroup
-- OptGroup
-- ccCopyErrorGroup
END