Streszczenie treści zawartej na stronie nr. 1
Command Line Interface
Commands Reference
Firmware Version 8.7.4
®
Motorola Netopia ENT-Series Routers
Streszczenie treści zawartej na stronie nr. 2
2 Command Line Interface Commands Reference Copyright Copyright © 2007 by Motorola, Inc. All rights reserved. No part of this publication may be reproduced in any form or by any means or used to make any derivative work (such as translation, transformation or adaptation) without written permission from Motorola, Inc. Motorola reserves the right to revise this publication and to make changes in content from time to time without obligation on the part of Motorola to provide notification of
Streszczenie treści zawartej na stronie nr. 3
Contents 3 Contents Chapter 1 — Introduction..........................................................1-1 New Commands in Firmware Version 8.7.4...................... 1-1 Syntax Notation ............................................................. 1-2 Interface Naming Conventions........................................ 1-3 Security (Configuration Access)....................................... 1-3 Entering and Editing Commands...................................... 1-3 Online Help ........
Streszczenie treści zawartej na stronie nr. 4
4 Command Line Interface Commands Reference IGMP Configuration Commands..................................... 2-70 Global IP Configuration Commands................................ 2-73 DHCP Gen-Options, Option Groups, and Option Filtersets Commands.................................................................. 2-77 DHCP Gen-Options commands ............................ 2-77 DHCP Option Groups commands......................... 2-81 DHCP Option Filtersets commands...................... 2-82
Streszczenie treści zawartej na stronie nr. 5
Contents 5 Connection Profile Commands ........................................ 3-2 Note on Connection Profile numbering sequence.. 3-10 PPTP commands................................................ 3-18 Manual connect/disconnect commands .............. 3-19 Backup configuration commands......................... 3-19 RIP-2 MD5 configuration commands.................... 3-19 IP NAT Passthrough Commands .......................... 3-20 Stateful Inspection Commands ........................... 3
Streszczenie treści zawartej na stronie nr. 6
6 Command Line Interface Commands Reference
Streszczenie treści zawartej na stronie nr. 7
Introduction 1-1 Chapter 1 Introduction This Command Line Interface Commands Reference contains information on the syntax and use of the ® Command Line Interface for the Motorola Netopia router family. It provides information required to configure the router firmware and troubleshoot problems using the Command Line Interface. This document is intended for small office, home office, and remote office users, and other networking ® professionals who administer networks usin
Streszczenie treści zawartej na stronie nr. 8
1-2 Command Line Interface Commands Reference Syntax Notation The command descriptions use formatted text to indicate various attributes of each command. The syntax is as follows: ■ Required keywords and commands that must be typed literally are in boldface. ■ Optional elements are enclosed in square brackets “[]”. ■ Mutually exclusive elements are contained in braces “{}” and separated by vertical bars “|”. ■ Arguments for which you supply values are in italics.
Streszczenie treści zawartej na stronie nr. 9
Introduction 1-3 Interface Naming Conventions A number of commands described in this document require you to identify the router interface to be affected by the command. This requires specifying both an interface type (denoted intf-type) and an interface index (denoted id). The intf-type argument may be replaced with one of the following keywords: adsl | aux | dds | ethernet | isdn | sdsl | t1 | wan | serial If a command is no
Streszczenie treści zawartej na stronie nr. 10
1-4 Command Line Interface Commands Reference The following table provides a description of keys that can be used when entering and editing commands. Control indicates the Control key, which must be pressed simultaneously with the associated letter key. Escape indicates the Escape key, which must be pressed and released first, followed by its associated letter key. Keys are not case-sensitive. Command Editing Keys and Functions Key Function Control-A Moves the cursor to the beginning of
Streszczenie treści zawartej na stronie nr. 11
Introduction 1-5 Online Help Beginning with Firmware Version 8.6, online help is available to prompt you when entering commands. If you enter a partial or incorrect command, the help facility displays prompts to alert you to the correct syntax for the command. The help facility offers expected keywords from which to select, and an explanation of error messages. Example: If you enter the partial command show snmp, the help facilty will prompt you with the appropriate keywords until
Streszczenie treści zawartej na stronie nr. 12
1-6 Command Line Interface Commands Reference
Streszczenie treści zawartej na stronie nr. 13
Motorola Netopia® Router CLI Commands 2-1 Chapter 2 ® Motorola Netopia Router CLI Commands ® This chapter describes the syntax of the supported command set of the Motorola Netopia R-series, 4000-series, and 3000 Enterprise-series Router families. ■ “Configuration Access Commands” on page 2-3 ■ “MAC Address Security Commands” on page 2-12 ■ “System Heartbeat Configuration Commands” on page 2-13 ■ “Tiered Configuration Access Commands” on page 2-15 ■ “Interface Confi
Streszczenie treści zawartej na stronie nr. 14
2-2 Command Line Interface Commands Reference ■ “ARP Configuration Commands” on page 2-97 ■ “Scheduled Connections Configuration Commands” on page 2-98 ■ “Default Profile Configuration Commands” on page 2-100 ■ “Frame Relay Configuration Commands” on page 2-101 ■ “Miscellaneous Commands” on page 2-103 ■ “IP Network Address Translation (NAT) Commands” on page 2-110 ■ “Backup Configuration Commands” on page 2-115 ■ “Serial port modem backup configuration commands” on page 2-118 ■ “RADIUS Authentication
Streszczenie treści zawartej na stronie nr. 15
Motorola Netopia® Router CLI Commands 2-3 Configuration Access Commands Configuration Access Commands date xx/yy/zz show date exit preferences changes immediate { yes | no } show preferences changes immediate no preferences changes immediate preferences check vci { yes | no } preferences console default { menu | cli } show preferences console default preferences console timeout seconds no preferences console timeout show preferences console timeout preferences date format { mm/dd/yy | dd/mm/y
Streszczenie treści zawartej na stronie nr. 16
2-4 Command Line Interface Commands Reference Configuration Access Commands (cont. 1) snmp heartbeat-interval interval show snmp heartbeat-interval no snmp heartbeat-interval snmp notify type [ v1-trap | v2-trap | inform ] snmp system contact string show snmp system contact no snmp system contact snmp system location string show snmp system location no snmp system location snmp system name string show snmp system name no snmp system name snmp system trap source address [ lan | wan ] system syslo
Streszczenie treści zawartej na stronie nr. 17
Motorola Netopia® Router CLI Commands 2-5 Configuration Access Commands (cont. 2) system syslog log-attempts { yes | no } no system syslog log-attempts show system syslog log-attempts telnet { hostname | ip-addr } [ port value ] [ source ip_addr ] show telnet sessions telnet suspend [ a... z ] show telnet suspend telnet resume [ 1... 6 ] telnet terminate [ 1... 6 ] telnet server port [ port number ] show telnet server port time hh:mm [ am | pm ] show time user name password no user name [passwo
Streszczenie treści zawartej na stronie nr. 18
2-6 Command Line Interface Commands Reference The preferences command allows you to customize certain aspects of the command line interface. Preference settings persist across restarts, and are specific to the user name, if any, you used to authenticate yourself before issuing the preferences command. If no users are defined, no authentication is required, and preference settings are global. date xx/yy/zz show date These commands allow you to set or display the current date for the router’s sy
Streszczenie treści zawartej na stronie nr. 19
Motorola Netopia® Router CLI Commands 2-7 preferences console timeout seconds no preferences console timeout show preferences console timeout These commands control the command-line and menu-based console auto logout. Note that the no preferences console timeout command sets the timeout to zero, which disables the timeout. The command: no preferences console timeout is equivalent to: preferences console timeout 0 Example: preferences console timeout 300 preferences date format { mm/dd/yy |
Streszczenie treści zawartej na stronie nr. 20
2-8 Command Line Interface Commands Reference preferences output mask { bits | dotted-quad } show preferences output mask The preferences output mask command affects the format of the output from those show commands that display an IP address together with a subnet mask. When set to bits (the default), the IP address and subnet mask are output in prefix notation – i.e., an IP address in dotted-quad notation followed by a slash followed by the number of consecutive ones-bits in the subnet ma