Paradyne 6211 Command Manual

Adsl2+ router command line interface

Advertisement

Quick Links

6211-I1 ADSL2+ Router
Command Line Interface
User's Guide
Document Number 6211-A2-GB23-00
September 2005

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 6211 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Paradyne 6211

  • Page 1 6211-I1 ADSL2+ Router Command Line Interface User’s Guide Document Number 6211-A2-GB23-00 September 2005...
  • Page 2 Copyright 2005 Paradyne Corporation. All rights reserved. Printed in U.S.A. Notice This publication is protected by federal copyright law. No part of this publication may be copied or distributed, transmitted, transcribed, stored in a retrieval system, or translated into any human or computer language in any form or by any means, electronic, mechanical, magnetic, manual or otherwise, or disclosed to third parties without the express written permission of Paradyne Corporation, 8545 126th Ave.
  • Page 3: Table Of Contents

    Table of Contents Table of Contents... 3 Introduction ... 5 Control Key Support... 7 CLI Commands ... 8 adsl... 8 arp ... 14 atm... 15 brctl ... 19 cat... 21 defaultgateway ... 22 df... 23 dhcpserver... 24 dns... 25 dumpcfg... 27 echo...
  • Page 4 6211-I1 ADSL2+ Router Command Line Interface User’s Guide sysinfo ... 42 tftp ... 43 wan ... 44...
  • Page 5: Introduction

    The access the CLI: 1. Change the address of your PC or the address of the router so that both are in the same network segment. The default address and subnet mask of the router are 192.168.1.1 and 255.255.255.0. See the 6211-I1 ADSL2+ Router User’s Guide for more information.
  • Page 6 Effect of 6211-I1 CLI Commands Save to CFM Save to Comments Run-time Flash Database Config File If the command contains "interface" as an option, then this interface must already exist.
  • Page 7: Control Key Support

    Control Key Support Navigate Key Combination Command History Scrolling (maximum 15 commands in history) UP ARROW or CTL+p Down DOWN ARROW or CTL+n Move Cursor Left LEFT ARROW or CTL-b Right RIGHT ARROW or CTL-f Beginning of line CTL+a End of line CTL+e Clear and Terminate Clear screen...
  • Page 8: Cli Commands

    CLI Commands adsl Name adsl Allows you to control the ADSL driver. Synopsis adsl start [options] adsl stop adsl connection [options] adsl configure [options] adsl bert [options] adsl info [options] adsl version adsl help Description The adsl command controls the ADSL driver. This utility: •...
  • Page 9 stop Stops the ADSL connection and the ADSL driver. This command calls BcmAdsl_Uninitialize. version Displays the ADSL version Options Options for the start and configure commands: adsl start [--up] [--mod <a|d|l|t|2|p|e|m>] [--lpair <(i)nner|(o)uter>] [--trellis <on|off>] [--snr <snrQ4>] [--bitswap <on|off>] or for Annex C: [--bm <(D)BM|(F)BM>] [--ccw] adsl configure [--mod <a|d|l|t|2|p|e|m>] [--lpair <(i)nner|(o)uter>] [--trellis <on|off>] [--snr <snrQ4>] [--bitswap <on|off>]...
  • Page 10 --ccw Enables special CRC workaround for Centillium modems. Option for the stop command: adsl stop Options for the connection command: adsl connection [--up] [--down] [--loopback] [--reverb] [--medley] [--noretrain] [--L3] [--tones <xmtStart xmtNum xmtMap rcvStart rcvNum rcvMap>] --up Starts the ADSL connection in normal mode. --down Puts ADSL PHY in idle mode.
  • Page 11 --start Starts the BERT. seconds--duration of the BERT in seconds. --stop Stops the BERT. --show Displays the BERT results to stdout in the following format: BERT Status = [NOT] RUNNING BERT Total Time = 10 seconds BERT Elapsed Time = 10 seconds BERT Bits Tested = 0x00000000045A6380 bits BERT Err Bits = 0x0000000000000002 bits BERT status indicates whether the BERT is currently running.
  • Page 12 Examples A simple initialization. adsl start [--up] adsl start adsl connection --up A more complex initialization. adsl start --up --mod dl --lpair I adsl start adsl connection --up --mod dl --lpair I Getting in and out of the test modes. adsl connection --reverb adsl connection --up Selecting tones.
  • Page 13 6211-I1 ADSL2+ Router Command Line Interface User’s Guide Display complete ADSL driver and PHY status. adsl info --show adsl: ADSL driver and PHY status Status: Showtime Channel: FAST, Upstream rate = 8064 Kbps, Downstream rate = 1024 Kbps Mode G.DMT...
  • Page 14: Arp

    Name Manipulate the modem's Address Resolution Protocol (ARP) table. Synopsis arp add <IP address> <MAC address> arp delete <IP address> arp show arp --help Description The arp command manipulates the modem's ARP table. ARP entries added by this command are not saved in the flash memory by the save command. After system reboot, ARP entries need to be re-added.
  • Page 15: Atm

    Name Allows you to control the ATM driver. Synopsis atm start [options] atm stop atm operate tdte|intf|vcc [options] Description The atm command controls the ATM driver. This utility: • starts and stops the driver. • activates and deactivates an ATM interface (port) or a Virtual Channel Connection (VCC). •...
  • Page 16 --intf <port> <type> <address> port--port number (starting at 0) to be configured. type--adsl|loopback|utopia|tc address--UTOPIA address. Only used if type is UTOPIA. More than one "intf" option can be specified to configure multiple ports. If no "intf" option is specified, the default value is "0, adsl, 0." Options for the stop command: atm stop Options for the operate tdte command:...
  • Page 17 --delete <port.vpi.vci> port.vpi.vci--port number, VPI, and VCI that identifies the VCC to delete. --addq <port.vpi.vci> <size> <priority> port.vpi.vci--port number, VPI, and VCI that identifies the VCC to add a new queue. Size--size of the queue. Priority--priority of the queue. --deleteq <port.vpi.vci> <size> <priority> port.vpi.vci--port number, VPI, and VCI that identifies the VCC to delete a queue.
  • Page 18 Examples A simple initialization. atm start atm operate vcc --add 0.0.35 aal5 1 vcmux_bridged8023 A more complex initialization. atm start --pqs 400 --bo 0 atm operate tdte --add ubr_pcr 15000 atm operate tdte --show index ype pcr scr mbs 1 ubr 0 0 0 2 ubr_pcr 15000 0 0 atm operate vcc --add 0.0.35 aal5 2 vcmux_bridged8023 Display interface configuration (assumes that the ATM driver is started).
  • Page 19: Brctl

    Display VCC statistics (assumes that the ATM driver is started and two VCCs are configured). aal5 vcc statistics for 0.0.35 crc errors 0 oversized sdus 0 short packet errors 0 length errors 0 aal5 vcc statistics for 0.0.36 crc errors 0 oversized sdus 0 short packet errors 0 length errors 0...
  • Page 20 setbridgeprio <bridge> <priority> Sets the bridge's priority to <priority>. The priority value is an unsigned 16-bit quantity (a number between 0 and 65535), and has no dimension. Lower priority values are better than higher priority values. The bridge with the lowest priority is elected as the "root bridge." setfd <bridge>...
  • Page 21: Cat

    Turn off STP. brctl stp br0 off Name Concatenates files and prints them to standard output. Synopsis cat [FILE] ... Description Concatenates files, if more than one is specified, and prints the result to standard output. Commands None. Options None. Examples Display system memory information.
  • Page 22: Defaultgateway

    defaultgateway Name defaultgateway Configure or show the default gateway or default route. Synopsis defaultgateway config auto defaultgateway config static [<ipaddress>] [<interface>] defaultgateway show defaultgateway --help Description The primary use of the defaultgateway command is to set up a static default gateway or default route, or to automatically retrieve the default gateway information from remote ISPs through DHCP protocol for a MAC Encapsulated Routing (MER) interface, or through Point-to-Point Protocol (PPP) for a Point-to-Point Protocol over ATM (PPPoA) or Point-to-Point Protocol over Ethernet (PPPoE) interface.
  • Page 23 Name Print the file system used space and available space. Synopsis df [OPTION]... [FILESYSTEM]... Description The df command displays the amount of disk space available on the file system of each file system name argument. If no file system name is given, the space available on all currently mounted file systems is shown. Disk space is shown in 1 kilobyte blocks (default).
  • Page 24: Dhcpserver

    dhcpserver Name dhcpserver Lets you configure or show the DHCP server data. Synopsis dhcpserver config <start IP address> <end IP address> <leased time (hour)> dhcpserver show dhcpserver --help Description The dhcpserver command configures or shows the DHCP server data. This utility: configures the DHCP server on the primary LAN interface.
  • Page 25: Dns

    192.168.1.2 end 192.168.1.254 interface br0 option lease 86400 option min_lease 30 option subnet 255.255.255.0 option router 192.168.1.1 option dns 192.168.1.1 Display usage. Dhcpserver --help Usage: dhcpserver config <start IP address> <end IP address> <leased time (hour)> dhcpserver show...
  • Page 26 Commands config Configures the DNS relay with the given data. The command only saves the configuration data to flash and does not take effect until the system is rebooted. show Shows the DNS relay configuration data. --help Displays usage. Options Options for the config auto command: dns config auto Options for the config static command:...
  • Page 27: Dumpcfg

    dumpcfg Name dumpcfg Display the system's configuration. Synopsis dumpcfg Description The dumpcfg command displays the system's configuration, which is in text XML format. Commands None. Options None. Examples Display the system's configuration. Dumpcfg <psitree> <SecCfg> <srvCtrlList ftp="lan" http="lan" icmp="lan" snmp="lan" ssh="lan" telnet="lan" tftp="lan"/>...
  • Page 28: Echo

    band="b" channel=" 11" rate="auto" multicastRate="auto" basicRate="default" fragThreshold="2346" RTSThreshold="2347" DTIM="1" beacon="100" XPress="off" gMode="auto" gProtection="auto" preamble="long"/> </WirelessCfg> <AtmCfgVcc> <vccId1 vpi="0" vci="35" tdId="1" aalType="AAL5" adminStatus="up" encap="llc" qos="disable"/> </AtmCfgVcc> <Lan> <entry1 address="192.168.1.1" mask="255.255.255.0" dhcpServer="enable" leasedTime="24" startAddr=" 192.168.1.2" endAddr="192.168.1.254"/> </Lan> <RouteCfg> <ripGlobal state="disable" ripIfcTableSize="1"/> <ripIfc tableSize="1"> <ripIfcEntry id="1"...
  • Page 29: Help

    Name help List all available CLI commands supported by the DSL router. Synopsis Help | ? Description The help command lists all available CLI commands supported by the DSL router. Options None. ifconfig Name ifconfig Configure a network interface.
  • Page 30 Commands None. Options interface The name of the interface. This is usually a driver name followed by a unit number (for example, eth0 for the first Ethernet interface). address The IP address to be assigned to this interface. This flag causes the interface to be activated. It is implicitly specified if an address is assigned to the interface.
  • Page 31: Kill

    [-]pointopoint [addr] This keyword enables the point-to-point mode of an interface, meaning that it is a direct link between two machines with nobody else listening on it. If the address argument is also given, set the protocol address of the other side of the link, as does the obsolete dstaddr keyword. Otherwise, set (or clear) the IFF_POINTOPOINT flag for the interface.
  • Page 32: Lan

    Commands None. Options pid... Specifies the list of processes that kill should signal. -signal Given as a signal name or number. Lists all signal names and numbers. Examples Terminate the process with pid 120. kill 120 Send the KILL signal to the process with pid 120. kill -SIGKILL 120 List all signal names and numbers.
  • Page 33 Commands config Configures the IP layer for the primary or secondary LAN interface. delete Deletes the primary or secondary LAN interface configuration. show Shows configuration data for the primary and secondary LAN interfaces. --help Displays usage. Options Options for the config command: lan config [--ipaddr <primary|secondary>...
  • Page 34: Logout

    Examples Configure a primary LAN interface. lan config -ipaddr primary 192.168.1.1 255.255.255.0 Remove a secondary LAN interface. lan delete -ipaddr secondary Display all LAN interfaces. lan show br0 Link encap:Ethernet HWaddr 02:10:18:01:00:01 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:42083 errors:0 dropped:0 overruns:0 frame:0 TX packets:107786 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0...
  • Page 35: Passwd

    passwd Name passwd Lets you change the password. Synopsis passwd <admin|support|user> <password> Description The passwd command is used to change the password for user account admin, support, or user. Examples Change the password for user admin to superuser. > passwd admin superuser ping Name ping...
  • Page 36: Ppp

    Name Lets you bring up or bring down a PPP connection. Synopsis ppp config <port.vpi.vci> [<connection id>] up|down Description The ppp command controls the PPP interfaces. The ppp command brings up the PPP connection with the "up" option, and brings down the connection with the "down" option. For a PPP connection in the on-demand mode (in addition to the "up"...
  • Page 37: Pwd

    Options None. Examples Report process status. Name Print the name of the current working directory. Synopsis Description The pwd command displays the name of the current working directory. Examples To view the current working directory. >pwd reboot Name reboot Reboot the system. Synopsis reboot Description...
  • Page 38: Remoteaccess

    remoteaccess Name remoteaccess Allows certain protocols to access the modem from the WAN side. Synopsis Usage: remoteaccess <enable|disable> remoteaccess show remoteaccess --help Description The remoteaccess command sets the security level to allow or disallow remote access into the route using telnet, http, snmp, or ping from the WAN side.
  • Page 39: Route

    route Name route Shows and configures the IP routing table. Synopsis route add <ipaddress> <subnetmask> <[<gateway>] [<interface>]> route delete <ipaddress> <subnetmask> route show route --help Description The route command lets you add entries to and delete entries from the IP routing table. Its primary use is to set up static routes to specific hosts or networks via an interface.
  • Page 40: Save

    Examples Add a route to the network 192.56.76.x via the br0 interface. route add 192.56.76.0 255.255.255.0 br0 Add a route to gateway 10.6.33.129 for network 192.57.66.x. route add 192.57.66.0 255.255.255.0 10.6.33.129 Output The output of the kernel routing table is organized in the following columns: Destination The destination network or destination host.
  • Page 41: Sntp

    --help Description The sntp command automatically synchronizes the router's time with the specified Internet time servers. Options disable If SNTP is enabled, disable it (requires a reboot). date Show the current date and time of the router.
  • Page 42: Swversion

    swversion Name swversion Displays the current running software version. Synopsis swversion show Description The swversion command is used to view the software version, ADSL firmware version, and ADSL driver version. Examples Display the current software version. > swversion show 3.02L.01.A2pB018e.d16f In this example, 3.02L.01 is the software version, A2pB018e is the ADSL firmware version, and d16f is the ADSL driver version.
  • Page 43: Tftp

    tftp Name tftp Starts a TFTP client to update software or retrieve and back up the configuration data. Synopsis tftp [OPTION]... tftp_server_ip_address Description The TFTP client updates the software and configuration data from a remote TFTP server and backs up and retrieves the configuration to the remote TFTP server.
  • Page 44 Name Lets you configure the WAN interfaces for the DSL router. Synopsis wan config <port.vpi.vci> [<connection Id>] [--protocol <bridge|pppoe|pppoa|mer|ipoa>] [--encap <llc|vcmux>] [--vlanid <vlan id>] [--state <enable|disable>] [--service <servicename>] [--firewall <enable|disable>] [--nat <enable|disable>] [--igmp <enable|disable>] [--qos <enable|disable>] [--username <username> --password <password>] [--pppidletimeout <timeout>] [--pppipextension <disable|enable>]...
  • Page 45 show Shows the ATM PVC VPI/VCI, service category, WAN interface service name, WAN interface name, WAN protocol, WAN interface service state, WAN interface up/down status, and WAN IP address. --help Displays usage for the WAN interface. Options Options for the config command: wan config <port.vpi.vci>...
  • Page 46 --encap <llc|vcmux> The encapsulation type over the ATM PVC. Valid values: llc or vcmux. • llc--For MER, PPPoE, or bridge, llc is RFC2684 bridged encapsulation. For PPPoA, llc is RFC2364 LLC/NLPID encapsulation. • vcmux--RFC2684 VC-MUX (null encapsulation). Default value: llc for bridge, PPPoE, MER, or IPoA. vcmux for PPPoA.
  • Page 47 --pppidletimeout <timeout> The PPP timeout of a PPPoE or PPPoA interface. This option is only applied to a PPPoE or PPPoA interface. Valid values: 0-1090 (minutes). 0: PPP connection is always on. Greater than 0: WAN traffic is monitored and the PPP connection is torn down when there is no user data activity over the WAN interface for more than this idle time period.
  • Page 48 Options for the delete command: wan delete <port.vpi.vci> [<connection Id>] <port.vpi.vci> port--port number of the VCC to add. Valid values: 0. vpi--VPI of the VCC to add. Valid values: 0-255. Default value: 0 vci--VCI of the VCC to add. Valid values: 32-65535. Default value: 35.
  • Page 49 Examples Configure a PPPoE interface. wan config 0.0.35 --protocol pppoe --username username --password password -- encap llc Configure a PPPoA interface. wan config 0.0.36 --protocol pppoa --username username --password password -- encap vcmux Configure a MER configuration using DHCP client. wan config 0.0.37 --protocol mer --encap llc Configure a MER configuration using a static WAN address.
  • Page 50 6211-I1 ADSL2+ Router Command Line Interface User’s Guide Display usage for bridge. wan -help bridge Usage: wan config <port.vpi.vci> [--protocol <bridge|pppoe|pppoa|mer|ipoa>] [--encap <llc|vcmux>] [--state <enable|disable>] [--service <servicename>] wan delete <port.vpi.vci> wan show [<port.vpi.vci>] wan --help <bridge|pppoe|pppoa|mer|ipoa>...

This manual is also suitable for:

6211-i1

Table of Contents