
Command
Function
Switch(config-line)#
login local
Set line login authentication local
2.1.3.
Configuration line login authentication
To build the line login authentication, please in line configuration mode, according to specific needs,
execute the following command
:
Step 1
2.2. System configuration
2.2.1.
Summary
Each network device has its own system clock, the clock to provide specific date (year, month, day)
and time (time, minutes, seconds) and other information. For a network device, when the first time you
first need to manually configure the network equipment system clock for the current date and time. Of
course you can also, according to the need, the system clock correction at any time. The system clock
network equipment is mainly used for system log to record events.
2.2.2.
Set the system time
You can set the network equipment on time by manual way. When you set the clock network
equipment, network equipment clock will you set the time is running down, even if the network
equipment, network equipment clock continues to run. So the network equipment clock settings once
in principle, do not need to be provided, unless you need to fix network equipment on time.
But for the network equipment do not provide the hardware clock, manually set the network equipment
on time is actually set the software clock, it only on the effective operation, when the network
equipment of electric, manual setting time to failure.
command
Function
Switch#
clock
Year
Month Day Hour Minute
Second
Date and set the clock system.
Such as the system time into 2003-6-20
,
10:10:12
Switch# clock 2003 6 20 10 10 12
Switch# show clock
FRI JUN 20 10:10:15 2003
2.2.3.
View the system time
You can use the show clock in privileged mode command to display the system time information,
display format as follows
:
Switch#
show clock
// Display the current system time
FRI JUN 20 10:10:15 2003