3
Surfboard Cable Modem Shell Commands Written by prometheus Saturday, 10 November 2007 THIS TUTORIAL IS INTENDED FOR THEORETICAL USE ONLY, USE ON PRODUCTION SYSTEMS MAY VIOLATE YOUR ISP's TERMS OF SERVICE. THEORYSHARE TAKES NO RESPONSIBILITY FOR YOUR ACTIONS. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THIS SOFTWARE IS INTENDED FOR EDUCATIONAL USE ONLY AND MAY BE ILLEGAL IF USED IMPROPORLY. USERS ASSUME FULL RESPONSIBILITY FOR THEIR ACTIONS. SBGxxxx/SB5120/SB5100/SB4220/SB4200/SB4100/SB3100/ SB3100D Command Line Interface Notes The CLI can only be accessed via an “rlogin” based Telnet client or the Diagnostic Console Cable and the DIAG port on the back of the modem, if available. The SURFboard cable modems do not come with a DIAG port and may be special ordered. Modems that are going to be used as Diagnostic Tools and use the CLI must have the “SHELL” version of modem firmware. Connecting to the SURFboard Cable Modem via Diagnostic Console Cable: The CLI can be accessed via the Diagnostic Console Cable and the DIAG port on the back of the modem. This is typically done via “Windows HyperTerminal” with the following settings: Bits per second: 115,200 for SBGxxxx and SB5100, 38400 for 4X00, 9600 for SB5120, SB4220, 3100 and 3100D Data bits: 8 Parity: None Stop bits: 1 Flow Control: None Diagnostic cables are available through your Motorola Sales representative. The following information pertains to the SB4X00 and SB3100 SURFboard Diagnostic CMs only: Connecting to the SURFboard Cable Modem (SB4x00 and SB3100 only) via Ethernet and an “rlogin” based Telnet Client: Modem Ethernet IP address: 192.168.100.1 To access CLI from client CPE, via Ethernet: rlogin 192.168.100.1 To access CLI from HFC side: rlogin <modem IP address from DHCP>

Surfboard Cable Modem Shell Commands

Embed Size (px)

Citation preview

Page 1: Surfboard Cable Modem Shell Commands

Surfboard Cable Modem Shell Commands Written by prometheus Saturday, 10 November 2007 THIS TUTORIAL IS INTENDED FOR THEORETICAL USE ONLY, USE ON PRODUCTION SYSTEMS MAY VIOLATE YOUR ISP's TERMS OF SERVICE. THEORYSHARE TAKES NO RESPONSIBILITY FOR YOUR ACTIONS. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THIS SOFTWARE IS INTENDED FOR EDUCATIONAL USE ONLY AND MAY BE ILLEGAL IF USED IMPROPORLY. USERS ASSUME FULL RESPONSIBILITY FOR THEIR ACTIONS.

SBGxxxx/SB5120/SB5100/SB4220/SB4200/SB4100/SB3100/SB3100D Command Line Interface Notes

The CLI can only be accessed via an “rlogin” based Telnet client or the Diagnostic Console Cable and the DIAG port on the back of the modem, if available. The SURFboard cable modems do not come with a DIAG port and may be special ordered. Modems that are going to be used as Diagnostic Tools and use the CLI must have the “SHELL” version of modem firmware.

Connecting to the SURFboard Cable Modem via Diagnostic Console Cable:The CLI can be accessed via the Diagnostic Console Cable and the DIAG port on the back of the modem. This is typically done via “Windows HyperTerminal” with the following settings:Bits per second: 115,200 for SBGxxxx and SB5100, 38400 for 4X00, 9600 for SB5120, SB4220, 3100 and 3100D Data bits: 8 Parity: None Stop bits: 1 Flow Control: None Diagnostic cables are available through your Motorola Sales representative.

The following information pertains to the SB4X00 and SB3100 SURFboard Diagnostic CMs only:

Connecting to the SURFboard Cable Modem (SB4x00 and SB3100 only) via Ethernet and an “rlogin” based Telnet Client:Modem Ethernet IP address: 192.168.100.1To access CLI from client CPE, via Ethernet: rlogin 192.168.100.1To access CLI from HFC side: rlogin <modem IP address from DHCP>

Page 2: Surfboard Cable Modem Shell Commands

Logging Into the SURFboard Cable Modem:Login name: targetPassword: first 15 digits of the unit serial number <It is best to copy these into a Notepad Window first, then copy/paste to the Terminal Window you are using for access.>

