02-02-2024 03:35 PM
Hello! I recently purchased a cisco C9200L-24T-4G running IOS 17.09.04a CAT9K_LITE_IOSXE with the network-essentials technology package. When I boot it up, it takes an awful time to boot and then I see this message:
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf
##############
Both links down, not waiting for other switches
Switch number is 1
I do not intend to configure this switch on a stack and was wondering if there is a way to prevent the switch from checking this at every boot. Moreover, once the switch boots, I see this message:
No startup-config, starting autoinstall/pnp/ztp...
Autoinstall will terminate if any input is detected on console--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: no
After I say no, it forces me to set an enable password
The enable secret is a password used to protect
access to privileged EXEC and configuration modes.
This password, after entered, becomes encrypted in
the configuration.
-------------------------------------------------
secret should be of minimum 10 characters and maximum 32 characters with
at least 1 upper case, 1 lower case, 1 digit and
should not contain [cisco]
-------------------------------------------------
Enter enable secret:
If I set the enable password at this stage, I see this,
The following configuration command script was created:
enable secret 9 $9$e2rCordUvhlhrk$ebF55/GuXoveYn7dLA/7BwfWapIVM8wGJkaDTNHL2xM
!
end[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Enter your selection [2]:
Is there a way to disable this completely so that the configuration command script does not run and it directly takes me to the IOS command prompt? Any help is appreciated.
Thank you.
02-02-2024 03:46 PM
If the device taken from out of the box, that is standard configuration required, once that is configured and saved, you will not be asked next time that initial setup.
if you like to automate some process plug the switch and the configuration autoloading using ztp - then you need to setup that environment - that only viable if you doing large kind of installation.
02-02-2024 03:56 PM
Hello @Joel Christian ,
For the first issue you can enable 1:1 redundancy which is used to assign active and standby roles to specific switches in the stack. This overrides the traditional N+1 role selection algorithm, where any switch in the stack can be active or standby:
Device#switch 1 role active
For the second issue, this is normal behaviour for the switch to enter auto-configuration if the switch has no configuration saved in NVRAM.
Enter config mode and set the hostname and than write the config and it pop up again on the next reboot.:
Device#config terminal
Device(config)#hostname switch1
^Z
Device#write mem
02-02-2024 03:56 PM
If the switch is not going to be used in a stack, configure the following in enable mode:
switch 1 priority 15
This should save 2 minutes every bootup.
02-03-2024 11:37 AM
That is the first time to boot until you write me for the first time, after that is much faster. As @Leo Laohoo mentioned having the config below can save you some time, but don't expect a miracle
switch 1 priority 15
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide