Editing the Basic Properties of Cisco CSR 1000v using COT: Example
cot edit-properties csr1000v-universalk9.ova
-p "login-username=cisco"
-p "login-password=cisco"
-o csr1000v-universalk9-customized.ova
\# save modifications to a new OVA
cot info csr1000v-universalk9-customized.ova
# verify the new values of properties in the OVA
(...)
Properties:
<config-version> "1.0"
Router Name ""
Login Username "cisco"
Login Password "cisco"
Management Interface "GigabitEthernet1"
Management VLAN ""
Management Interface IPv4 Address/Mask ""
The table below shows the cot edit-properties command and arguments used in the above example.
DescriptionScript Step
Edits the basic environment properties of this OVA
(csr1000v-universalk9.ova).
cot edit propertie
s csr1000v-universalk9.ova
Sets the bootstrap login username.
-p "login-username=cisco"
Sets the bootstrap login password.
-p "login-password=cisco"
Saves a modified OVA, which contains config
commands from the text file.
-o "csr1000v-universalk9-customized.ova"
Editing the Custom Properties of Cisco CSR 1000v using COT
Before doing the procedures shown in section Deploying the Cisco CSR 1000v VM using COT, on page 89,
you can edit custom properties, for example to include Cisco IOS XE CLI commands.
To edit the custom properties of the OVA, use one of the following two commands:
•
cot edit-properties; see cot edit-properties, on page 86.
•
cot inject-config; see cot inject-config, on page 88.
cot edit-properties
Use the cot edit-properties command to pre-apply a small number of configuration commands to the OVA.
(Otherwise, for a larger number of commands, consider using the cot inject-config command; see cot
inject-config, on page 88.)
For further details about the cot edit-properties command, see http://cot.readthedocs.io/en/latest/usage_edit_
properties.html .
Synopsis and Description
cot edit-properties ova-filename
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
86
Installing the Cisco CSR 1000v in VMware ESXi Environments
Deploying the Cisco CSR 1000v to the VM using COT