Cisco Systems 78-16019-02 About NTP, Switch# configure terminal Switchconfig# hostname ONS15530

Page 7

Chapter 3 Initial Configuration

 

 

About NTP

 

 

 

 

 

Command

Purpose

Step 3

 

 

name(config)# end

Returns to privileged EXEC mode. The prompt indicates

 

name#

that the host name has been set to the new name.

 

 

 

Step 4

 

 

name# copy system:running-config

Saves your configuration changes to NVRAM.

 

nvram:startup-config

 

 

 

 

 

 

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 hierarchy of primary and secondary servers pass timekeeping information by way of the Internet to cross-check clocks and correct errors arising from equipment or propagation failures.

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 time server receives its time from a stratum 1 time server, and so on. A machine running NTP automatically 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.

NTP has two ways to avoid synchronizing to a machine whose time might be ambiguous:

NTP never synchronizes to a machine that is not synchronized itself.

NTP compares the time reported by several machines and does not synchronize to a machine whose time is significantly different from the others, even if its stratum is lower.

The communications between machines running NTP, known as associations, are usually statically configured; each machine is given the IP address of all machines with which it should form associations. Accurate timekeeping is possible by exchanging NTP messages between each pair of machines with an association.

The Cisco implementation of NTP does not support stratum 1 service; it is not possible to connect to a radio or atomic clock. We recommend that you obtain the time service for your network from the public NTP servers available in the IP Internet. If the network is isolated from the Internet, the Cisco NTP

 

 

Cisco ONS 15530 Configuration Guide and Command Reference

 

 

 

 

 

 

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

 

 

3-7

 

 

 

 

 

Image 7
Contents About the CPU Switch Module Initial ConfigurationYou see the following user Exec prompt Using the Console Ports, NME Ports, and Auxiliary PortsYou can now begin configuring the CPU switch module Starting Up the Cisco ONSModem Support About PasswordsEnable Password Enable Secret PasswordCommand Purpose Configuring IP Access on the NME InterfaceDisplaying the NME Interface Configuration Switchconfig# hostname name Specifies a system name Configuring the Host NameDisplaying the Operating Configurations Switch# configure terminalONS15530# copy systemrunning-config nvramstartup-config Switch# configure terminal Switchconfig# hostname ONS15530About NTP Example Purpose Configuring NTPDisplaying the NTP Configuration CommandConfiguring Authorization Configuring Security FeaturesConfiguring AAA Configuring AuthenticationConfiguring Radius Configuring KerberosConfiguring Traffic Filters and Firewalls Configuring TACACS+Configuring Passwords and Privileges About CPU Switch Module Redundancy State Description CPU Switch Module State Transition DiagramRedundant Operation Requirements Forcing a Switchover from Privileged Exec Mode Configuring CPU Switch Module RedundancyRedundancy switch-activity force Switchover Forcing a Switchover from ROM Monitor ModeBootflash filename Configuring AutobootDisplaying the Autoboot Configuration Switchconfig# config-registerSynchronizing Configurations Manually Synchronizing the ConfigurationsFollowing example shows the contents of the boot variable Enabling and Disabling Automatic Synchronization Filename When SynchronizedSwitchconfig-red# no auto-sync running-config Switchconfig-red# no auto-sync startup-configShow redundancy capability Configuring Maintenance ModeShow redundancy running-config-file Show redundancy summaryExamples Switch# show redundancy summarySwitch# show redundancy capability Following example shows the CPU switch module capabilitiesSby-Switch#show redundancy running-config-file Reloading the CPU Switch ModulesSwitch# redundancy reload peer Standby CPU switch module CLI. The default state Switchconfig-red# standby privilege-modeEnables access to privileged Exec mode from EnableDown About the Software Configuration Register4describes each of the software configuration register bits Software Configuration Register SettingsBit Number Hexadecimal Description Bit Address nethost Boot Field ValuesBit Baud Rate Boot Field Value Description Default System Boot BehaviorBoot Command 7describes the values for the boot fieldDisplays the current configuration register value Changing the Software Configuration RegisterVerify the Configuration Register Value Switch# show versionSwitchconfig# environment-monitor shutdown fan Configuring Fan Failure ShutdownAbout Fan Failure Shutdown Switch# show environment Displaying the Fan Tray Failure Shutdown Configuration78-16019-02, Cisco IOS Release 12.218SV2