Cisco Systems 78-16019-02 Configuring the Host Name, Displaying the Operating Configurations

Page 6

Chapter 3 Initial Configuration

Configuring the Host Name

Example

Switch# show interfaces fastethernet 0 FastEthernet0 is up, line protocol is up

Hardware is AmdFE, address is 0000.1644.28ea (bia 0000.1644.28ea) Internet address is 172.20.54.152/24

MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255

Encapsulation ARPA, loopback not set Keepalive set (10 sec)

Half-duplex, 10Mb/s, 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00

Last input 00:00:00, output 00:00:00, output hang never Last clearing of "show interface" counters never

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: fifo Output queue :0/40 (size/max)

5 minute input rate 3000 bits/sec, 6 packets/sec

5 minute output rate 1000 bits/sec, 3 packets/sec

36263 packets input, 3428728 bytes

Received 17979 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

0 watchdog

0 input packets with dribble condition detected

20363 packets output, 4279598 bytes, 0 underruns

0 output errors, 8 collisions, 0 interface resets

0 babbles, 0 late collision, 72 deferred

0 lost carrier, 0 no carrier

0 output buffer failures, 0 output buffers swapped out

Displaying the Operating Configurations

You can display the configuration file when you are in privileged EXEC (enable) mode.

To see the current operating configuration, enter the following command at the enable prompt:

Switch# more system:running-config

To see the configuration saved in NVRAM, enter the following command:

Switch# more nvram:startup-config

If you made changes to the configuration, but did not yet write the changes to NVRAM, the contents of the running-config file will differ from the contents of the startup-config file.

Configuring the Host Name

In addition to passwords and an IP address, your initial configuration should include the host name to make it easier to configure and troubleshoot the Cisco ONS 15530. To configure the host name, perform the following steps:

 

Command

Purpose

Step 1

 

 

Switch# configure terminal

Enters global configuration mode.

 

Switch(config)#

 

Step 2

 

 

Switch(config)# hostname name

Specifies a system name.

 

 

 

 

Cisco ONS 15530 Configuration Guide and Command Reference

3-6

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

Image 6
Contents Initial Configuration About the CPU Switch ModuleStarting Up the Cisco ONS Using the Console Ports, NME Ports, and Auxiliary PortsYou can now begin configuring the CPU switch module You see the following user Exec promptEnable Secret Password About PasswordsEnable Password Modem SupportConfiguring IP Access on the NME Interface Command PurposeDisplaying the NME Interface Configuration Switch# configure terminal Configuring the Host NameDisplaying the Operating Configurations Switchconfig# hostname name Specifies a system nameSwitch# configure terminal Switchconfig# hostname ONS15530 ONS15530# copy systemrunning-config nvramstartup-configAbout NTP Command Configuring NTPDisplaying the NTP Configuration Example PurposeConfiguring Authentication Configuring Security FeaturesConfiguring AAA Configuring AuthorizationConfiguring Kerberos Configuring RadiusConfiguring TACACS+ Configuring Traffic Filters and FirewallsConfiguring Passwords and Privileges About CPU Switch Module Redundancy CPU Switch Module State Transition Diagram State DescriptionRedundant Operation Requirements Configuring CPU Switch Module Redundancy Forcing a Switchover from Privileged Exec ModeRedundancy switch-activity force Forcing a Switchover from ROM Monitor Mode SwitchoverSwitchconfig# config-register Configuring AutobootDisplaying the Autoboot Configuration Bootflash filenameSynchronizing the Configurations Synchronizing Configurations ManuallyFollowing example shows the contents of the boot variable Switchconfig-red# no auto-sync startup-config Filename When SynchronizedSwitchconfig-red# no auto-sync running-config Enabling and Disabling Automatic SynchronizationShow redundancy summary Configuring Maintenance ModeShow redundancy running-config-file Show redundancy capabilitySwitch# show redundancy summary ExamplesFollowing example shows the CPU switch module capabilities Switch# show redundancy capabilityReloading the CPU Switch Modules Sby-Switch#show redundancy running-config-fileSwitch# redundancy reload peer Enable Switchconfig-red# standby privilege-modeEnables access to privileged Exec mode from Standby CPU switch module CLI. The default stateAbout the Software Configuration Register DownSoftware Configuration Register Settings 4describes each of the software configuration register bitsBit Number Hexadecimal Description Boot Field Values Bit Address nethostBit Baud Rate 7describes the values for the boot field Default System Boot BehaviorBoot Command Boot Field Value DescriptionSwitch# show version Changing the Software Configuration RegisterVerify the Configuration Register Value Displays the current configuration register valueConfiguring Fan Failure Shutdown Switchconfig# environment-monitor shutdown fanAbout Fan Failure Shutdown Displaying the Fan Tray Failure Shutdown Configuration Switch# show environment78-16019-02, Cisco IOS Release 12.218SV2