Boot Using Ipxe; Setup Dhcp Server - Cisco NCS 1002 System Setup And Software Installation Manual

Hide thumbs Also See for NCS 1002:
Table of Contents

Advertisement

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:
interface eth3
{
};
To setup a DHCP server:
1. Create the
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:
For example, for ipv4:
1. Use MAC address of the chassis:
AdvSendAdvert on;
MinRtrAdvInterval 60;
MaxRtrAdvInterval 180;
AdvManagedFlag on;
AdvOtherConfigFlag on;
prefix 2001:1851:c622:1::/64
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
};
file (for IPv4, IPv6 or both communication protocols),
dhcpd.conf
host ncs1k
{
hardware ethernet ab:cd:ef:01:23:45;
fixed-address <ip address>;
filename "http://<httpserver-address>/<path-to-image>/ncs1k-mini-x.iso";
}
Ensure that the above configuration is successful.
System Setup and Software Installation Guide for Cisco NCS 1002
Boot Using iPXE
file (for IPv6)
dhcpv6.conf
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents