C
HAPTER
10
| IP Commands
– 281 –
enables the system log to record meaningful dates and times for event
entries. If the clock is not set, the switch will only record the time from the
factory default set at the last bootup.
EXAMPLE
This example enables NTP client requests.
IP/NTP>mode enable
IP/NTP>
ip ntp server add This command specifies an IPv4 NTP server to query for the current time.
SYNTAX
ip ntp server add server-index ip-addr
server-index - The index number of an NTP server to query.
(Range: 1-5)
ip-addr - IP address or IP alias of an NTP time server. An IPv4
address consists of 4 numbers, 0 to 255, separated by periods.
DEFAULT SETTING
None
COMMAND USAGE
The switch attempts to periodically update the time from the specified
servers. The switch will poll the time servers in the order specified until a
response is received. The polling interval is fixed at 15 minutes.
EXAMPLE
IP/NTP/Server>add 1 0.north-america.pool.ntp.org
IP/NTP/Server>
ip ntp server ipv6
add
This command specifies an IPv6 NTP server to query for the current time.
SYNTAX
ip ntp server ipv6 add server-index ipv6-addr
server-index - The index number of an NTP server to query.
(Range: 1-5)
ipv6-addr - The IP address for a time server (NTP or SNTP). An IPv6
address must be formatted according to RFC 2373 “IPv6 Addressing
Architecture,” using 8 colon-separated 16-bit hexadecimal values.
One double colon may be used in the address to indicate the
appropriate number of zeros required to fill the undefined fields.