Specifications

Send document comments to ucs-docfeedback@cisco.com
2-10
Cisco UCS C460 Server Installation and Service Guide
OL-22326-01
Chapter 2 Installing the Server
Initial Server Setup
Defining Static Network Settings Using a Script File
Use the following procedure to create a static network script:
Step 1 Use a text editor to create a file named network.cfg.
Step 2 Add the following content to network.cfg:
dhcp-enabled:
v4-addr:
v4-netmask:
v4-gateway:
vlan-enabled:
vlan-id:
vlan-priority:
password:
NIC-mode:
NIC-redundancy:
Note Use only the features that you want to set when adding content to network.cfg.
Example 2-1 network.cfg Example
dhcp-enabled: 0
v4-addr: 10.193.70.102
v4-netmask: 255.255.255.0
v4-gateway: 10.193.70.1
password: nonpasswd
Example 2-1 disables DHCP, sets the IP address, subnet mask, gateway, and user password.
Step 3 Use a text editor to create a file named startup.nsh. with the following contents:
fs0:
cimcconfig
Step 4 Copy your network.cfg file and your startup.nsh file to a USB thumb drive.
Step 5 Insert the USB thumb drive into a USB port on the server.
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.
Step 8 Select EFI as the boot device and then press Enter.
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
processors GUI or CLI management system. See the Cisco UCS C-Series Server Integrated
Management Controller Configuration Guide or the Cisco UCS C-Series Server Integrated Management
Controller CLI Configuration Guide.