- Table of Contents
-
- H3C Campus Fixed-Port Switches CLI-Based Quick Start Configuration Guide-6W101
- 01-H3C Devices CLI Reference
- 02-Login Management Quick Start Configuration Guide
- 03-Configuration File Management Quick Start Configruation Guide
- 04-Software Upgrade Quick Start Configuration Guide
- 05-Device Management Quick Start Configuration Guide
- 06-NTP Quick Start Configuration Guide
- 07-RBAC Quick Start Configuration Guide
- 08-IRF Quick Start Configuration Guide
- 09-Ethernet Interface Quick Start Configuration Guide
- 10-VLAN Quick Start Configuration Guide
- 11-Port Isolation Quick Start Configuration Guide
- 12-Loop Detection Quick Start Configuration Guide
- 13-QinQ Quick Start Configuration Guide
- 14-MAC Address Table Quick Start Configuration Guide
- 15-Ethernet Link Aggregation Quick Start Configuration Guide
- 16-Spanning Tree Quick Start Configuration Guide
- 17-DHCP Quick Start Configuration Guide
- 18-OSPF Quick Start Configuration Guide
- 19-Static Routing Quick Start Configuration Guide
- 20-Basic RIP Quick Start Configuration Guide
- 21-PBR Quick Start Configuration Guide
- 22-IGMP Snooping Quick Start Configuration Guide
- 23-Packet Filtering Quick Start Configuration Guide
- 24-QoS Quick Start Configuration Guide
- 25-IP Source Guard Quick Start Configuration Guide
- 26-SSH Quick Start Configuration Guide
- 27-Port Security Quick Start Configuration Guide
- 28-VRRP Quick Start Configuration Guide
- 29-PoE Quick Start Configuration Guide
- 30-Mirroring Quick Start Configuration Guide
- 31-Information Center Quick Start Configuration Guide
- 32-SNMP Quick Start Configuration Guide
- 33-LAN Networks Quick Start Configuration Guide
- Related Documents
-
Title | Size | Download |
---|---|---|
05-Device Management Quick Start Configuration Guide | 59.29 KB |
Device Management Quick Start Configuration Guide
Copyright © 2022 New H3C Technologies Co., Ltd. All rights reserved.
No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd.
Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.
The information in this document is subject to change without notice.
Contents
Configuring the device name and system time
Configuring the device to reboot at a specific date and time
Configuring the device to reboot after a period of time
Configure the device to reboot at the specified time every day
Configuring the device name and system time
Introduction
The following information uses examples to describe the basic procedure for configuring the device name and system time.
The device can use one of the following methods to obtain the system time:
· Uses the locally set system time, and then uses the clock signals generated by its built-in crystal oscillator to maintain the system time.
· Periodically obtains the UTC time from an NTP or PTP source, and then uses the UTC time, time zone, and daylight saving time to calculate the system time. For more information about NTP and PTP, see the network management and monitoring configuration guide for the device.
The system time calculated by using the UTC time from a time source is more precise.
|
NOTE: Support for PTP depends on the device model. |
Procedure
Configuring the device name
# Enter system view.
<Device> system-view
# Set the device name to abcd.
[Device] sysname abcd
[adcd]
Configuring the system time
Using the locally set system time
# Enter system view.
<Device> system-view
# Configure the device to use the locally set system time.
[Device] clock protocol none
# Return to user view, and set the local system time to 11:08:00 2021/09/01.
[Device] quit
<Device> clock datetime 11:8 2021/9/1
Obtaining the system time through NTP
# Enter system view.
<Device> system-view
# Specify NTP for obtaining the system time.
[Device] clock protocol ntp
Obtaining the system time through PTP
# Enter system view.
<Device> system-view
# Specify PTP for obtaining the system time.
[Device] clock protocol ptp
Verifying the configuration:
# Display the current system time.
[Device] display clock
11:08:00.258 UTC Wed 01/09/2021
The command output shows the system time in hour:minute:second.millisecond format.
Configuration files
· Configure the device name.
#
sysname abcd
#
· Use the locally set system time.
#
clock datetime 11:8 2021/9/1
clock protocol none
#
· Obtain the system time through NTP.
#
clock protocol ntp
#
· Obtain the system time through PTP.
#
clock protocol ptp
#
Related documentation
· Device management configuration in the fundamentals configuration guide for the device.
· Device management commands in the fundamentals command reference for the device.
Scheduling a device reboot
Introduction
The following information uses examples to describe the basic procedure for scheduling a device reboot.
You can schedule a device reboot as follows:
· Configure the device to reboot at a specific date and time.
· Configure the device to reboot after a period of time.
· Configure the device to reboot at the specified time every day.
Procedure
Configuring the device to reboot at a specific date and time
# Configure the device to reboot at 12:00 p.m. This example assumes that the current time is 11:00 a.m. on September 1, 2021.
<Device> scheduler reboot at 12:00
Reboot system at 12:00:00 01/09/2021 (in 1 hours and 0 minutes). Confirm? [Y/N]:Y
Configuring the device to reboot after a period of time
# Configure the device to reboot after 88 minutes. This example assumes that the current time is 11:00 a.m. on September 1, 2021.
<Device> scheduler reboot delay 88
Reboot system at 12:28 01/09/2021(in 1 hours and 28 minutes). Confirm? [Y/N]:Y
Configure the device to reboot at the specified time every day
# Enter system view.
<Device> system-view
# Create a job named reboot and assign the reboot command to the job.
[Device] scheduler job reboot
[Device-job-reboot] command 1 reboot
# Exit to system view.
[Device-job-reboot] quit
# Create a schedule named schedule-reboot, and assign job reboot to it for it to execute device reboot at 23:00 every day.
[Device] scheduler schedule schedule-reboot
[Device-schedule-schedule-reboot] job reboot
[Device-schedule-schedule-reboot] time repeating at 23:00
# Exit to system view.
[Device-schedule-schedule-reboot] quit
# Save the configuration.
[Device] save
Verifying the configuration
# Display the automatic reboot schedule.
<Device> display scheduler reboot
System will reboot at 12:28 01/09/2021 (in 1 hours and 28 minutes).
# Display schedule information.
[Device-schedule-schedule-reboot] display scheduler schedule
Schedule name : schedule-reboot
Schedule type : Run on every day at 23:00:00
Start time : Wed Sep 01 11:00:00 2021
Last execution time : Yet to be executed
-----------------------------------------------------------------------
Job name Last execution status
reboot -NA-
# Display job configuration information.
[Device] display scheduler job
Job name: reboot
reboot
Configuration files
Configure the device to reboot at 23:00 every day.
#
scheduler job reboot
command 1 reboot
#
scheduler schedule schedule-reboot
user-role network-operator
user-role network-admin
job reboot
time repeating at 23:00
#
Related documentation
· Device management configuration in the fundamentals configuration guide for the device.
· Device management commands in the fundamentals command reference for the device.