background image

 

 

 

 

 

 

 

 

6211-I1 ADSL2+ Router  

Command Line Interface 

User’s Guide 

Document Number 6211-A2-GB23-00 

 

September 2005 

 
 
 

 

 

Summary of Contents for Hotwire 6211

Page 1: ...6211 I1 ADSL2 Router Command Line Interface User s Guide Document Number 6211 A2 GB23 00 September 2005 ...

Page 2: ...stallation documentation training distributor locations or Paradyne worldwide office locations use one of the following methods Internet Visit the Paradyne World Wide Web site at www paradyne com Be sure to register your warranty at www paradyne com warranty Telephone Call our automated system to receive current information by fax or to speak with a company representative Within the U S A call 1 8...

Page 3: ...ion 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 28 help 29 ifconfig 29 kill 31 lan 32 logout 34 passwd 35 ping 35 ppp 36 ps 36 pwd 37 reboot 37 remoteaccess 38 restoredefault 38 route 39 save 40 sntp 41 swversion 42 ...

Page 4: ...6211 I1 ADSL2 Router Command Line Interface User s Guide 4 sysinfo 42 tftp 43 wan 44 ...

Page 5: ...remoteaccess restoredefault route save sntp swversion sysinfo tftp wan 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 2 Open a command window and use Telnet to connect to the ...

Page 6: ... Yes dns See comments Yes Yes If changing from dynamic to static then effective at run time but if changing from static to dynamic then effective after the system is rebooted dumpcfg Yes No No help Yes No No lan No Yes Yes logout Yes No No passwd Yes Yes Yes Effective after logout ppp Yes No No pwd Yes No No remoteaccess Yes Yes Yes restoredefault See comments Yes Yes Effective after the system is...

Page 7: ...ory Up 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 CTL l lowercase letter of L Clear to the beginning of line CTL u Clear to the end of line CTL k Delete DEL or CTL h Terminate CTL c cannot terminate certain running applications such as PING ...

Page 8: ... can redirect stdout to a file and then parse the file in order to interpret the displayed output Commands bert Controls the ADSL BERT This command can start stop BERT and monitor its results configure Configures ADSL connection parameters This command takes the same parameters as the start command except for up This command causes the ADSL PHY to retrain connection Controls ADSL connection modes ...

Page 9: ...Calls BcmAdsl_ConnectionStart to start the ADSL PHY connection mod a d l t 2 p e m a all modulations allowed d G DMT enabled l G Lite enabled t T1 413 enabled 2 ADSL2 G 992 3 enabled p ADSL2 G 992 5 enabled e Reach extended ADSL Annex L enabled m Double upstream Annex M enabled More than one mode letter can be specified to enable several modes lpair i nner o uter i nner inner loop pair is used o u...

Page 10: ...y the ADSL PHY xmtStart first tone used in the upstream direction usually 0 xmtNum number of tones in the upstream direction usually 32 xmtMap bitmap for tones used in the upstream direction Specified as a hexadecimal string Bit value 0 means the corresponding tone is not used and bit value 1 means it is used rcvStart first tone used in the downstream direction usually 32 rcvNum number of tones in...

Page 11: ...nfo state show stats reset state Displays the shortest message about the ADSL PHY connection state for example adsl ADSL driver and PHY status Status Showtime Channel FAST Upstream rate 8064 Kbps Downstream rate 1024 Kbps show Displays more statistics about the ADSL connection stats Displays all available statistics about the ADSL connection SNR Displays the signal to noise ratio SNR per tone rese...

Page 12: ...adsl bert start 60 To run the BERT for 60 seconds After about 20 seconds of the BERT running the results appear adsl bert show adsl BERT results BERT Status RUNNING BERT Total Time 60 sec BERT Elapsed Time 20 sec BERT Bits Tested 0x0000000008B4C700 bits BERT Err Bits 0x0000000000000067 bits After 60 seconds when the BERT has completed the results of the show command appear adsl bert show adsl BERT...

