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.
The source and destination tables must exist and be compatible.
This command cannot be used to modify the security log.
The same value cannot be specified for the sloc and dloc or the stbl and dtbl parameters.
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.
This command cannot be entered when CAT2 IPSM to OAM syncing is 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.
;