Defining Static Network Settings Using A Script File - Cisco UCS C210 Installation And Service Manual

Hide thumbs Also See for UCS C210:
Table of Contents

Advertisement

Chapter 2
Installing the Server
S e n d d o c u m e n t c o m m e n t s t o u c s - d o c f e e d b a c k @ c i s c o . c o m

Defining Static Network Settings Using a Script File

This section describes how to define static network settings for multiple servers by automating the
configuration process with a script file.
Use a text editor to create a file named network.cfg.
Step 1
Create the contents of network.cfg in the following format. Use only the tags that you want to set.
Step 2
For example, to disable DHCP, set IP address, subnet mask, gateway, and user password, you can use the
following sample values:
Use a text editor to create a file named startup.nsh. with the following contents:
Step 3
Copy your network.cfg file and your startup.nsh file to a USB thumb drive.
Step 4
Insert the USB thumb drive into a USB port on the server.
Step 5
Step 6
Press and release the Power button to boot the server.
Step 7
Observe the booting process and press F6 when prompted to enter the BIOS Boot Manager.
Select EFI as the boot device and then press Enter.
Step 8
The server power cycles and launches the configuration utility, which runs the startup.nsh file. Any
errors are printed to the screen and an errors.txt file.
Step 9
Remove the USB thumb drive, alter the network.cfg file with your next IP address, and then insert the
USB thumb drive into the next server that you want to configure.
Step 10
After the server has been assigned an IP address, you can use that address to access the service
processor's GUI or CLI management system. See the
Configuration Guide
OL-20887-02
dhcp-enabled:
v4-addr:
v4-netmask:
v4-gateway:
vlan-enabled:
vlan-id:
vlan-priority:
password:
mode:
redundancy:
dhcp-enabled: 0
v4-addr: 10.193.70.102
v4-netmask: 255.255.255.0
v4-gateway: 10.193.70.1
password: nonpasswd
fs0:
cimcconfig
or the
Cisco UCS C-Series Rack-Mount Server CLI Configuration
Cisco UCS C-Series Rack-Mount Server
Cisco UCS C210 Server Installation and Service Guide
Initial Server Setup
Guide.
2-11

Advertisement

Table of Contents
loading

Table of Contents