R3303-HP HSR6800 Routers Fundamentals Command Reference

133
Examples
# In standalone mode, set E3 as the working mode of interface card 1 in slot 2.
<Sysname> system-view
[Sysname] card-mode slot 2 subslot 1 e3
Info: Please reboot or hot-swap the board or card (if supported) to make the configuration
take effect.
# In IRF mode, set E3 as the working mode of interface card 1 in slot 2 on member device 1.
<Sysname> system-view
[Sysname] card-mode chassis 1 slot 2 subslot 1 e3
Info: Please reboot or hot-swap the board or card (if supported) to make the configuration
take effect.
clock datetime
Use clock datetime to set the system time and date.
Syntax
clock datetime time date
Views
User view
Default command level
3: Manage level
Parameters
time: Specifies a time, in the hh:mm:ss format. The hh value is in the range of 00 to 23, the mm value is
in the range of 00 to 59, and the ss value is in the range of 00 to 59. Zeros can be omitted, unless you
specify 00:00:00.
date: Specifies a date, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value is in the range
of 2000 to 2035, the MM value is in the range of 1 to 12, and the DD value is in the range of 1 to 31.
Usage guidelines
You can leave the ss field blank when you specify the time parameters.
Examples
# Set the current system time to 14:10:20 08/01/2005.
<Sysname> clock datetime 14:10:20 8/1/2005
# Set the current system time to 00:06:00 01/01/2007.
<Sysname> clock datetime 0:6 2007/1/1
Related commands
clock summer-time one-off
clock summer-time repeating
clock timezone
display clock