Basic Configuration Commands
11
Example
Set the current system time to
10:20:55 2003/04/05
.
<
3Com> clock datetime 10:20:55 2003/04/05
clock timezone
Syntax
clock timezone zone_name { add | minus } HH:MM:SS
undo clock timezone
View
User view
Parameter
zone_name: Timezone name, which is a string of 1 to 32 characters.
add: Adds the time on the basis of Universal Time Coordinated (UTC)
timezone.
minus: Reduces the time on the basis of UTC timezone.
HH:MM:SS: Time (hour/minute/second).
Description
Using the clock timezone command, you can set information of the local
timezone. Using the undo clock timezone command, you can restore the local
timezone to the default UTC timezone.
After the configuration takes effect, you can view it by executing the
display
clock
command. The time applied to the log and debug information has been
adjusted according to the involved timezone and summer time.
For related command, see
clock summer-time
.
Example
Set the local timezone name to Z5 and set Z5 to be five hours faster than UTC
time.
<3Com> clock timezone z5 add 05:00:00
command-privilege
Syntax
command-privilege level level view view command-key
undo command-privilege view view command-key
View
System view
Parameter
level
level
: Command priority ranging from 0 to 3.
view
view
: View. The command line provides the following views:
1 shell
: View of current user level.
2 system
: System view
3 Routing protocol view
: Include ospf (OSPF view), rip (RIP view), bgp (BGP view),
isis (IS-IS view), etc.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...