Cisco System Setup And Software Installation Manual
Specifications and Main Features
Frequently Asked Questions
User Manual
System Setup and Software Installation Guide for Cisco NCS 1002
First Published: 2015-12-21
Last Modified: 2019-01-30
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,
INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH
THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,
CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS.
CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network
topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional
and coincidental.
All printed copies and duplicate soft copies of this document are considered uncontrolled. See the current online version for the latest version.
Cisco has more than 200 offices worldwide. Addresses and phone numbers are listed on the Cisco website at www.cisco.com/go/offices.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com
go trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any
System Setup and Software Installation Guide for Cisco NCS 1002
iii
Contents
Verify Environmental Parameters 30
Verify Inventory 33
CHAPTER 4
CHAPTER 5
Create User Profiles and Assign Privileges 37
Create a User Profile 37
Create a User Group 39
Create Command Rules 40
Create Data Rules 43
Change Disaster-recovery Username and Password 45
Perform System Upgrade and Install Feature Packages 47
Upgrade the System 48
Software Upgrade Matrix 48
Install Packages 48
Workflow for Install Process 49
Install Packages 49
(Optional) Install Prepared Packages 54
Uninstall Packages 56
Upgrading the Firmware Version of Power Modules 58
FPD Automatic Upgrade60
System Setup and Software Installation Guide for Cisco NCS 1002
iv
CHAPTER 1
Cisco NCS 1002 Product Overview
The Cisco Network Convergence System (NCS) 1002 is a 2 RU system that delivers fully programmable,
high-bandwidth capacity (up to 250 Gbps) wavelengths over distances exceeding 3000 km using existing
fiber. Powered by the industry-leading Cisco IOS XR operating system, Cisco NCS 1002 offers robust functions
such as third party application hosting, machine-to-machine interface, telemetry and flexible package delivery.
NCS 1002 delivers the following benefits:
• Supports up to 2 Tbps capacity
• Transports 100, 200, or 250Gbps per wavelength on the same platform through software provisioning
• Transports 10 GE, 40 GE, and 100 GE on the same platform through software provisioning
• Supports grid-less tuning for flex-grid dense wavelength-division multiplexing (DWDM)
• Supports different modulation formats (PM-QPSK or PM-16QAM)
• Supports 7% or 20% Soft Decision (SD) FEC for maximum optical performance
• Allows for automated installation, configuration and monitoring
• Supports machine-to-machine (M2M) APIs based on YANG models for ease of configuration
• Supports a telemetry agent for a pub-sub model of device monitoring
• Command Modes, on page 1
Command Modes
The Cisco NCS 1002 system runs on the Cisco IOS XR operating system. This table lists command modes.
XR execution mode
DescriptionCommand Mode
Displays and monitors the operational state in XR mode.
Example:
RP/0/RP0/CPU0:ios#
System Setup and Software Installation Guide for Cisco NCS 1002
Displays and monitors the operational state in System Admin mode.
Example:
sysadmin-vm:0_RP0#
System Setup and Software Installation Guide for Cisco NCS 1002
2
CHAPTER 2
Bring-up Cisco NCS 1002
After installing the hardware, boot the Cisco NCS 1002 system. You can connect to the XR console port and
power on the system. NCS 1002 completes the boot process using the pre-installed operating system (OS)
image. If no image is available, NCS 1002 can be booted using the iPXE boot or an external bootable USB
drive.
After booting, create the root username and password, and then use it to log on to the XR console. From the
XR console, access the System Admin console to configure system administration settings.
• Boot Sequence, on page 3
• Boot NCS 1002, on page 4
• Boot NCS 1002 Using USB Drive, on page 4
• Boot Using iPXE, on page 7
• Boot Using ZTP, on page 9
• Boot NCS 1002 Using Golden ISO, on page 10
• Verify Boot Operation, on page 11
• Access the System Admin Console, on page 12
• Configure Management Interface, on page 12
• Configure Telnet, on page 14
• Configure SSH, on page 15
• Perform Clock Synchronization with NTP Server, on page 16
Boot Sequence
The boot sequence in NCS 1002 that you need to follow is:
1. Boot using SSD (hard disk)
2. Boot using USB drive
3. Boot using iPXE
If there is no bootable image in all three boot options, reboot the system.
System Setup and Software Installation Guide for Cisco NCS 1002
3
Boot NCS 1002
Boot NCS 1002
Use the console port to connect to NCS 1002. By default, the console port connects to the XR mode. If required,
subsequent connections can be established through the management port, after it is configured.
Procedure
Step 1Connect a terminal to the console port of the RP.
Step 2Start the terminal emulation program on your workstation.
The console settings are 115200 bps, 8 data bits, 2 stop bits and no parity.
Step 3Power on the NCS 1002.
To turn on the power shelves, press the power switch up. As NCS 1002 boots up, the boot process details are
displayed at the console of the terminal emulation program.
Bring-up Cisco NCS 1002
Step 4Press Enter.
The boot process is complete when the system prompts you to enter the root-system username. If the prompt
does not appear, wait for a while to give the NCS 1002 more time to complete the initial boot procedure; then
press Enter.
Important
If the boot process fails, it may be because the pre-installed image on the NCS 1002 is corrupt. In
this case, the NCS 1002 can be booted using an external bootable USB drive.
Boot NCS 1002 Using USB Drive
The bootable USB drive is used to re-image the NCS 1002 for the purpose of system upgrade or to boot the
NCS 1002 in case of boot failure. A bootable USB drive is created by copying a compressed boot file into a
USB drive. The USB drive becomes bootable after the contents of the compressed file are extracted.
This task can be completed using the Windows, Linux, or MAC operating systems available on your local
machine. The exact operation to be performed for each generic step outlined here depends on the operating
system in use.
Before you begin
• You need a USB drive with a storage capacity of at least 4 GB.
• NCS 1002 software image can be downloaded from this location.
• Copy the compressed boot file from the software download page at cisco.com to your local machine.
The file name for the compressed boot file is in the format ncs1k-usb-boot-<release_number>.zip. For
example, ncs1k-usb-boot-6.3.2.zip.
System Setup and Software Installation Guide for Cisco NCS 1002
4
Bring-up Cisco NCS 1002
Boot NCS 1002 Using USB Drive
Procedure
Step 1Connect the USB drive to your local machine and format it with the FAT32 file system.
Step 2Copy the compressed boot file to the USB drive.
Step 3Verify that the copy operation is successful. To verify, compare the file size at source and destination. Also,
verify the MD5 checksum value.
Step 4Extract the content of the compressed boot file by unzipping it in the USB drive. This makes the USB drive
a bootable drive.
Note
The content of the zipped file ("EFI" and "boot" directories) must be extracted directly in the root
folder of the USB drive. If the unzipping application places the extracted files in a new folder, move
the "EFI" and "boot" directories to the root folder of the USB drive.
Step 5Insert the USB drive in one of the USB ports of NCS 1002.
Step 6Reboot NCS 1002 using power cycle or console.
Step 7Press Esc to enter BIOS.
Step 8Select the Save & Exit tab of BIOS.
Step 9Choose UEFI based USB device.
The system detects USB and boots the image from USB.
Admin Console:
GNU GRUB version 2.00
Press F2 to goto grub Menu..
Booting from USB..
Loading Kernel..
Validating End Entity Certificate...
Validating SubCA Certificate...
System Setup and Software Installation Guide for Cisco NCS 1002
CiscoSec: Image signature verified.
[9.957281] i8042: No controller found
Starting udev
udevd[972]: failed to execute '/etc/udev/scripts/network.sh' '/etc/udev/scripts/network.sh':
No such file or directory
Populating dev cache
Running postinst /etc/rpm-postinsts/100-dnsmasq...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
Removing any system startup links for run-postinsts ...
/etc/rcS.d/S99run-postinsts
Configuring network interfaces... done.
Step 10Remove the USB drive. The NCS 1002 reboots automatically.
Bring-up Cisco NCS 1002
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Fri Dec 11 20:35:56 UTC 2015: Install EFI on /dev/mb_disk4
Fri Dec 11 20:35:57 UTC 2015: Install finished on mb_disk
Rebooting system after installation ...
[ 116.973666] reboot: Restarting system
Version 2.17.1245. Copyright (C) 2015 American Megatrends, Inc.
BIOS Date: 11/29/2015 12:02:45 Ver: 0ACBZ1110
Press <DEL> or <ESC> to enter setup.
CiscoSec: Image signature verified.
GNU GRUB version 2.00
Press F2 to goto grub Menu..
Booting from Disk..
Loading Kernel..
Validating End Entity Certificate...
Validating SubCA Certificate...
Validating Root Certificate...
Loading initrd..
Validating End Entity Certificate...
Validating SubCA Certificate...
Validating Root Certificate...
CiscoSec: Image signature verification completed.
Initrd, addr=0xff69a000, size=0x955cb0
[1.745686] i8042: No controller found
System Setup and Software Installation Guide for Cisco NCS 1002
6
Bring-up Cisco NCS 1002
Boot Using iPXE
iPXE is a pre-boot execution environment that is included in the network card of the management interfaces
and works at the system firmware (UEFI) level of the chassis. iPXE is used to re-image the system, and boot
the chassis in case of boot failure or in the absence of a valid bootable partition. iPXE downloads the ISO
image, proceeds with the installation of the image, and finally bootstraps inside the new installation.
iPXE acts as a boot loader and provides the flexibility to choose the image that the system will boot based on
the Platform Identifier (PID), the Serial Number, or the management mac-address. iPXE must be defined in
the DHCP server configuration file.
Setup DHCP Server
A DHCP server must be configured for IPv4, IPv6, or both communication protocols.
Note
For DHCPv6, a routing advertisement (RA) message must be sent to all nodes in the network that indicates
which method is to be used to obtain the IPv6 address. Configure Router-advertise-daemon (radvd, install
using yum install radvd) to allow the client to send the DHCP request. For example:
1. Create the dhcpd.conf file (for IPv4, IPv6 or both communication protocols), dhcpv6.conf file (for IPv6)
or both in the /etc/ directory. This configuration file stores the network information such as the path
to the script, location of the ISO install file, location of the provisioning configuration file, serial number,
MAC address of the chassis.
2. Test the server once the DHCP server is running:
• You have logged in to the System Admin console using the admin command.
The following example shows the output of the command:
iPXE 1.0.0+ (3e573) -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP TFTP VLAN EFI ISO9660 NBI Menu
Trying net0...
net0: c4:72:95:a6:14:e1 using dh8900cc on PCI01:00.1 (open)
[Link:up, TX:0 TXE:0 RX:0 RXE:0]
Configuring (net0 c4:72:95:a6:14:e1).................. Ok << Talking to DHCP/PXE server to
obtain network information
net0: 10.37.1.101/255.255.0.0 gw 10.37.1.0
net0: fe80::c672:95ff:fea6:14e1/64
net0: 2001:1800:5000:1:c672:95ff:fea6:14e1/64 gw fe80::20c:29ff:fefb:b9fe
net1: fe80::c672:95ff:fea6:14e3/64 (inaccessible)
Next server: 10.37.1.235
Filename: http://10.37.1.235/ncs1k/ncs1k-mini-x.iso
http://10.37.1.235/ ... 58% << Downloading file as indicated by DHCP/PXE server to boot
install image
System Setup and Software Installation Guide for Cisco NCS 1002
8
Bring-up Cisco NCS 1002
Boot Using ZTP
Zero Touch Provisioning (ZTP) is used to deploy minimal configurations on several chassis. ZTP is used to
boot, set up, and configure the system. Configurations such as configuring the management ethernet interface,
installing SMUs, applications, and optional packages can be automated using ZTP. ZTP does not execute if
a user name is already configured in the system.
ZTP auto provisioning involves:
• Configuration: Downloads and executes the configuration files. The first line of the file must contain
!! IOS XR for ZTP to process the file as a configuration.
• Script: Downloads and executes the script files. These script files include a programmatic approach to
complete a task. For example, scripts created using IOS XR commands to perform patch upgrades. The
first line of the file must contain #! /bin/bash or #! /bin/sh for ZTP to process the file as a script.
The user can either use the ZTP bash script or the ZTP configuration file.
The following is the sample content of the ZTP bash script.
#! /bin/bash
#
# NCS1K Demo Sample
# ZTP installation of config and day-0 SMU's
#
source ztp_helper
wget http://downloads.sourceforge.net/project/yourcode/application.tgz
#install the downloaded application.tgz
#Run XR CLI’s from the script
`xrcmd “show version”`
The following is the sample content of the ZTP configuration file. The user can automate all the configurations
such as configuring the management ethernet interface, slice provisioning, and so on.
-r/misc/disk1/ -1v2
Minimum 6 GB of free disk space is required for building Golden ISO.
Error: 2.35736465454 GB free disk space available in /pkg/bin"
The user must run the script under XR run prompt as follows:
Step 1After the boot operation, reload the NCS 1002.
Step 2show version
Example:
RP/0/RP0/CPU0:ios# show version
Wed Aug 8 16:10:20.694 IST
Cisco IOS XR Software, Version 6.5.1
Copyright (c) 2013-2018 by Cisco Systems, Inc.
Build Information:
Built By: ahoang
Built On: Mon Aug 6 14:00:31 PDT 2018
Built Host: iox-ucs-023
Workspace: /auto/srcarchive17/prod/6.5.1/ncs1k/ws
Version: 6.5.1
Location: /opt/cisco/XR/packages/
cisco NCS-1002 () processor
System uptime is 1 day 5 hours 15 minutes
System Setup and Software Installation Guide for Cisco NCS 1002
11
Access the System Admin Console
Compare the displayed version with the boot image version. The versions need to be the same.
Access the System Admin Console
All system administration and hardware management setups are performed from the System Admin console.
Procedure
Step 1Login to the XR console as the root user.
Step 2admin
Example:
RP/0/RP0/CPU0:ios# admin
Bring-up Cisco NCS 1002
Wed Jul 29 18:05:14.280 UTC
root connected from 127.0.0.1 using console on xr-vm_node0_RP1_CPU0
sysadmin-vm:0_RP0#
After you enter the System Admin console, the prompt changes to:
sysadmin-vm:0_RP0#
Step 3(Optional) exit
Example:
sysadmin-vm:0_RP0# exit
Wed Jul 29 18:05:15.994 UTC
RP/0/RP0/CPU0:ios#
Return to the XR CLI from the System Admin CLI.
Configure Management Interface
To use the management interface for system management and remote communication, you must configure
an IP address and subnet mask for the management ethernet interface. To communicate with devices on other
networks (such as remote management stations or TFTP servers), you need to configure a default (static) route
for the NCS 1002.
The range of supported MTU of management plane is 64 to 1514 bytes.
Before you begin
• Consult your network administrator or system planner to procure IP addresses and a subnet mask for the
management port.
System Setup and Software Installation Guide for Cisco NCS 1002
12
Bring-up Cisco NCS 1002
Step 1configure
Step 2interface mgmtEth rack/slot/instance/port
Step 3ipv4 address ipv4-address subnet-mask
Configure Management Interface
• Ensure that the management port is connected to the management network.
Specifies the IP address of the default-gateway to configure a static route; this is to be used for communications
with devices on other networks.
Step 7Use the commit or end command.
commit-Saves the configuration changes and remains within the configuration session.
end-Prompts user to take one of these actions:
• Yes-Saves configuration changes and exits the configuration session.
• No-Exits the configuration session without committing the configuration changes.
System Setup and Software Installation Guide for Cisco NCS 1002
13
Configure Telnet
• Cancel-Remains in the configuration session, without committing the configuration changes.
What to do next
Configure Telnet, on page 14 and Configure SSH, on page 15.
Configure Telnet
With a terminal emulation program, establish a telnet session to the management interface port using its IP
address.
Procedure
Step 1configure
Bring-up Cisco NCS 1002
Example:
RP/0/RP0/CPU0:ios# configure
Enters the Configuration mode.
Step 2telnet {ipv4 | ipv6} server max-servers limit
Example:
RP/0/RP0/CPU0:ios(config)# telnet ipv4 server max-servers 10
Specifies the number of allowable Telnet servers. Up to 100 Telnet servers are allowed. By default, no Telnet
servers are allowed. You must configure this command to enable the use of Telnet servers.
Step 3Use the commit or end command.
commit-Saves the configuration changes and remains within the configuration session.
end-Prompts user to take one of these actions:
• Yes-Saves configuration changes and exits the configuration session.
• No-Exits the configuration session without committing the configuration changes.
• Cancel-Remains in the configuration session, without committing the configuration changes.
What to do next
Configure SSH, on page 15
System Setup and Software Installation Guide for Cisco NCS 1002
14
Bring-up Cisco NCS 1002
Configure SSH
With a terminal emulation program, establish a SSH connection to the management interface port using its
IP address.
Before you begin
• Install the ncs1k-k9sec package on the NCS 1002. For details about package installation, see Install
Packages, on page 49.
• Generate the crypto key for SSH using the crypto key generate dsa command.
Procedure
Step 1configure
Example:
RP/0/RP0/CPU0:ios# configure
Configure SSH
Enters the Configuration mode.
Step 2ssh server v2
Example:
RP/0/RP0/CPU0:ios(config)# ssh server v2
Enables the SSH server to accept only SSHv2 client connections.
Step 3Use the commit or end command.
commit-Saves the configuration changes and remains within the configuration session.
end-Prompts user to take one of these actions:
• Yes-Saves configuration changes and exits the configuration session.
• No-Exits the configuration session without committing the configuration changes.
• Cancel-Remains in the configuration session, without committing the configuration changes.
Step 4show ssh session details
Example:
RP/0/RP0/CPU0:ios# show ssh session details
Displays a detailed report of the SSHv2 connections to and from NCS 1002.
What to do next
Perform Clock Synchronization with NTP Server, on page 16
System Setup and Software Installation Guide for Cisco NCS 1002
15
Perform Clock Synchronization with NTP Server
Perform Clock Synchronization with NTP Server
There are independent system clocks for the XR and the System Admin. To ensure that these clocks do not
deviate from true time, they need to be synchronized with the clock of a NTP server. In this task you will
configure a NTP server for the XR. After the XR clock is synchronized, the System Admin clock automatically
synchronizes with the XR clock.
Before you begin
Configure and connect to the management port.
Procedure
Step 1configure
Example:
RP/0/RP0/CPU0:ios# configure
Bring-up Cisco NCS 1002
Enters XR Configuration mode.
Step 2ntp server server_address
Example:
RP/0/RP0/CPU0:ios# ntp server 64.90.182.55
The XR clock is configured to be synchronized with the specified sever.
System Setup and Software Installation Guide for Cisco NCS 1002
16
Perform Preliminary Checks
After successfully logging into the console, you must perform some preliminary checks to verify the default
setup. If any setup issue is detected when these checks are performed, take corrective action before making
further configurations. These preliminary checks are:
• Verify Status of Hardware Components, on page 17
• Verify Node Status, on page 21
• Verify Software Version, on page 23
• Verify Firmware Version, on page 24
• Verify Management Interface Status, on page 27
• Verify Alarms, on page 29
• Verify Environmental Parameters, on page 30
• Verify Inventory, on page 33
Verify Status of Hardware Components
To verify the status of all the hardware components installed on the NCS 1002, perform the following
procedure.
CHAPTER 3
Before you begin
Ensure that all the required hardware components have been installed on the NCS 1002. For installation details,
see Cisco Network Convergence System 1000 Series Hardware Installation Guide.
Procedure
Step 1show platform
When you execute this command from the Cisco IOS XR EXEC mode, the status of the Cisco IOS XR is
displayed.
Verify that the node state is Operational and admin state is UP.
Example:
RP/0/RP0/CPU0:ios# show platform
Wed Feb 28 03:28:40.004 UTC
NodeTypeStateConfig state
System Setup and Software Installation Guide for Cisco NCS 1002
17
Loading...
+ 47 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.