Page 13: ...s Showtime Channel FAST Upstream rate 8064 Kbps Downstream rate 1024 Kbps Mode G DMT Channel Fast Trellis ON Line Status No defect Training status Showtime Down Up SNR dB 16 1 7 0 Attn dB 0 0 5 5 Pwr dBm 6 5 7 8 Max Kbps 11040 1088 Rate Kbps 0 0 K 0 0 0 R 0 0 S 1 1 D 1 1 SF 25288 25286 SFErr 1 0 RS 0 0 RSCorr 0 0 RSUnCorr 0 0 HEC 1 0 OCD 0 0 LCD 0 0 ES 1 0 ...

Page 14: ...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 Examples Add a static ARP entry for IP address 192 168 1 2 with MAC address 00 11 22 33 44 55 arp add 192 168 1 2 00 11 22 33 44 55 Show the ARP table arp show IP address HW type Flags HW address Mask Device 192 168 1 3 0x1 0x2 00 01 03 E3 4F F9 br0 192 168 1 2 0x1 0x6 00...

Page 15: ...nd calls BcmAtm_Initialize to initialize the driver and BcmAtm_SetTrafficDescrTable to add one UBR traffic descriptor table entry stop Stops the ATM driver This command calls BcmAtm_Uninitialize operate Operates on traffic descriptor table entries ATM interfaces and VCCs Depending upon the options this command calls BcmAtm_GetTrafficDescrTable BcmAtm_SetTrafficDescrTable BcmAtm_GetInterfaceCfg Bcm...

Page 16: ...tions for the operate intf command atm operate intf state port type show port stats port reset state port type port port number starting at 0 to enable or disable type enable disable show port port port number starting at 0 to display configuration information If port is omitted configuration information is displayed for all configured ports stats port reset port port number starting at 0 to displ...

Page 17: ...isplay configuration information If port vpi vci is omitted configuration information is displayed for all configured VCCs stats port vpi vci reset port vpi vci port number VPI and VCI that identifies the VCC to display statistics reset resets statistics fields If port vpi vci is omitted statistics are displayed for all configured VCCs Exit Codes Exit codes less than 100 are assigned by the ATM dr...

Page 18: ... 0 35 aal5 1 vcmux_bridged8023 addq 0 0 35 64 2 addq 0 0 35 80 1 atm operate vcc add 0 0 36 aal5 1 vcmux_routed addq 0 0 36 128 1 atm operate vcc show vcc status type tdte_index q_size q_priority encapsulation 0 0 35 enabled aal5 1 64 2 vcmux_bridged8023 80 1 0 0 36 enabled aal5 1 128 1 llcencaps Display interface statistics assumes that the ATM driver is started atm operate intf stats interface s...

Page 19: ... network corresponds to the bridge network interface such as br0 Commands addbr bridge Creates a new instance of the bridge The network interface corresponding to the bridge is called bridge addif bridge device Makes the interface device a port of the bridge bridge This means that all frames received on device will be processed as if destined for the bridge Also when sending frames on bridge devic...

Page 20: ...bridge port prio Sets the port s port priority to priority The priority value is an unsigned 8 bit quantity a number between 0 and 255 and has no dimension This metric is used in the designated port and root port selection algorithms show Shows all current instances of the bridge showmacs bridge Shows a list of learned MAC addresses for this bridge showstp bridge Shows the Spanning Tree Protocol S...

Page 21: ...p br0 off cat Name cat 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 cat proc meminfo ...

Page 22: ... a PPPoE PPPoA or Internet Protocol over ATM IPoA interface If the default gateway is en route a MER interface ipaddress must be configured and the interface parameter is optional If there is only one IPoA WAN interface you must configure static default gateway or default route since IPoA does not support DHCP If the default gateway is configured with the auto option the system needs to be reboote...

Page 23: ...ystem 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 Commands None Options h Print sizes in human readable format for example 1K 243M 2G m Print sizes in megabytes k Print sizes in kilobytes default Examples Display the available space on all the mounted file systems Df Display the av...

Page 24: ... order to interpret the displayed output Commands config Configures the DHCP server with the given data This command saves the configuration data to flash but does not take effect until the system is rebooted show Shows the DHCP server configuration data help Displays usage Options Options for the config command dhcpserver config start IP address end IP address leased time hour start IP address Th...

Page 25: ...tion 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 dhcpserver help dns Name dns Lets you configure or show the DNS relay data Synopsis dns config auto dns config static primary DNS secondary DNS dns show dns help Descr...

