41
Appendix A: Command Line Interface
EdgeRouter
™
Lite User Guide
Ubiquiti Networks, Inc.
Configuration Mode
To switch to configuration mode, use the
configure
command.
For the
show
,
set
, and
delete
commands, you can press the
?
key for help.
•
set ?
View the available commands.
•
show ?
View the settings that you have configured.
(Because configurations vary, the list you see will differ
from the sample list displayed below.)
•
delete ?
View the settings that you can delete.
Enter
show
and press the
?
key.
To display the available command completions, press the
tab
key.
Note:
The tab does not display onscreen.
The EdgeRouter uses three configurations:
•
Working
When you make changes to the working
configuration, they are not applied until you commit the
changes to the active configuration.
•
Active
When you commit changes to the active
configuration, they are applied; however, the changes
do not become part of the boot configuration until you
save the changes to the boot configuration.
•
Boot
When the EdgeRouter reboots, it loads the boot
configuration for use.
The following scenarios cover some of the most
commonly used commands:
• Configure an Interface (see below)
•
“Remove the Default User Account” on page 42
•
“Create a Firewall Rule” on page 42
•
“Manage the Configuration File” on page 45
Configure an Interface
To configure an interface, do the following:
• Assign an IP address and subnet mask
• Enter a description
Use the
set
,
compare
,
commit
, and
save
commands.
To configure an interface, use the
set
command.
To view the possible completions for the eth0 address,
enter
set interfaces ethernet eth0 address
and press the
?
key.
These changes affect the working configuration, not the
active configuration. To see what changes have been
made to the working configuration, use the
compare
command:
To make the changes active, use the
commit
command:
If you reboot the EdgeRouter, the changes will be lost. To
save these changes, use the
save
command to save the
active configuration to the boot configuration.
Содержание ERLite-3
Страница 1: ...3 Port Router...