64
6 Configuration Command
In super user view, router can use configure command to switch it over configure view for
management.
Some setting command can support no and default, wherein, no indicates the setting of
canceling some parameter and default indicates the recovery of default setting of some parameter.
6. 1 Configure
[Command] Configure terminal
[Function] Switchover to configuration view and input the equipment at the terminal end.
[View] Super user view
[Parameter] No
[Example]
Enter in super user view:
configure terminal
Switchover to configuration view.
6. 2 Hostname
[Command] Hostname [<hostname>]
default hostname
[Function] Display or set the mainframe name of router.
[View] Configure view.
[Parameter]
<hostname> new mainframe name
[Example]
Enter in configured view:
hostname
Display the mainframe name of router.
Enter in configured view:
hostname MyRouter
Set the mainframe name of router MyRouter.
Enter in configured view:
defaulthostname
Recover the mainframe name of router to the factory setting.
6. 3 Clock timezone
[Command] Clock timezone <timezone><n>
default clock timezone
[Function] Set the time zone information of the router.
[View] Configure view.
[Parameter]
<timezone> timezone name, 3 capitalized English letters
<n> time zone deviation value, -12~+12