Cot Inject-Config - Cisco CSR 1000v Series Software Configuration Manual

Cloud services router
Table of Contents

Advertisement

Deploying the Cisco CSR 1000v to the VM using COT

cot inject-config

Use the cot inject-config command if you have a large set of configuration commands to pre-apply to the
OVA; for example, if you want to add a complete running configuration. This is efficient in terms of file size
and loading time as it uses plain text for the configuration commands (instead of XML). For further details
about the cot inject-config command, see
http://cot.readthedocs.io/en/latest/usage_inject_config.html
Synopsis and Description
cot inject-config ova-filename
-o output
Specifies the name or path to a new OVA package, if you are creating a new OVA instead of updating the
existing OVA.
-c config-file
Specifies the name of a text file, such as iosxe_config.txt , to be embedded in the OVA.
Example
In this example, the cot inject-config command adds Cisco IOS XE commands in text file iosxe_config.txt
to the OVA.
$ cat iosxe_config.txt
interface GigabitEthernet1
no shutdown
ip address 192.168.100.10 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 GigabitEthernet1 192.168.100.1
$ cot inject-config csr1000v-universalk9.ova \
-o csr1000v-universalk9-customized.ova \
-c iosxe_config.txt
$ cot info csr1000v-universalk9-customized.ova
<.. other output snipped for brevity ..>
Files and Disks:
csr1000v_harddisk.vmdk
bdeo.sh
README-OVF.txt
README-BDEO.txt
cot.tgz
csr1000v-universalk9.iso
config.iso
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
88
Installing the Cisco CSR 1000v in VMware ESXi Environments
File Size
Capacity Device
--------- --------- --------------------
71.50 kB
8.00 GB harddisk @ SCSI 0:0
52.42 kB
8.53 kB
6.75 kB
116.78 kB
484.80 MB
cdrom @ IDE 1:0
350.00 kB
cdrom @ IDE 1:1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents