2. Enter
configure terminal
to change to global configuration mode
device# configure terminal
Entering configuration mode terminal
3. Enter the
ntp server
IPv4 address
command, where
IPv4 address
is the IP address of the first NTP server in IPv4 format,
which the device must be able to access. The
IPv4 address
variable is optional. By default, this value is LOCL, which uses the
local clock of the principal switch as the clock server.
device(config)# ntp server "132.163.135.131"
To display the NTP server IP address, use the
show ntp status
rbridge-id
rbridge-id
|
all
command. If you are in global
configuration mode, you must enter
do
before the
show
command.
device(config)# show ntp status rbridge-id 1
The request is for the local RBridge unless an RBridge ID is specified.
If you need to remove an NTP server, use the
no
form of the
ntp server
command.
device(config)# no ntp server "132.163.135.131"
Setting the clock (date and time) manually
You should set the clock only if there are no NTP servers configured. Time synchronization from NTP servers overrides the local clock.
Date values are limited to between January 1, 1970 and January 19, 2038.
1. Log in to the device using the admin account.
2. Enter the
clock set
CCYY-MM-DDTHH:MM:SS
command while in privileged EXEC mode.
The following example sets the clock to March 17, 2010, 15 minutes past noon:
device# clock set 2010-03-17T12:15:00
3. To show the clock and time zone settings, use the
show clock
rbridge-id
rbridge-id
|
all
command.
device# show clock
rbridge-id 1: 2012-03-17 12:15:00 America/Los_Angeles
Setting the time zone
You must perform this procedure on
all
devices for which the time zone must be set. However, you only need to set the time zone once
on each device, because the value is written to nonvolatile memory. While not necessary for device operation, setting a time zone is part
of ensuring accurate logging and audit tracking. Time zone changes take effect after a reboot.
Use the
clock timezone
command to set the time zone.
1. Log into the device using an account that has the admin role.
2. Enter the
clock timezone
region/city
command.
The following example changes the time zone to US/Pacific Standard Time:
device# clock timezone America/Los_Angeles
3. Reboot the device.
Setting the date and time
ExtremeSwitching VDX 6740 Hardware Installation Guide
94
9036108-00
Содержание ExtremeSwitching VDX 6740
Страница 10: ...ExtremeSwitching VDX 6740 Hardware Installation Guide 10 9036108 00...
Страница 12: ...ExtremeSwitching VDX 6740 Hardware Installation Guide 12 9036108 00...
Страница 24: ...ExtremeSwitching VDX 6740 Hardware Installation Guide 24 9036108 00...
Страница 28: ...ExtremeSwitching VDX 6740 Hardware Installation Guide 28 9036108 00...
Страница 98: ...ExtremeSwitching VDX 6740 Hardware Installation Guide 98 9036108 00...
Страница 124: ...ExtremeSwitching VDX 6740 Hardware Installation Guide 124 9036108 00...
Страница 128: ...ExtremeSwitching VDX 6740 Hardware Installation Guide 128 9036108 00...