Key Commands:addressing Displays modem addressing information (Ethernet MAC and IP)arpstorm Displays ARP Storm filter statisticsblpinfo Displays Baseline Privacy Key Management informationbootChange Changes modem boot parametersbridge Displays state of bridge forwarding layer and statisticsclrcpemac <xx-xx-xx-xx-xx> Clear one static CPE MAC address from Table of known CPE’s. Number of CPE’s (Controlled by TFTP TLV Value MaxCPE)config Use to set modem configuration settings, such as starting frequency ranges, known frequency and other registration/scanning parameterscpemac Lists MAC addresses known by SB2100/SB2100D, including those provisioned and learneddefaultcfg Sets the modem back to factory defaultsdhcpc Displays modem DHCP configuration information received from serverdlfile Downloads new software image from a specified server through TFTP dsdiag Displays downstream diagnostic information, (frequency, SNR, FEC lock status)eventlog Displays event logs up to 173 entries, with wraparound bufferexit | quit Exit the login sessionfactSetCliOff Turns off CLI after next reboothelp | ? Lists available CLI commandshaltreset Cancels reset action requesthosts Displays VxWorks host name tablei Displays a summary of each task and associated TCB (Task Control Block)ifconfig Display information about all attached network interfacesifconfig [interface] Displays information about specific interfaceipcache Displays IP filter cache informationifcachestat Displays IP filter cache statisticsipfilter Displays state of IP filterslkAddr [addr] Displays Engineering symbols whose values are near a specified valuellcfilter Displays LLC filter informationmacstat Displays MAC packet counts and statisticsmemShow Displays system memory partition blocks and statisticsmulticast Displays multicast protocol informationnetstat Displays statistics for all protocolsnetstat –icmp Displays statistics for ICMPnetstat –ip Displays IP statisticsnetstat –inet Displays all active connections for IP socketsnetstat –rn Displays routing tablesnetstat –tcp Displays statistics for the TCP protocolnetstat –udp Displays statistics for the UDP protocol

Page 3: Surfboard Cable Modem Shell Commands

ping <x.x.x.x> Ping an IP addressping <hostname> Ping an IP host by name (names are only configurable at the Engineering Diagnostic Level)quit Exits the login sessionreset Reset the Cable Modemrlogin <hostname> Establishes a rlogin session to hostname (names are only configurable at the Engineering Diagnostic Level)routes Displays host and network routing tablesetdbg Sets some debug flags (see below)startuplog Displays startup log informationtelnet <x.x.x.x> Establishes a telnet sessiontftpinfo Displays TFTP informationusdiag Displays upstream diagnostic information, (SID, power level, frequency, rate)ver Displays software/hardware versions

Key Debug Flags: <Set through CLI setdbg command> <By default, they are set to 0, except QAM 16 Preamble is set to 1> Ignore Auto Update IF 1, Do not auto update the Firmware image upon registration IF 0, Auto update the Firmware image as designated by TFTP Config fileCanned Registration IF 1, DHCP, TOD, TFTP will be bypassed and canned registration will be usedFine Scan on IF 1, Do fine scanUse Scan Limit IF 1, Perform scan within parameters of the defined scan limitsDHCP Debug On IF 1, DHCP Debug statements are displayedConfg Debug On IF 1, Config Debug statements are displayedTOD Debug On IF 1, Time of Day Debug statements are displayedReg Debug On IF 1, Registration Req/Res values are displayedScan Debug On IF 1, Then each frequency tested will be printed scanMMT Cmd Debug On IF 1, MMT Debug statements are displayedRange Debug On IF 1, Ranging Debug statements are displayedUCD Debug On IF 1, UCD Debug statements are displayedUU Debug On IF 1, Unit Update debug statements are displayedCLI Off IF 1, Turns off CLI shell. Use vxWorks Operating System ShellBLP Off IF 1, Turns off Baseline Privacy.QAM16 Preamble IF 1, use QAM 16. IF 0, use QPSKFrequency step size Set to Values (50000 - 8000000 Mhz): [default = 6000000] Scan lower limit Set lower Scan Limit Starting Point (0 - 800 MHz) Scan upper limit Set lower Scan Limit Starting Point (0 - 900 MHz)

Are you sure you want to update these values to flash (Y/N)? Select Y/N to match your needs