Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide
Booting the Cisco CSR 1000V and Accessing the Console
Downloads: This chapterpdf (PDF - 234.0KB) The complete bookPDF (PDF - 3.5MB) | Feedback

Table of Contents

Booting the Cisco CSR 1000V and Accessing the Console

Booting the Cisco CSR 1000V as the VM

Accessing the Cisco CSR 1000V Console

Accessing the Cisco CSR 1000V Through the VM Console

Accessing the Cisco CSR 1000V Through the Virtual Serial Port

Creating Serial Console Access in VMware ESXi

Creating the Serial Console Access in KVM

Creating the Serial Console Access in Microsoft Hyper-V

Opening a Telnet Session to the Cisco CSR 1000V Console on the Virtual Serial Port

Changing the Console Port Access After Installation

License Installation

Booting the Cisco CSR 1000V and Accessing the Console

Booting the Cisco CSR 1000V as the VM

The Cisco CSR 1000V boots when the VM is powered on. Depending on your configuration, you can monitor the installation process on the VM console or the console on the virtual serial port.


Note If you want to access and configure the Cisco CSR 1000V from the serial port on the hypervisor instead of the VM console, you should provision the VM to use this setting before powering on the VM and booting the router. For more information, see the “Accessing the Cisco CSR 1000V Through the Virtual Serial Port” section.



Step 1 Power-up the VM.

Step 2 Within 5 seconds of powering on the VM, choose which console to use to view the router bootup and to access the Cisco CSR 1000V CLI:

  • Virtual Console: Choose this option to use the VMware VM console. This is the default setting and the Cisco CSR 1000V will boot using the virtual console if the serial console is not selected within the 5-second timeframe.

If you choose to use the VMware VM console, the rest of the steps in this procedure do not apply. See the VMware documentation.

  • Serial Console: Choose this option to use the virtual serial port console on the VM (not supported on Citrix XenServer VMs).

The virtual serial port must already be present on the VM for this option to work.

If you are installing on VMware ESXi, see the “Creating Serial Console Access in VMware ESXi” section.

If you are installing in KVM environments, see the “Creating the Serial Console Access in KVM” section.

If you are installing in Microsoft Hyper-V environments, see the “Creating the Serial Console Access in Microsoft Hyper-V” section.


Note The option to select the console port during the boot process is available only the first time the Cisco CSR 1000V boots. To change the console port access after the Cisco CSR 1000V has first booted, see the “Changing the Console Port Access After Installation” section.


The Cisco CSR 1000V starts the boot process.

Step 3 Telnet to the VM using the following command:

  • telnet://esxi-host-ipaddress:portnumber

or, from a UNIX xTerm terminal:

  • telnet esxi-host-ipaddress portnumber

The following example shows the Cisco CSR 1000V initial boot output on the VM:

%IOSXEBOOT-4-BOOT_SRC: (rp/0): CD-ROM Boot
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Installing GRUB
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying super package vxeultra-adventerprisek9.2011-10-20_13.09.SSA.bin
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Creating /boot/grub/menu.lst
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): CD-ROM Installation finished
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Ejecting CD-ROM tray
 

The system first calculates the SHA-1, which may take a few minutes.

Once the SHA-1 is calculated, the kernel is brought up. Once the initial installation process is complete, the .iso package file is removed from the virtual CD-ROM, and the VM is rebooted. This enables the Cisco CSR 1000V to boot normally off the virtual Hard Drive.


Note The system reboots during first-time installation only.


The time required for the Cisco CSR 1000V to boot may vary depending on the release and the hypervisor used.

Step 4 When the system is finished booting, the system presents a screen showing the main software image and the Golden Image, with an instruction that the highlighted entry is booted automatically in three seconds. Do not select the option for Golden Image and allow the main software image to boot.


Note The Cisco CSR 1000V does not include a ROMMON image similar to what is included in many Cisco hardware-based routers. During installation, a “backup” copy of the installed version is stored in a backup partition. This copy can be selected to boot from in case you upgraded your boot image, deleted the original boot image, or somehow corrupted your disk. Booting from the backup copy is equivalent to booting a different image from ROMMON.

For more information on changing the configuration register settings to access GRUB mode, see the “Accessing and Using GRUB Mode” section.


You can now enter the router configuration environment by entering the standard commands enable and then configure terminal. The following should be noted for the initial installation:

  • When the Cisco CSR 1000V is booted for the first time, the mode the router boots in depends on the release version:

(Cisco IOS XE 3.13S and later) The Cisco CSR 1000V boots with the AX package set of features and throughput is limited to 100 Kbps.

(Cisco IOS XE 3.12S and earlier) The Cisco CSR 1000V boots in a limited mode that provides limited feature support and throughput is limited to 2.5 Gbps.

You must install the software license or enable an evaluation license to obtain the supported throughput and features. Depending on the release version, you must enable the boot level or change the maximum throughput level, and reboot the Cisco CSR 1000V. For more information, see the “Installing Cisco CSR 1000V Licenses” section.

(Cisco IOS XE 3.13S and later) The installed license technology package must match the package level configured with the license boot level command. If the license package does not match the configured setting, throughput is limited to 100 Kbps.


 

Accessing the Cisco CSR 1000V Console

Accessing the Cisco CSR 1000V Through the VM Console

When installing the Cisco CSR 1000V software image, the default setting is to use the VM console. If you don’t change the console setting during the bootup process, then no other configuration changes are required to access the Cisco CSR 1000V CLI through the VM console.

Accessing the Cisco CSR 1000V Through the Virtual Serial Port

