Page 271 / 351 Scroll up to view Page 266 - 270
271
CONFIG Commands
set system ftp-server option [ off | on ]
Enables or disables a simple FTP server in the Gateway. If enabled, the Gateway will
accept binary embedded software images (‘.bin’) files or command line configuration files.
set system log-size [ 10240... 65536 ]
Specifies a size for the system log. The most recent entries are posted to the beginning of
the log. When the log becomes full, the oldest entries are dropped. The default is 30000.
set system persistent-log [ off | on ]
When set to
on
, causes the log information to be kept in flash memory.
set system idle-timeout { telnet [ 1...120 ] | http [ 1... 120 ] }
Specifies a timeout period of inactivity for telnet or HTTP access to the Gateway, after
which a user must re-login to the Gateway. Defaults are 5 minutes for HTTP and 15 min-
utes for telnet.
set system username { administrator
name
| user
name
}
Specifies the usernames for the administrative user – the default is
admin
; and a non-
administrative user – the default is
user
.
Supported FTP commands
MODE
(data transfer mode (only Streaming supported)
NOOP
(send back ok)
PORT
(specify client address:port for data)
QUIT
(quit)
STOR
(send file to FTP server)
SYST
(get system info about FTP server)
TYPE
(set data representation type, ASCII and IMAGE (BIN) only supported)
USER
(send username for authentication)
Page 272 / 351
272
set system password { admin | user }
Specifies the administrator or user password for a Motorola Netopia® Gateway. When you
enter the
set system password
command, you are prompted to enter the old pass-
word (if any) and new password. You are prompted to repeat the new password to verify
that you entered it correctly the first time. To prevent anyone from observing the password
you enter, characters in the old and new passwords are not displayed as you type them.
For security, you cannot use the “step” method to set the system password.
A password can be as many as 8 characters. Passwords are case-sensitive.
Passwords go into effect immediately. You do not have to restart the Motorola Netopia®
Gateway for the password to take effect. Assigning an administrator or user password to a
Motorola Netopia® Gateway does not affect communications through the device.
set system heartbeat option { on | off }
protocol [ udp | tcp ]
port-client [ 1 - 65535 ]
ip-server [
ip_address
|
dns_name
]
port-server [ 1 - 65535 ]
url-server ("
server_name
")
number [ 1 – 1073741823 ]
interval (00:00:00:20)
sleep (00:00:30:00)
contact-email ("
string
@
domain_name
")
location ("
string
"):
The heartbeat setting is used in conjunction with the configuration server to broadcast con-
tact and location information about your Gateway. You can specify the
protocol
,
port
,
IP
-,
port
-, and
URL-server
.
The
interval
setting specifies the broadcast update frequency. Part of sequence con-
trol. The interval is the spacing between heartbeats, in d:h:m:s.
The
contact-email
setting is a quote-enclosed text string giving an email address for
the Gateway’s administrator.
The
location
setting is a text string allowing you to specify your geographical or other
location, such as “Secaucus, NJ.”
The
number
setting is part of the sequence control. This is the number of heartbeats
to send, at each “interval”, before sleeping. For example, if this is 20, in the above lay-
Page 273 / 351
273
CONFIG Commands
out, each heartbeat sequence will send out a total 20 heartbeats, spaced at 30 second
intervals, and then sleep for 30 minutes. So to have the Gateway send out packets
“forever”, this number can be set very high. If it is 1440 and the interval is 1 minute,
say, the heartbeat will go out every minute for 1440 minutes, or one day, before sleep-
ing.
The
sleep
setting is part of sequence control. This is the time to sleep before starting
another heartbeat sequence, in d:h:m:s.
set system ntp
option [ off | on ]:
server-address (north-america.pool.ntp.org)
alt-server-address (pool.ntp.org):
time-zone [ -12 - 12 ]
update-period (60) [ 1 - 65535 ]:
daylight-savings [ off | on ]
Specifies the NTP server address, time zone, and how often the Gateway should check the
time from the NTP server. The NTP
server-address
and
alt-server-address
can be
entered as DNS names as well as IP addresses. NTP time-zone of 0 is GMT time; options
are -12 through 12 (+/- 1 hour increments from GMT time).
update-period
specifies how
often, in minutes, the Gateway should update the clock.
daylight-savings
specifies
whether daylight savings time is in effect; it defaults to
off
.
set system zerotouch option [ on | off ]
Enables or disables the Zero Touch option.
Zero Touch refers to automatic configuration of your Motorola Netopia® Gateway. The
Motorola Netopia® Gateway has default settings such that initial connection to the Inter-
net will succeed. If the
zerotouch
option is set to
on
, HTTP requests to any destination IP
address except the IP address(es) of the configured redirection URL(s) will access a redi-
rection server. DNS traffic will not be blocked. Other traffic from the LAN to all destinations
will be dropped.
set system zerotouch redirect-url
redirection-URL
Specifies the URL(s) of the desired redirection server(s) when the
zerotouch
option is set
to
on
. URLs may be a maximum of 192 characters long, and may be in any of the following
forms:
http://<domain-name OR IP address>/optionalPath:port
Page 274 / 351
274
http://<domain-name OR IP address>/optionalPath
https://<domain-name OR IP address>/optionalPath:port
https://<domain-name OR IP address>/optionalPath
<domain-name OR IP address>/optionalPath:port
<domain-name OR IP address>/optionalPath
If the port number is omitted, port 80 will be assumed.
Syslog
set system syslog option [ off | on ]
Enables or disables system syslog feature. If syslog option is
on
, the following commands
are available:
set system syslog host-nameip [
ip_address
|
hostname
]
Specifies the syslog server’s address either in dotted decimal format or as a DNS name up
to 64 characters.
set system syslog log-facility [ local0 ... local7 ]
Sets the UNIX syslog Facility. Acceptable values are
local0
through
local7
.
set system syslog log-violations [ off | on ]
Specifies whether violations are logged or ignored.
set system syslog log-accepted [ off | on ]
Specifies whether acceptances are logged or ignored.
set system syslog log-attempts [ off | on ]
Specifies whether connection attempts are logged or ignored.
Page 275 / 351
275
CONFIG Commands
Default
syslog
installation procedure
1.
Access the router via telnet from the private LAN.
DHCP server is enabled on the LAN by default.
2.
The product’s stateful inspection feature must be enabled in order to
examine TCP, UDP and ICMP packets destined for the router or the private
hosts.
This can be done by entering the
CONFIG
interface.
• Type
config
• Type the command to enable stateful inspection
set security state-insp ip-ppp vcc1 option on
• Type the command to enable the router to drop fragmented packets
set security state-insp ip-ppp vcc1 deny-fragments on
3.
Enabling syslog:
• Type
config
• Type the command to enable syslog
set system syslog option on
• Set the IP Address of the syslog host
set system syslog host-nameip <ip-addr>
(example:
set system syslog host-nameip 10.3.1.1
)
• Enable/change the options you require
set system syslog log-facility local1
set system syslog log-violations on
set system syslog log-accepted on
set system syslog log-attempts on
4.
Set NTP parameters
• Type
config
• Set the time-zone – Default is 0 or GMT
set system ntp time-zone <zone>
(example:
set system ntp time-zone –8
)
• Set NTP server-address if necessary (default is 204.152.184.72)
set system ntp server-address <ip-addr>
(example:
set system ntp server-address 204.152.184.73
)
• Set alternate server address

Rate

4 / 5 based on 1 vote.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top