Kitz ADSL Broadband Information
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
 

Broadcom CLI

From kitz wiki
Revision as of 07:54, 27 December 2011 by Roseway (talk | contribs) (CLI commands for Broadcom-based routers)
Jump to: navigation, search

Routers using Broadcom chipsets

Broadcom chipsets are widely used in ADSL routers, and most incorporate a very similar CLI command set, accessed through its telnet interface. It should be noted though that a number of ISP customised versions of these routers have the telnet interface disabled. This is an incomplete list of routers which have Broadcom chipsets and support telnet:

BCM 6338 chipset

  • D-Link DSL-2540B, DSL-2542B
  • Thomson/Speedtouch ST536, ST546, TG585v7

BCM 6348 chipset

  • Netgear DG834GT, DG834v4, DG834Gv4, DG834PN, DGN2000
  • D-Link DSL-2640B
  • Thomson/Speedtouch ST585

BCM 6358 chipset

  • Billion 7700(N), 7800(N)
  • D-Link DSL-2740B
  • Netgear DG834N, DGN2200

CLI commands for Broadcom-based routers

All Broadcom-based ADSL routers have very similar CLI command sets. Listed below are a few of the more frequently used commands. In most cases, the CLI can be accessed via the telnet interface.

Note regarding Netgear routers

Netgear routers use a slightly modified version of the Broadcom CLI command set. The command which is used most often is 'adsl' with various parameters, but in Netgear routers this command is replaced by 'adslctl'. On this page we will use 'adsl', but Netgear users will need to substitute 'adslctl'.

help command

  • help - gives a list of the available commands
  • one of those commands with no parameters - gives a synopsis of the usage of that command

adsl command

  • adsl info --show - displays a brief set of router stats
  • adsl info --stats - displays a full set of router stats including error rates over various periods
  • adsl info --SNR - displays the current SNR for each ADSL tone
  • adsl info --Bits - displays the bitloading for each ADSL tone
  • adsl configure --snr N - sets the target noise margin to a new value, and triggers a re-sync.

The value of N determines how much the target noise margin changes from the default value set in the exchange. The following table gives approximate values:

Value of N Approx change in target noise margin
65450 -12 dB
65500 -9 dB
1 -5.5 dB
50 -3 dB
100 0 dB
150 +3 dB
200 +6 dB

Warning

Be careful when making changes to the target noise margin, in particular when reducing it. The lower the noise margin, the less stable the router is likely to be, and if you go too far the router may not be able to make a connection at all.