cisco_csr1000v
This is an old revision of the document!
~~TOC~~
Cisco CSR1000V / IOS XE - KVM
I'm running this on CentOS 6.5
Download image
Virtual network bridge
- Create an additional virtualized bridge on CentOS if you need to. Example:
# virsh net-dumpxml cisco <network> <name>cisco</name> <uuid>2fb420fb-943c-e5be-0769-0b2700c9d7e0</uuid> <bridge name='virbr1' stp='on' delay='0' /> <mac address='52:54:00:2B:F6:26'/> <ip address='192.168.200.1' netmask='255.255.255.0'> </ip> </network>
Create virtual machine
- 4 GB memory.
- 3 virtio network interfaces. For example 2 in the virtual isolated Cisco network and 1 to your own network.
- Select the downloaded qcow2 image as storage.
- Add serial port as first serial device. Select TCP net console (tcp), for example 127.0.0.1:4555 and select 'Use Telnet'.
- Run the virtual machine.
Post install configuration
- Enable serial console and reload.
#en conf t platform console serial ctrl-z copy run start reload
- Log in using telnet on the KVM host.
telnet localhost 4555
- After install, throughput is set to 2,5Mbit.
#sh platform hardware throughput level The current throughput level is 2500 kb/s
- Cisco CSR 1000V offers a 60-day evaluation license. The evaluation license is for the Premium technology package. Accept the license:
Router>conf t #license accept end user agreement
- Configure evaluation licence.
#license boot level premium
- Copy running-config to start-config and reload.
Verify
- Throughput:
#sh platform hardware throughput level The current throughput level is 50000 kb/s
- License:
sh license detail Index: 1 Feature: prem_eval Version: 1.0 License Type: Evaluation License State: Active, In Use Evaluation total period: 8 weeks 4 days Evaluation period left: 8 weeks 3 days Period used: 0 minute 3 seconds Expiry date: Oct 13 2014 09:44:15 License Count: Non-Counted License Priority: Low Store Index: 0 Store Name: Built-In License Storage
Configure IP
- Show interfaces.
#sh ip int br Interface IP-Address OK? Method Status Protocol GigabitEthernet1 unassigned YES NVRAM administratively down down GigabitEthernet2 unassigned YES NVRAM administratively down down GigabitEthernet3 unassigned YES NVRAM administratively down down
- Create management VRF.
conf t Router(config)#ip vrf mgmt-irf Router(config-vrf)#int g1 Router(config-if)#ip vrf forwarding mgmt-vrf Router(config-if)#^Z #sh run int g1 Building configuration... Current configuration : 105 bytes ! interface GigabitEthernet1 ip vrf forwarding mgmt-vrf no ip address shutdown negotiation auto end
- Configure IP address.
conf t Router(config)#int g1 Router(config-if)#ip add 1.2.3.4 255.255.255.0 Router(config-if)#no shut Router(config-if)#^Z
- Show interfaces.
Router#sh ip int br Interface IP-Address OK? Method Status Protocol GigabitEthernet1 1.2.3.4 YES manual up up GigabitEthernet2 unassigned YES NVRAM administratively down down GigabitEthernet3 unassigned YES NVRAM administratively down down
- Ping test.
Router#ping vrf mgmt-vrf 1.2.3.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 1.2.3.2, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 1/2/4 ms
cisco_csr1000v.1408012504.txt.gz · Last modified: 2014/08/14 10:35 by admin