By default, the Cisco CSR 1000V is accessed using the VM console. You can configure the VM to use the virtual serial port as the console port for the Cisco CSR 1000V. See the following sections to configure the virtual serial port on your hypervisor:


Note The Citrix XenServer does not support access through a serial console.


Creating Serial Console Access in VMware ESXi

Perform the following steps using VMware VSphere. For more information, refer to the VMware VSphere documentation.


Step 1 Power-down the VM.

Step 2 Select the VM and configure the virtual serial port settings.

a. Choose Edit Settings > Add.

b. Choose Device Type > Serial port.

Click Next .

c. Choose Select Port Type.

Select the Connect via Network option.

Click Next.

Step 3 Choose the Select Network Backing option.

Select the Server (VM listens for connection) option.

Enter the Port URI using the following syntax:

telnet://esxi-host-ipaddress : portnumber

where portnumber is the port number for the virtual serial port.

Under I/O mode, select the option to Yield CPU on poll.

Click Next.

Step 4 Power on the VM.

Step 5 When the VM is powered on, access the virtual serial port console.

Step 6 Configure the security settings for the virtual serial port.

a. Select the ESXi host for the virtual serial port.

b. Click the Configuration tab and click Security Profile.

c. In the Firewall section, click Properties, and then select the VM serial port connected over Network value.

You can now access the Cisco IOS XE console using the Telnet port URI. When you configure the virtual serial port, the CSR 1000V is no longer accessible from the VMware ESXi console. See the “Opening a Telnet Session to the Cisco CSR 1000V Console on the Virtual Serial Port” section.


Note To use these settings, the Serial Console option in the GRUB menu must have been selected during the Cisco CSR 1000V bootup. If you have already installed the Cisco CSR 1000V software using the VM console, you must configure the Cisco IOS XE platform console serial command and reload the VM for the console access through the virtual serial port to work. See the “Changing the Console Port Access After Installation” section.



 

Creating the Serial Console Access in KVM

Perform the following steps using the KVM console on your server. For more information, refer to the KVM documentation.


Step 1 Power off the VM.

Step 2 Click on Add Hardware.

Step 3 Select Serial to add a serial device.

Step 4 Under Character Device, choose the TCP Net Console (tcp) device type from the drop-down menu.

Step 5 Under Device Parameters, choose the mode from the drop-down menu.

Step 6 Under Host, enter 0.0.0.0 so that the console accepts a Telnet connection from any host.

Step 7 Choose the port from the drop-down menu.

Step 8 Choose the Use Telnet option.

Step 9 Click Finish.

You can now access the Cisco IOS XE console using the Telnet port URI. See the “Opening a Telnet Session to the Cisco CSR 1000V Console on the Virtual Serial Port” section.


Note To use these settings, the Serial Console option in the GRUB menu must have been selected while the Cisco CSR 1000V booted. If you have already installed the Cisco CSR 1000V software using the VM console, you must configure the Cisco IOS XE platform console serial command and reload the VM in order for the console access through the virtual serial port to work. See the “Changing the Console Port Access After Installation” section.



 

Creating the Serial Console Access in Microsoft Hyper-V

The console port access for Microsoft Hyper-V is created when configuring the VM settings. For more information, see the “Configuring the VM Settings” section.


Note Telnet access to the Cisco CSR 1000V console is not supported for Microsoft Hyper-V. You must use a Putty session to access the console.


Opening a Telnet Session to the Cisco CSR 1000V Console on the Virtual Serial Port

Perform the following steps using the Cisco IOS XE CLI commands:


Step 1 Open a Telnet session to the Cisco CSR 1000V console on the virtual serial port. In VMware ESXi and KVM environments, use the same address as configured for the Telnet Port URI.

telnet://host_ipaddress : portnumber

Step 2 At the Cisco CSR 1000V IOS XE password prompt, enter your login password. The following example shows entry of the password mypass :

User Access Verification
 
Password: mypass

Note If no password has been configured, press Return.


Step 3 From user EXEC mode, enter the enable command as shown in the following example:

Router> enable
 

Step 4 At the password prompt, enter your system password. The following example shows entry of the password enablepass :

Password: enablepass
 

Step 5 When the enable password is accepted, the privileged EXEC mode prompt appears:

Router#
 

Step 6 You now have access to the CLI in privileged EXEC mode and you can enter the necessary commands to complete your desired tasks.

Step 7 To exit the Telnet session, use the exit or logout command as shown in the following example:

Router# logout
 


 

Changing the Console Port Access After Installation

After the Cisco CSR 1000V has booted successfully, you can change the console port access to the router using Cisco IOS XE commands. After you change the console port access, you must reload or power-cycle the router.

 

Command or Action
Purpose

Step 1

enable

 

Router> enable

Enables privileged EXEC mode.

  • Enter your password if prompted.

Step 2

configure terminal

 

Router# configure terminal

Enters global configuration mode.

Step 3

platform console virtual

 

Router(config)# platform console virtual

 

or

platform console serial

 

Router(config)# platform console serial

Specifies that the Cisco CSR 1000V is accessed through the hypervisor VM console. This is the default setting during the initial installation boot process.

Specifies that the Cisco CSR 1000V is accessed through the serial port on the VM.

Note Use this option only if your hypervisor supports serial port console access.

Step 4

end

 

Router(config)# end

Exits configuration mode.

Step 5

copy system:running-config nvram:startup-config

 

Router# copy system:running-config nvram:startup-config

Copies the running configuration to the NVRAM startup configuration.

Step 6

reload

 

Router# reload

Reloads the operating system.

License Installation

One of the first steps you need to perform after obtaining console access is to install the Cisco CSR 1000V software licenses. For more information, see Chapter9, “Installing Cisco CSR 1000V Licenses”