Cisco Systems 78-16019-02 manual Configuring Autoboot, Displaying the Autoboot Configuration

Page 17

Chapter 3 Initial Configuration

Configuring CPU Switch Module Redundancy

Configuring Autoboot

If you have changed the default configuration register value from autoboot, you can change it back by performing the following steps, beginning in global configuration mode:

 

Command

Purpose

 

 

 

Step 1

Switch(config)# config-register 0x2102

Sets the configuration register for autoboot.1

Step 2

Switch(config)# boot system

Sets the BOOT environment variable. This variable

 

bootflash:filename

specifies the location and name of the system image

 

 

file to use when automatically booting the system.

Step 3

 

 

Switch(config)# end

Returns to privileged EXEC mode.

 

Switch#

 

Step 4

 

 

Switch# copy system:running-config

Saves the configuration to NVRAM. The new

 

nvram:startup-config

configuration register value takes effect after the next

 

 

system reload.

 

 

 

1.This is the default configuration register setting. For details on using the configuration register to set boot parameters, refer to the Cisco IOS Configuration Fundamentals Configuration Guide.

Note If the standby CPU switch module remains in ROM monitor mode, you can manually boot the CPU switch module using a system image either on the bootflash or on a Flash PC Card.

Example

The following example shows how to configure the Cisco ONS 15530 to autoboot using the first valid file on the Flash PC Card in slot 0:

Switch(config)# config-register 0x2102

Switch(config)# boot system flash slot0:

Switch(config)# end

Switch# copy system:running-config nvram:startup-config

Displaying the Autoboot Configuration

To display the configuration register value, use the following EXEC command:

Command

Purpose

 

 

show version

Displays the configuration register value.

 

 

show bootvar

Displays the configuration register value.

 

 

 

 

Cisco ONS 15530 Configuration Guide and Command Reference

 

 

 

 

 

 

78-16019-02, Cisco IOS Release 12.2(18)SV2

 

 

3-17

 

 

 

 

 

Image 17
Contents About the CPU Switch Module Initial ConfigurationYou can now begin configuring the CPU switch module Using the Console Ports, NME Ports, and Auxiliary PortsStarting Up the Cisco ONS You see the following user Exec promptEnable Password About PasswordsEnable Secret Password Modem SupportCommand Purpose Configuring IP Access on the NME InterfaceDisplaying the NME Interface Configuration Displaying the Operating Configurations Configuring the Host NameSwitch# configure terminal Switchconfig# hostname name Specifies a system nameAbout NTP Switch# configure terminal Switchconfig# hostname ONS15530ONS15530# copy systemrunning-config nvramstartup-config Displaying the NTP Configuration Configuring NTPCommand Example PurposeConfiguring AAA Configuring Security FeaturesConfiguring Authentication Configuring AuthorizationConfiguring Radius Configuring KerberosConfiguring Passwords and Privileges Configuring TACACS+Configuring Traffic Filters and Firewalls About CPU Switch Module Redundancy State Description CPU Switch Module State Transition DiagramRedundant Operation Requirements Redundancy switch-activity force Configuring CPU Switch Module RedundancyForcing a Switchover from Privileged Exec Mode Switchover Forcing a Switchover from ROM Monitor ModeDisplaying the Autoboot Configuration Configuring AutobootSwitchconfig# config-register Bootflash filenameFollowing example shows the contents of the boot variable Synchronizing the ConfigurationsSynchronizing Configurations Manually Switchconfig-red# no auto-sync running-config Filename When SynchronizedSwitchconfig-red# no auto-sync startup-config Enabling and Disabling Automatic SynchronizationShow redundancy running-config-file Configuring Maintenance ModeShow redundancy summary Show redundancy capabilityExamples Switch# show redundancy summarySwitch# show redundancy capability Following example shows the CPU switch module capabilitiesSwitch# redundancy reload peer Reloading the CPU Switch ModulesSby-Switch#show redundancy running-config-file Enables access to privileged Exec mode from Switchconfig-red# standby privilege-modeEnable Standby CPU switch module CLI. The default stateDown About the Software Configuration RegisterBit Number Hexadecimal Description Software Configuration Register Settings4describes each of the software configuration register bits Bit Baud Rate Boot Field ValuesBit Address nethost Boot Command Default System Boot Behavior7describes the values for the boot field Boot Field Value DescriptionVerify the Configuration Register Value Changing the Software Configuration RegisterSwitch# show version Displays the current configuration register valueAbout Fan Failure Shutdown Configuring Fan Failure ShutdownSwitchconfig# environment-monitor shutdown fan Switch# show environment Displaying the Fan Tray Failure Shutdown Configuration78-16019-02, Cisco IOS Release 12.218SV2