Page 26: ...he primary DNS server Valid values any valid IP address secondary DNS The IP address of the secondary DNS server It is optional and can be omitted Valid values any valid IP address Options for the show command dns show Options for the help command dns help Examples An auto DNS configuration dns config auto A static DNS configuration without a secondary DNS dns config static 10 6 33 1 A static DNS ...

Page 27: ...0 AtmCfg AtmCfgTd td1 cat UBR PCR 0 SCR 0 MBS 0 AtmCfgTd SystemInfo sysLog state enable displayLevel ERR logLevel DEBUG option local serverIP 0 0 0 0 serve rPort 514 snmp state disable readCommunity public writeCommunity private sysName Broadcom sysLocati on unknown sysContact unknown trapIP 0 0 0 0 sysUserName value admin protocol autoScan enable upnp enable macFilterPolicy forward siproxd enable...

Page 28: ... ripIfc tableSize 1 ripIfcEntry id 1 name br0 state disable version 2 operation active ripIfc RouteCfg ADSL DDNSCfg SNTPCfg ToDCfg ipsrv_0_35 dhcpc_conId1 state disable wanAddress 10 6 33 138 wanMask 255 255 255 0 ipsrv_0_35 wan_0_35 entry1 vccId 1 conId 1 name ipoa_0_35 protocol IPOA encap LLC firewall disable nat d isable igmp disable service enable wan_0_35 psitree echo Name echo Display a line...

Page 29: ... by the DSL router Options None ifconfig Name ifconfig Configure a network interface Synopsis ifconfig interface ifconfig interface aftype options address Description The Ifconfig command is used to configure the kernel resident network interfaces It is used at boot time to set up interfaces as necessary After that it is usually only needed when debugging or when system tuning is needed If no argu...

Page 30: ...s on the network will be received by the interface metric N This parameter sets the interface metric mtu N This parameter sets the Maximum Transfer Unit MTU of an interface dstaddr addr Set the remote IP address for a point to point link such as PPP This keyword is now obsolete use the pointopoint keyword instead netmask addr Set the IP network mask for this interface This value defaults to the us...

Page 31: ... flag on the interface This should not normally be needed as the drivers set the flag correctly outfill N This parameter sets the interface outfill timeout keepalive N This parameter sets the interface keepalive timeout txqueuelen length Set the length of the transmit queue of the device It is useful to set this to small values for slower devices with a high latency modem links ISDN to prevent fas...

Page 32: ...nterfaces A LAN interface is a logic interface toward the IP stack from the Bridge module Both primary and secondary LAN interfaces share the same MAC address from the physical Ethernet port This utility can Configure the IP address and subnet mask for the primary LAN interface It can be either a private or a public IP address Configure the IP address and subnet mask for the secondary LAN interfac...

Page 33: ...any valid IP address Default value 192 168 1 1 Subnet mask subnet mask of the LAN interface Valid values 0 0 0 1 255 255 255 255 Default value 255 255 255 0 dhcpserver enable disable enable disable specify which DHCP server should be enabled or disabled This option is only valid for the primary LAN interface Valid values enable or disable Default value is enable for the primary LAN interface Optio...

Page 34: ... 0 overruns 0 carrier 0 collisions 0 txqueuelen 0 RX bytes 7412118 7 0 MiB TX bytes 34445874 32 8 MiB br0 0 Link encap Ethernet HWaddr 02 10 18 01 00 01 UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 Display usage lan help Usage lan config ipaddr primary secondary IP address subnet mask dhcpserver enable disable lan delete ipaddr primary secondary lan show primary secondary lan help logout Name ...

Page 35: ... target host Synopsis ping c count s size host Description The ping command sends out ICMP echo requests over the ICMP to a host on the network The default number of ICMP echo request packets the ping command sends out is four To continually send out packets without stopping use the c 0 option Options count The number of ICMP echo request packets the ping command sends out A count of zero is contr...

Page 36: ...identifies the VCC where the PPP connection is established connection id The number that identifies an existing WAN connection on a PVC If connection ID is omitted the default is 1 Valid values 1 8 Default value 1 Examples Bring down the PPP connection on the 0 0 35 VCC ppp config 0 0 35 down ps Name ps Report process status Synopsis ps Description The ps command gives a snapshot of the current pr...

