Deploy a virtual Cisco CSR Router with IOS: Difference between revisions
m (→top: clean up) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
# STEP 5) Connect through SSH to the virtual Nexus Switch | # STEP 5) Connect through SSH to the virtual Nexus Switch | ||
=STEP 1 | =STEP 1{{fqm}} Download the CSR OVA installation file from the Cisco website= | ||
First make sure you downloaded the proper files from the Cisco website. | First make sure you downloaded the proper files from the Cisco website. | ||
Line 20: | Line 20: | ||
* csr1000v-universalk9.16.03.06.iso | * csr1000v-universalk9.16.03.06.iso | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-2.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
=STEP 2 | =STEP 2{{fqm}} Deploy the CSR OVA either through the ESXi host or vCenter Server= | ||
I doing this deployment straight from an ESXi host, but the process on the vCenter Server will not be much different. | I doing this deployment straight from an ESXi host, but the process on the vCenter Server will not be much different. | ||
Line 31: | Line 31: | ||
Make sure you select "Deploy a virtual machine from an OVA or OVF file". | Make sure you select "Deploy a virtual machine from an OVA or OVF file". | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-1.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
Provide a name for the Virtual Machine. | Provide a name for the Virtual Machine. | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-3.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
Make sure you select a proper storage resource. | Make sure you select a proper storage resource. | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-4.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
Line 48: | Line 48: | ||
I am planning to use VLAN ID interfaces so that's why I am connecting them all to a trunk Port Group. | I am planning to use VLAN ID interfaces so that's why I am connecting them all to a trunk Port Group. | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-5.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
Verify the details in the summary before you start the deploy. | Verify the details in the summary before you start the deploy. | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-6.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
The deploy has started. | The deploy has started. | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-7.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
=STEP 3 | =STEP 3{{fqm}} Manually boot to the CSR image= | ||
Power on the Virtual Machine. | Power on the Virtual Machine. | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-8.png|400px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
Open the console of the Virtual Machine. | Open the console of the Virtual Machine. | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-9.png|400px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
The OS will start to boot... | The OS will start to boot... | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-10.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
And continue to boot... | And continue to boot... | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-11.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
And continue to boot... | And continue to boot... | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-12.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
And continue to boot... | And continue to boot... | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-13.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
By the end of the booting process, you will see a screen similar to the figure below. | By the end of the booting process, you will see a screen similar to the figure below. | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-14.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
=STEP 4 | =STEP 4{{fqm}} Perform initial configuration through the console= | ||
When you boot the virtual CSR for the first time you will be presented with the following question: | When you boot the virtual CSR for the first time you will be presented with the following question: | ||
Line 110: | Line 110: | ||
type "no" en then type "enable" to start the initial configuration. | type "no" en then type "enable" to start the initial configuration. | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-15.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
Line 137: | Line 137: | ||
}} | }} | ||
=STEP 5 | =STEP 5{{fqm}} Connect through SSH to the virtual Nexus Switch= | ||
It is good practice to reboot the Virtual Machine (CSR) with the "reboot command". | It is good practice to reboot the Virtual Machine (CSR) with the "reboot command". | ||
Line 143: | Line 143: | ||
It does not matter what option you choose here. | It does not matter what option you choose here. | ||
<span style="border:3px solid | <span style="border:3px solid #f4c613;display: inline-block;">[[File:CSR-DEPLOY-ESXI-16.png|700px]]</span> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
I am always trying to improve the quality of my articles so if you see any errors, mistakes in this article or you have suggestions for improvement, [[Special:Contact|please contact me]] and I will fix this. | I am always trying to improve the quality of my articles so if you see any errors, mistakes in this article or you have suggestions for improvement, [[Special:Contact|please contact me]] and I will fix this. | ||
[[Category:NSX | [[Category:NSX]] | ||
[[Category: | [[Category:Networking]] | ||
[[Category:VMware]] | |||
[[Category:Cisco]] |
Latest revision as of 20:00, 16 March 2024
This article will show you how to deploy a virtual Cisco CSR1000v inside the VMware vSphere environment. After the Deployment, I will show you how to do the basic configuration in order to use it together with NSX-T (or to build your own network topology using Cisco CSR Routers).
The high-level steps
Below you will find the high-level steps on how to deploy and configure a virtual Cisco CSR Router.
- STEP 1) Download the CSR OVA installation file from the Cisco website
- STEP 2) Deploy the CSR OVA (either through the ESXi host or vCenter Server)
- STEP 3) Manually boot to the CSR image
- STEP 4) Perform initial configuration through the console
- STEP 5) Connect through SSH to the virtual Nexus Switch
STEP 1» Download the CSR OVA installation file from the Cisco website
First make sure you downloaded the proper files from the Cisco website.
In this example, I am using the following files for the deployment of my Virtual CSR.
- csr1000v-universalk9.16.03.06 - Original.ovf
- csr1000v_harddisk.vmdk
- csr1000v-universalk9.16.03.06.iso
STEP 2» Deploy the CSR OVA either through the ESXi host or vCenter Server
I doing this deployment straight from an ESXi host, but the process on the vCenter Server will not be much different.
First right click Virtual Machines and select "Create/Register VM".
Make sure you select "Deploy a virtual machine from an OVA or OVF file".
Provide a name for the Virtual Machine.
Make sure you select a proper storage resource.
Configure the network interfaces as required. Make sure the first interface is the management interface and the other interfaces can be configured how you want. I am planning to use VLAN ID interfaces so that's why I am connecting them all to a trunk Port Group.
Verify the details in the summary before you start the deploy.
The deploy has started.
STEP 3» Manually boot to the CSR image
Power on the Virtual Machine.
Open the console of the Virtual Machine.
The OS will start to boot...
And continue to boot...
And continue to boot...
And continue to boot...
By the end of the booting process, you will see a screen similar to the figure below.
STEP 4» Perform initial configuration through the console
When you boot the virtual CSR for the first time you will be presented with the following question:
--- System Configuration Dialog --- Would you like to enter the initial configuration dialog? [yes/no]:no
type "no" en then type "enable" to start the initial configuration.
When you are in "enable mode" you can use the commands below for the initial configuration of the hostname, the management IP address and to make the CSR reachable through SSH.
! configure terminal ! hostname WAN-CSR ! uername admin privilidge 15 secret VMware1! ! interface GigabitEthernet1 ip address 10.1.0.181 255.255.0.0 no shut ! ip route 0.0.0.0 0.0.0.0 10.1.0.1 ! line vty 0 4 transport input ssh login local ! end root # copy run start
STEP 5» Connect through SSH to the virtual Nexus Switch
It is good practice to reboot the Virtual Machine (CSR) with the "reboot command". When you boot the CSR next time you will be presented with a screen displayed in the figure below. It does not matter what option you choose here.
I am always trying to improve the quality of my articles so if you see any errors, mistakes in this article or you have suggestions for improvement, please contact me and I will fix this.