3-6
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter3 Initial Configuration
Configuring the Host Name
Configuring the Host Name
In addition to passwords and an IP address, your initial configuration sh ould inc lude the h ost n ame to
make it easier to configure and troubleshoot the Cisco ONS 15530. To configure the host name, perform
the following steps:
Note The host name is also synchronized with the standby CPU switch module. The host name prompt on
the standby CPU switch module appears with sby- as a prefix.
Example
The following example shows how to configure a new host name, beginning in privileged EXEC mode:
Switch# configure terminal
Switch(config)# hostname ONS15530
ONS15530(config)# end
ONS15530# copy system:running-config nvram:startup-config
About NTP
The NTP (Network Time Protocol) is a utility for synchronizing system clocks over the network,
providing a precise time base for networked workstations and servers. In the NTP model, a hiera rchy of
primary and secondary servers pass timekeeping information by way of the Internet to cross-check
clocks and correct errors arising from equipment or p ropaga t ion fa ilu res .
An NTP server must be accessible by the client switch. NTP runs over UDP (User Datagram Protocol),
which in turn runs over IP. NTP is documented in RFC 1305. All NTP communication uses UTC
(Coordinated Universal Time), which is the same as Greenwich Mean Time. An NTP network usually
gets its time from an authoritative time source, such as a radio clock or an atomic clock attached to a
time server. NTP distributes this time across the network. NTP is extremely efficient; no more than one
packet per minute is necessary to synchronize two machines to within a millisecond of one another.
NTP uses a stratum to describe how many NTP hops away a machine is from an authoritative time
source. A stratum 1 time server has a radio or atomic clock directly attached, a stratum 2 tim e server
receives its time from a stratum 1 time server, and so on. A machine running NTP automatical ly chooses
as its time source the machine with the lowest stratum number that it is configured to communicate with
through NTP. This strategy effectively builds a self-organizing tree of NTP speakers.
Command Purpose
Step1 Switch# configure terminal
Switch(config)#
Enters global configuration mode.
Step2 Switch(config)# hostname name Specifies a system name.
Step3 name(config)# end
name#
Returns to privileged EXEC mode. The prompt indicates
that the host name has been set to the new name.
Step4 name# copy system:running-config
nvram:startup-config Saves your configuration changes to NVRAM.