Post-Installation Reload Phase; Configuration_File_Selection_Methods; Serial Number-Based Configuration File Selection; Hostname-Based Configuration File Selection - Cisco Nexus 5500 Series Configuration Manual

Nx-os fundamentals configuration guide, release 7.x
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

Configuration_File_Selection_Methods

However, the configuration file is not applied to the switch at this point, because the software image currently
running on the switch might not support all of the commands in the configuration file. After the switch reboots,
it begins running the new software image, if one was installed. At that point, the configuration is applied to
the switch.
Note
If the switch loses connectivity, the script stops, and the switch reloads its original software images and
bootup variables.

Post-Installation Reload Phase

The switch restarts and applies (replays) the configuration on the upgraded software image. Afterward, the
switch copies the running configuration to the startup configuration.

Configuration_File_Selection_Methods

Serial Number-Based Configuration File Selection

The switch can download a configuration file based on the switch's serial number. Name the configuration
file with the serial number of the switch. For example, if a switch has serial number FOC1621R00R, the
configuration file name is conf_FOC1621R00R.cfg.

Hostname-Based Configuration File Selection

When the switch solicits the DHCP server for its IP address and the configuration script filename, the DHCP
server offers the switch hostname as well. Then, the switch downloads the configuration file for the specified
hostname.
To download a configuration file based on the hostname of the switch, you must configure the following:
• On the DHCP server, add the option host-name hostname command to the DHCP configuration file
• In the configuration script, enable hostname support by modifying the configuration script to include

MAC-Based Configuration File Selection

The switch can use the MAC address of the mgmt 0 interface or of a single Layer 3 interface on the front
panel to select the configuration file to be downloaded.
To use the MAC address to identify the configuration file to download, you need to modify the configuration
script to include the poap_config_file_mode = poap_mac statement. When the switch runs the configuration
script, the switch downloads the file that is named conf_mac-address.cfg, where the mac-addressis the MAC
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
38
(dhcpd.conf). For example, add option host-name nexus-switch-1.
the poap_config_file_mode = poap_hostname. When the switch runs the configuration script, the
switch downloads the file that is named, conf_hostname.cfg, that includes the hostname retrieved from
the DHCP server.
Using PowerOn Auto Provisioning
OL-30890-01

Advertisement

Table of Contents
loading

Table of Contents