Page 37: ...f the current working directory Synopsis pwd 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 The reboot command reboots the system Commands None Options None Examples Reboot the system reboot ...

Page 38: ...able disable and show Examples Show the current remote access mode remoteaccess show Remote access is disabled Enable remote access remoteaccess enable Disable remote access remoteaccess disable restoredefault Name restoredefault Restores the modem configuration to factory defaults Synopsis restoredefault Description The restoredefault command erases all configurations made by the user and restore...

Page 39: ... Add Adds a new route entry Delete Deletes a route entry Show Shows the current content of the routing table including static and dynamic route entries Options ipaddress The destination network or host IP address in dotted decimal notation For example 137 27 51 0 subnetmask When adding a network route the netmask must be specified The target address must have a 0 matching with the 0 portion in the...

Page 40: ...way The gateway address or if none is set Genmask The netmask for the destination net 255 255 255 255 for a host destination and 0 0 0 0 for the default route Flags Possible flags include U route is up H target is a host G use gateway R reinstate route for dynamic routing D dynamically installed by daemon or redirect M modified from routing daemon or redirect Files proc net route proc net rt_cache...

Page 41: ...onizes 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 zones Show the list of supported time zones Examples Set up the SNTP server with the Pacific Time Tijuana zone sntp s time nist gov t Pacific Time Tijuana Disable SNTP requires a reboot to be effective sntp disable Show ...

Page 42: ... 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 sysinfo Name sysinfo Display the general system information Synopsis sysinfo Description The sysinfo command displays the number of processes in the system system time system uptime average system load in the past 1 5 and 15 minutes and system memory consumpt...

Page 43: ...ves the configuration to the remote TFTP server Commands None Options g Get file update image configuration data p Put file back up configuration data f Remote file name t Where i is for image and c is for configuration data Examples Back up configuration data tftp p t c f backupsetting cfg 192 168 1 2 Restore configuration data tftp g t c f backupsetting cfg 192 168 1 2 Update software tftp g t i...

Page 44: ... command configures the protocol encapsulation mode over ATM PVC state and service name for each WAN interface configures the username password idle timeout and PPP IP extension for a PPPoE or a PPPoA interface configures the IP address and subnet mask for a MER or IPoA interface enables NAT or firewall for a MER or IPoA interface enables or disables the DHCP client for a MER interface deletes the...

Page 45: ...nable disable service servicename username username password password vlanid vlan id port vpi vci port port number of the ATM 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 connection Id The connection Id identifies a WAN connection on a PVC To add a new WAN connection the connection Id should ...

Page 46: ... of a MER or IPoA interface This option should only be used for a MER or IPoA interface PPPoE and PPPoA interfaces always receive the IP address submask and DNS addresses automatically from the ISP through the PPP protocol If this option is used and the dhcpclient value is enable the DHCP client will be disabled on this interface In general principle static configuration overwrites dynamically ass...

Page 47: ...disable protocol bridge pppoe pppoa mer ipoa The protocol of the WAN interface Valid values bridge pppoe pppoa mer or ipoa Default value bridge qos enable disable Whether QoS Quality of Service is enabled Valid values enable or disable Default value disable service servicename The service name of the WAN interface Valid values strings of 32 characters Default value protocol _ vpi _ vci state enabl...

Page 48: ...t vpi vci 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 If port vpi vci is omitted then it will display the summary state of all existing WAN interfaces The configuration needs to first be saved to permanent storage and then it becomes effective after a reb...

Page 49: ...55 255 0 Configure a bridge configuration wan config 0 2 35 Remove a WAN interface wan delete 0 2 35 Display all WAN interfaces wan show VCC Catego Service Intf Proto State Status IP Name Name Address 0 0 35 UBR pppoe_0_35 ppp33 PPPoE Enable Up 10 6 33 143 0 0 36 UBR pppoa_0_36 ppp42 PPPoA Enable Up 10 6 33 152 0 0 37 UBR mer_0_37 nas27 MER Enable Up 10 6 33 193 0 0 40 UBR ipoa_0_40 atm52 IPoA Ena...

Page 50: ...ide 50 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 ...

Reviews: