<Property oe:key="com.cisco.csr1000v.ios-config-0007" oe:value="no shut"/>
<Property oe:key="com.cisco.csr1000v.ios-config-0008" oe:value="exit"/>
<Property oe:key="com.cisco.csr1000v.ios-config-0009" oe:value="ip route 0.0.0.0
0.0.0.0 10.0.0.1"/>
</PropertySection>
</Environment>
Example iosxe_config.txt File
hostname ultra-ios_cfg
license smart enable
username lab privilege 15 password lab
ip domain-name cisco.com
crypto key generate rsa modulus 1024
interface GigabitEthernet1
ip address 10.0.0.5 255.255.255.0
no shut
exit
ip route 0.0.0.0 0.0.0.0 10.0.0.1
line vty 0 4
login local
exit
Increasing Performance on KVM Configurations
You can increase the performance for a Cisco CSR 1000v in a KVM environment by changing settings on
the KVM host. These settings are independent of the Cisco IOS XE configuration settings on the Cisco CSR
1000v. For information about Red Hat Enterprise Linux requirements, see
Bootstrap Properties, on page 126
and subsequent sections.
In releases earlier than Cisco IOS XE Release 3.13S, the Cisco CSR 1000v does not support jumbo packets
larger than 1518 bytes for KVM on a Virtio interface. Packets larger than 1518 bytes are dropped.
Note
You can improve performance on KVM configurations by "Enabling CPU Pinning" as follows.
Increase the performance for KVM environments by using the KVM CPU Affinity option to assign a virtual
machine to a specific processor. To use this option, configure CPU pinning on the KVM host.
In the KVM host environment, verify the host topology to find out how many vCPUs are available for pinning
by using the following command:
virsh nodeinfo
Use the following command to verify the available vCPU numbers:
virsh capabilities
Use the following command to pin the virtual CPUs to sets of processor cores:
virsh vcpupin
<
vmname
> <
vcpu#
> <
host core#
>
This KVM command must be executed for each vCPU on your Cisco CSR 1000v. The following example
pins virtual CPU 1 to host core 3:
virsh vcpupin csr1000v 1 3
The following example shows the KVM commands needed if you have a Cisco CSR 1000v configuration
with four vCPUs and the host has eight cores:
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
129
Installing the Cisco CSR 1000v in KVM Environments
Example iosxe_config.txt File