5.11 copy-tbl
Use this command to copy a single table from one source to another. A table can be copied to any verifiable location in the system; however, the source and destination tables must have identical configurations (same number of entries, same entry size, both 1- dimensional and 2-dimensional).
Note:
A table cannot be copied onto itself.Parameters
- dloc (mandatory)
- Destination location. The location of the
destination table.
- Range:
- 1101 - 1108, 1111 - 1112, 1201 - 1208, 1211 - 1218, 1301 - 1308, 1311 - 1318, 2101 - 2108, 2111 - 2118, 2201 - 2208, 2211 - 2218, 2301 - 2308, 2311 - 2318, 3101 - 3108, 3111 - 3118, 3201 - 3208, 3211 - 3218, 3301 - 3308, 3311 - 3318, 4101 - 4108, 4111 - 4118, 4201 - 4208, 4211 - 4218, 4301 - 4308, 4311 - 4318, 5101 - 5108, 5111 - 5118, 5201 - 5208, 5211 - 5218, 5301 - 5308, 5311 - 5318, 6101 - 6108, 6111 - 6118
- sloc (mandatory)
- Source location. The location of the source table.
- Range:
- 1101 - 1108, 1111 - 1112, 1201 - 1208, 1211 - 1218, 1301 - 1308, 1311 - 1318, 2101 - 2108, 2111 - 2118, 2201 - 2208, 2211 - 2218, 2301 - 2308, 2311 - 2318, 3101 - 3108, 3111 - 3118, 3201 - 3208, 3211 - 3218, 3301 - 3308, 3311 - 3318, 4101 - 4108, 4111 - 4118, 4201 - 4208, 4211 - 4218, 4301 - 4308, 4311 - 4318, 5101 - 5108, 5111 - 5118, 5201 - 5208, 5211 - 5218, 5301 - 5308, 5311 - 5318, 6101 - 6108, 6111 - 6118
Example
copy-tbl:stbl=25:dtbl=24:sloc=1114:dloc=1116:sdrv=fixed
Dependencies
Only one table copy command can be executed at a time.
2368 E2368 Cmd Rej: System busy - try again later
The source and destination tables must exist and be compatible.
N/A N/A
This command cannot be used to modify the security log.
3003 E3003 Cmd Rej: Modification of security log not allowed
The same value cannot be specified for the sloc and dloc or the stbl and dtbl parameters.
4920 E4920 Cmd Rej: Cannot copy table onto itself
If a value of fixed is specified for the sdrv or ddrv parameter, then a value of 1114 or 1116 must be specified for the sloc or dloc parameter.
4912 E4912 Cmd Rej: Disk invalid for specified Location
This command cannot be entered when CAT2 IPSM to OAM syncing is in progress.
3652 E3652 Cmd Rej: IPSM to OAM SYNC in progress
Notes
None
Output
copy-tbl:stbl=25:dtbl=24:sloc=1114:dloc=1116:sdrv=fixed
rlghncxa03w 01-03-04 16:11:53 EST Rel 28.1.0
Table copy command complete.
;