CISCO CSR 1000v Using Custom Data User Manual
Document viewer
8 Pages · 133 KB · Cisco official PDF
Manual overview & contents
Cisco · 8 PagesOfficial 8-page Cisco documentation (133 KB PDF) covering model CSR 1000v. Key sections include Editing the Custom Data, Configuring the IOS Configuration Property, Configuring the Scripts Property, Configuring the Script Credentials Property, Configuring the Python package Property.
When you deploy a Cisco CSR 1000v Virtual Machine instance on Google Cloud Platform, you can optionally choose to use the Startup Script section on the VM creation console to provide custom data. You can also use the CLI to access the custom data to achieve various automation goals. The custom data in GCP allows you to run Cisco IOS XE configuration commands, install Python packages in guestshell on Day0, run scripts in guestshell on Day0, and provide licensing information to boot the CSR 1000v instance with a desired technology package.
Sections inside this manual
Page numbers for quick lookup in the PDF- Editing the Custom Datap. 1
- Configuring the IOS Configuration Propertyp. 2
- Configuring the Scripts Propertyp. 2
- Configuring the Script Credentials Propertyp. 3
- Configuring the Python package Propertyp. 4
- Configuring the License propertyp. 4
- Accessing the Custom Datap. 5
- Verifying the Custom Data Configurationp. 6
Extracted manual text
You can deploy a Cisco CSR 1000v VM using a custom data only on Cisco IOS XE Gibraltar 16.12.1 or later releases.
After defining the custom data properties, you can access the startup script or the custom data file using the CLI as described in the Accessing the Custom Data section.
Configuring the IOS Configuration Property
If you want to bootstrap the IOS configuration on Day0, configure the IOS Configuration property. See the following IOS configuration example:
GigabitEthernet1
description “static IP address config” ip address 10.0.0.1 255.255.255.0 interface GigabitEthernet2 description “DHCP based IP address config” ip address dhcp After the first line that reads Section: IOS configuration, you can enter a list of Cisco IOS XE configuration commands that you want to execute, on the Cisco CSR 1000v router.
When you run this command, the preceding IOS configuration is applied to the CSR 1000v router running on GCP, on Day0.
Configuring the Scripts Property
Scripts property helps you automate the deployment of your CSR1000v instance. If you want to run a Python or a Bash script on Day0 under the guestshell context, provide the public URL and arguments of the python or the bash script in Scripts property.
A script must include a piece of code that includes the shebang (!) character in the first line of the script. This line tells Cisco IOS-XE which script interpreter (Python or Bash) you must use to parse the script code. For example, the first line of a Python script can contain #!/usr/bin/env python, while the first line of a Bash script can contain #!/bin/bash. This line allows the Python or the Bash script to run as executable code in a Linux environment.
Frequently asked questions
Which models are covered by this Cisco manual?
This manual applies to: CSR 1000v.
What topics are covered in the Cisco CSR 1000v Using Custom Data User Manual?
This 8-page manual covers: Deploying a Cisco CSR 1000v VM Using Custom Data, Editing the Custom Data, Accessing the Custom Data, Verifying the Custom Data Configuration.
More manuals from Cisco
View all →Cisco Catalyst Center Using Prime Data Migration Tool Instructions
View or download the Cisco Catalyst Center Using Prime Data Migration Tool Instructions (10-page PDF).
CISCO CSR 1000v by Using a Solution Template User Guide
View or download the CISCO CSR 1000v by Using a Solution Template User Guide (8-page PDF). Covers Deploy a CSR 1000v by Using a Solution Template.
CISCO Nexus Dashboard Data Broker User Guide
View or download the CISCO Nexus Dashboard Data Broker User Guide (24-page PDF). Covers Cisco Nexus Dashboard Data Broker Deployment Guide, Release 3.10.5.
CISCO 9000 Data Center Switches User Guide
View or download the CISCO 9000 Data Center Switches User Guide (22-page PDF). Covers Licensing Cisco MDS 9000 Series NX-OS Software Features.
CISCO 9000 Series Nexus Data Center Switches User Guide
View or download the CISCO 9000 Series Nexus Data Center Switches User Guide (16-page PDF). Covers Configuring TAP Aggregation and MPLS Stripping.
CISCO Logging In to HX Data Platform Interfaces User Guide
View or download the CISCO Logging In to HX Data Platform Interfaces User Guide (16-page PDF). Covers HyperFlex Cluster Interfaces Overview.