Setting the Date and Time
- Enter operational mode in the CLI.
- Enter the following command:user@switch> set date YYYYMMDDHHMM.ss source-address
For example, the following command sets the date and time.
user@switch> set date 201102151010.55 - To set the date and time from an NTP server, enter the
following command:user@switch> set date ntp servers
For example, the following command sets the date and time from an NTP server:
user@switch> set date ntp 192.168.40.1 - To set the date and time from more than one NTP server,
enter the same command:user@switch> set date ntp servers
For example, the following command sets the date and time from more than one NTP server:
user@switch> set date ntp 192.168.40.1 192.168.40.2