Atlantis Land Mistral Lan Router ISDN User Manual

Mistral Lan Router ISDN
with 4 Fast Ethernet ports + Broadband
Interface
Console Commands
A02-RI_ME02(September 2003)
COPYRIGHT
DISCLAIMER
This company makes no representations or warranties, either expressed or implied, with respect to the contents hereof and specifically disclaims any warranties, merchantability or fitness for any particular purpose. Any software described in this manual is sold or licensed "as is". Should the programs prove defective following their purchase, the buyer (and not this company, its distributor, or its dealer) assumes the entire cost of all necessary servicing, repair, and any incidental or consequential damages resulting from any defect in the software. Further, this company reserves the right to revise this publication and to make changes from time to time in the contents hereof without obligation to notify any person of such revision or changes.
SUPPORT
If you have any problems with the ADSL Router, please consult this manual.
If you continue to have problems you should contact the dealer where you bought this ADSL Router. If you have any other questions you can contact the Atlantis Land company directly at the following address:
AtlantisLand spa
Via Gandhi 5 Ing2,Scala A
20017 Mazzo di Rho(MI)
Tel: 02/93906085, 02/93907634(help desk) Fax: 02/93906161 Email: info@atlantisland.it or tecnici@atlantisland.it WWW: http://www.atlantis-land.com or www.atlantisland.it
All brand and product names mentioned in this manual are trademarks and/or registered trademarks of their respective holders.
Console Commands
General Guidelines
When the router is powered up, the user can connect a terminal (or the PC running terminal emulation software) to the auxiliary (console) port to perform configuration and management functions. Alternatively, the Command Line Interface may be accessed via a standard telnet application. When properly connected, setting the console speed to a baud rate of 19200 bits per second, eight data bits, no parity, one stop bit, and pressing a carriage return key, the user will see a system sign-on message followed by a password prompt as follows.
Local Router Manager Console Version
Please enter your password: ********
A default password “password” has been pre-configured with the system. The user should use it to log into the system until the password is explicitly changed using the change password command. Note that the entered password is case-sensitive. This password may also be changed using the browser­based GUI configuration utility.
The password entered will be echoed as asterisks (*). After the Carriage Return is entered, if the password string is validated, the command prompt Router> will be displayed, and the user can then issue other commands. Otherwise, the password prompt will be redisplayed.
Many commands are single-line commands, and commands are not context sensitive: each command is independent of other commands before or after it. Exceptions to the single line mode are indicated in this manual by the prefix “”. These commands invoke an interactive user dialog.
The command syntax is straightforward.
The following briefly summarizes the guideline for the interface.
1
: rev_no
At any time, the user can type a “ ?” (preceded by a space) to request context-sensitive help on what the user can enter next.
At any time, the user can type control-p (^p, by pressing both the Ctrl key and the p key at the same time) to repeat the previous command, or control n to return to the following (next) command. At startup, typing ^p or ^n will not cause anything to happen - since previous commands do not yet exist. In normal operation typing ^p will cause the previous command to show, and the cursor will sit at the end of the command. At this point, the user can either type a carriage return to accept the command, or type backspaces to edit the command from the end, or ^p to get to its previous command, or ^n to get to its following command (if applicable). Up to 15 previously entered commands can be invoked through ^p’s and ^n’s.
If a keyword is expected when the user types “ ?”, all valid keywords will be displayed, then the command typed so far will be re-displayed, with the cursor sitting at the end (waiting for the user to continue).
If the user had previously typed part of the keyword but did not finish it, and if the characters typed so far uniquely identify the keyword, if the user types a tab (or a space) character, and the system will complete the keyword automatically. If the characters typed so far do not uniquely identify a keyword, nothing will happen.
If the user is not sure what to type next, he can type “ ?”, which will cause those keywords that match the characters typed so far to be displayed.
If an interactive mode is entered, the system will prompt for each parameter required, such as:
enter Link management protocol (none, none/Annex-D):
enter polling interval in seconds (10, 5 - 30):
The first prompt means there are two choices (none and Annex-D), with none being the default. The second prompt means a number between 5 and 30 is expected, with 10 being the default.
If it is the first time a particular parameter is configured, typing a carriage return will cause the default value to be selected. Otherwise, typing a carriage return means no change to the existing value.
Some interactive commands will query the user for the type of parameter to be entered. For example,
enter Day-of-the-week (all, (a)ll/(d)ay-range): d
enter dd1-dd2 (Unspecified): mon-sat
“Express Mode” vs. “Advanced Mode”
The Command Line Interface operates in one of two modes: Express Mode or Advanced Mode. In Express Mode, not all parameters may be displayed. Default values are set for parameters not displayed in multi-line commands. In Advanced Mode, users have the option to modify all possible values appropriate to each operation.
The user can toggle between Express Mode and Advanced Mode by typing ^E (Control-E) at any time. Normally, the system prompt will be changed by appending “>>” to the configured prompt when in Advanced Mode.
Conventions
Note that the meaning of “port n” may differ depending upon the model being managed. Examples using the terminology are model-specific.
The following notations will be used:
1. lan means the LAN port;
2. <> specifies the arguments of the command, <1-4> means a number between 1 to 4;
3. [ ] indicates a required or optional parameter, or choice of parameters;
Interface Name or ifName represents a profile interface, which can be the LAN port (lan), a PPP profile, a PPPoE profile, an ISDN connection profile, or a modem profile.
4. Profile Name means a WAN profile, such as a PPP profile, LAN-to-LAN profile, Internet profile, or Single User Dial-in profile, not the LAN port.
5. xxx/yyy means xxx, or yyy;
6. num means any integer number (such as 19200, 9600, ...);
7. MacAddr, or nn-nn-nn-nn-nn-nn means any MAC address in hexadecimal format, where
each nn can be 00, 01, ... 09, 0A, 0B, 0C, 0D, 0E, 0F, 10, 11,… FF;
8. ipAddr, netMask, or xxx.xxx.xxx.xxx means any ip address or network mask, where xxx is a decimal integer between 0 and 255
9. the term string means a string of characters up to the specified length, which may be enclosed in double quotes (“) (required if the string contains embedded blanks
Command Categories
From a functional point of view, commands can be grouped into the following functional categories:
(1) Bridging (2) Compression (3) Diagnostics
(4) Filtering (5) IP (6) Port
(7) Profile (8) Security (9) SNMP
(10) Statistics (11) System
This list may vary depending upon the router model and the installed features.
For convenience, the section Command List summarizes all commands using the following categories:
Bridging
Compression
Diagnostics
DHCP
Dial-In Users
IP
Port Commands
Profile Commands
Security Command
SNMP
Statistics
System
This summary is followed by examples in subsequent sections. Examples will be given in the following format:
Command Syntax
Description: the description of the command is given here.
Example:
Router> command (with parameters)
Output …
Command List
Note that commands may apply either to a specific router model or with a particular Feature Key enabled. Each command below which is affected, is identified by a symbol which is associated with either a router model or a Feature Key as follows:
In addition, those commands which involve an interactive user dialog are prefixed with the symbol, “”.
Bridging Commands
Disable bridging <Interface Name>
Disable learning
Enable bridging <Interface Name>
Enable learning
Show bridging
Show learning
Show learning <Interface Name>
Compression Commands
clear compression statistics <Profile Name>
disable compression <Profile Name>
enable compression <Profile Name>
show compression statistics <Profile Name>
DHCP Commands
add dhcp entry <entry name>
add dns <primary/secondary> <IP_addr>
delete dhcp entry <entry name>
delete dns <primary/secondary>
disable dhcp
enable dhcp
set dhcp
set range
show dhcp
show dhcp table
show range
Diagnostic Commands
connect profile <Profile Name>
disable trace
disconnect profile <Profile Name>
enable trace
ping <ip_addr> [integer greater than 0][packet length, greater than or equal to 56]
set log level <1-10>
test isdn <dial name> <64k/56k>
Dial-in User Commands
add user <profile name>
delete user <profile name>
show user [profile name]
Filtering Commands
add filter <1-8>
delete filter <1-8>
set filter default
show filter
show filter <1-8>
IP Commands
add ip route <ip_addr> <Network Mask> <ip_addr> <hop count, 1-15>
add ip route <ip_addr> <Network Mask> <Profile Name> <hop count, 1-15>
add pat entry <public port #>
add pat entry default
delete ip default route
delete ip route <ip_addr> <network mask>
delete ip <Interface Name>
delete pat entry <public port #>
delete pat entry default
disable spoofing <Interface Name> <iprip>
enable spoofing <Interface Name> <iprip>
ping <ip_addr> [integer >=1] [packet length, >=56]
set ip default route <ip_addr>
set ip default route <Profile Name>
set ip lan <ip_addr> <network mask>
set ip private <ip_addr> <network mask>
set ip rip <disabled / passive / active> <rip1/rip2>
set ip rip [Interface Name] <disabled / passive / active> <RIP1/RIP2>
set ip <Profile Name>
set ip <Profile Name> <ip_addr> <network mask> <ip_addr>
show arp table
show icmp statistics
show ip
show ip <interface name>
show ip routing table
show ip statistics
show pat
show tcp statistics
show udp statistics
Port Commands
clear port statistics [port name]
disable port <port name>
enable port <port name>
set port <port name>
show port
show port <port name>
show port statistics <port name>
Profile Commands
add profile <Profile Name>
clear profile statistics [Profile Name]
connect profile <Profile Name>
delete profile <Profile Name>
disable profile <Profile Name>
disconnect profile <Profile Name>
enable profile <Profile Name>
show profile
show profile <Profile Name>
show profile statistics
show profile statistics <Profile Name>
Security Command
set ip private <ip_Addr><netMask>
SNMP Commands
clear trap manager <1-5>
disable trap
enable trap
set community string read <string up to 30 characters, inclusive>
set trap manager <1-5> <ip_addr>
show snmp statistics
show trap manager [1-5]
Statistics Commands
clear compression statistics [Interface Name]
clear port statistics [port name]
clear profile statistics [Profile Name]
show compression statistics <Profile Name>
show icmp statistics
show ip statistics
show port statistics <port name>
show profile statistics [Profile Name]
show snmp statistics
show tcp statistics
show udp statistics
show <Interface Name> statistics
System Commands
change password
clear config
disable remote-mgt
enable remote-mgt
disconnect telnet session <1-5>
download config <file_name> from <ip_addr>
download firmware
help
logout
reset system
save config
set console baud <baudrate>
set console timeout <timeout value, 1- 60>
set date <mm-dd-yy>
set daylight time <on/off>
set internet access time
set log level <1-10>
set prompt <string up to 15 characters, inclusive>
set system contact <string up to 60 characters, inclusive>
set system location <string up to 60 characters, inclusive>
set system name <string up to 30 characters, inclusive>
set time <hh:mm:ss>
set timezone <-12:00 - +12:00>
show config
show connection log
show interface list
show internet access time
show system
show system log
show telnet session
show time
upload config <string up to 60 characters, inclusive> to <ip_addr>
Command Detail
Bridging Commands
Although routing is preferred over bridging for transmitting data across wide area connections, occasionally bridging is required. For example, when the data packets to be transmitted are neither IP nor IPX (such as NetBEUI, SNA or AppleTalk), or when the other end of the WAN connection only supports bridging.
Bridging uses an intelligent learning algorithm to build up a MAC-address-to-interface mapping, which it then uses to make forwarding or filtering decisions for each packet it receives, whether the packet is from the LAN side or from one of the WAN connections.
disable bridging <Interface Name>
Description: This command disables bridging over the specified interface. If the interface already has
IP/IPX routing enabled, then routing will take precedence. For example, if both bridging and IP routing are enabled over interface profile1, IP data will be routed, and all non-IP data will be bridged.
Example:
Router> disable bridging profile1
disable learning
Description: This command enables or disables address learning for all bridging ports. The default
mode is enabled.
When learning is enabled, MAC addresses will be learned and maintained in the address table. However, an entry will be “aged out” (removed) if the same address is not re-learned within a fixed time period, When learning is disabled, all addresses learned so far will no longer be aged out.
enable bridging <Interface Name>
Description: This command enables bridging over the specified interface.
enable learning
Description: This command enables or disables address learning for all bridging ports.
show bridging
Description: This command displays the bridging configuration over all interfaces.
Example:
IfName IP Other
------------------------------------------------------------
ppp2 disabled enabled
isp1 enabled disabled
lan enabled enabled
show learning
Description: This command displays MAC addresses learned from all bridging-enabled interfaces.
Example:
Router> show learning
lan: MAC Address
------------------------------------------------
12-22-33-3D-D5-00
00-60-54-16-67-01
00-96-33-58-BD-DE
Total MAC addresses: 3
newyork: MAC Address
------------------------------------------------
00-40-33-3D-D5-DB
00-60-20-16-00-01
00-40-33-58-07-DE
Total MAC addresses: 3
show learning <Interface Name>
Description: This command displays MAC addresses learned from a specified interface.
Example:
Router> show learning lan
MAC Address
---------------------------
00-40-33-3D-D5-DB
00-60-20-16-00-01
00-40-33-58-07-DE
Total MAC addresses: 3
Compression Commands
Compression can be enabled over serial interfaces running the PPP protocol in order to allow more efficient use of the WAN bandwidth. Currently, STAC based compression is supported. In units containing hardware-assisted compression, these commands will automatically utilize this resource.
Note that these commands cannot manage the operation of modem-based compression (MNP5/V.42). Modem initialization strings manage this type of compression.
clear compression statistics <Profile Name>
Description: The statistics counters associated with compression over the specified interface are reset.
disable compression <Profile Name>
Description: This command disables compression over the specified interface.
enable compression <Profile Name>
Description: This command enables compression over the specified interface.
show compression statistics <Profile Name>
Description: This command displays compression related statistics for the specified interface.
DHCP Commands
The Dynamic Host Control Protocol (DHCP) is a client/server protocol2 that defines an efficient and convenient means of dynamically assigning IP addresses and other networking parameters for a period of time upon request. In a router environment, this means either the dynamic assignment of “private” IP addresses to PCs co-residing on the LAN segment with the router or a static assignment of these addresses according to the station identification (the MAC address) of the requesting client.
Since the routers are, by default, configured with a private IP address for its LAN connection, the DHCP server is automatically enabled. (The DHCP function is disabled if the router discovers another DHCP server at initialization time, or if the user has explicitly disabled this function.) DHCP clients residing in LAN-resident machines, such as those running Windows 95/98, may then request a lease on an IP address from a DHCP server. As the term implies, the assignment of the address is temporary. The default lease period in a router’s DHCP server is ten hours. The DHCP client is responsible for the renewal of the lease.
Both static and dynamic DHCP assignments are supported. The range of IP addresses in the dynamic pool from which the server selects an address to satisfy a request depends upon the currently configured private address and network mask of the router. The router’s defaultIP private address is
192.168.168.230 with a network mask of 255.255.255.0. This private address may be changed to any private address and network mask as specified in the following table:
Class Network Address Network
Prefix
A 10.0.0.0 8 bits 255.0.0.0 16,777,214 10.0.0.1/10.255.255.254
B 172.xx.0.0
12 bits 255.255.0.0 65534 172.xx.0.1/172.xx.255.254
Default
Network Mask
Maximum
Number of
Host
Addresses
Lowest/Highest Address
31 xx 16
C 192.168.xx.0 16 bits 255.255.255.0 254 192.168.xx.1/192.168.xx.254
2
The Internet Engineering Task Force (IETF) defines DHCP in RFC-2131 and RFC-2132.
31 xx 16
Loading...
+ 33 hidden pages