Sie sind auf Seite 1von 6

Telnet Command Reference

Written by T C N I S O
Friday, 23 May 2008
Terms of Use:
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.
Referenced below are a list of telnet commands for Sigma X/X2 -----------------------------------
stop scanning frequency
----------------------------------
cd /d
scan_stop
or
cd /cm
scan_stop
-----------------------------------
start scanning frequency
-----------------------------------
cd /d
goto_ds 327 (will be 327 Mhz, and if not hitch continues scanning)
---------------------
show HFC IP
---------------------
cd /d
ip_show
or:
cd /ip
lease_show
------------------------------------------------------------
Show information about registered modem
------------------------------------------------------------
cd /d
modem_caps
-----------------
clear logs
-----------------
cd /e
flush
------------------------------
disable snmp filters
------------------------------
cd /s
filters off
yes
----------------------------------
set snmp to NoAccess
----------------------------------
cd /s
view_v1v2 NoAccess
----------------------------------
show snmp information
----------------------------------
cd /s
n2m
y
-------------------------
Hide System OID
-------------------------
cd /s
delete sysDescr
write
-------------------------------
print certificate values
-------------------------------
cd /n/b
print private
print public
print root
print cm_cert
print ca_cert
------------------------------------
change certificate values
------------------------------------
cd /n/b
change_key public
change_key private
change_key root
change_key cm_cert
change_key ca_cert
write
----------------------------------------------------------
place root or ca_cert in dynamic memory
----------------------------------------------------------
cd /n/b
key_location root false
key_location ca_cert false
write
---------------------------------------
set frequency and channel
---------------------------------------
cd /n/d
ds_frecuency xxx <- your weightings in mhz
us_channel x <- your number of channel
write
-------------------------------------------------------------
change the start up downstream frequency
-------------------------------------------------------------
cd /n/d
startup_dsfreq xxxxxx
cd ..
write
---------------------------------
activating DOCSIS 1.1
---------------------------------
cd /n/d
enable docsis11 true
write
-------------------
disable bpi
-------------------
cd /n/d
enable bpi false
write
-------------------
enable bpi+
-------------------
cd /n/d
enable bpi true
bpi_version 1
write
-------------------
disable bpi+
-------------------
cd /n/d
enable bpi true
bpi_version 0
write
-------------------------
change tftp info
-------------------------
cd /n/d
enable force_cfgfile true
dhcp_settings
My IP Address: [192.168.100.1] {hit enter}
Subnet Mask: [255.255.255.0] {hit enter}
Router IP Address: [192.168.100.254] {hit enter}
Those are the only 3 that really need to be changed.
Do you want to change the other settings? [no] (hit Y}
TFTP Server IP Address: [10.10.10.254] type in the IP of your TFTP server here
Config file name: [cm.bin] {type config file}
Time Server IP Address: [10.10.10.254]
SysLog Server IP Address: [10.10.10.254]
----------------------------
change the tuner
----------------------------
cd /n/h
cm_tuner xx (xx its share)
write
---------------------------------------------
change the annex for your area
---------------------------------------------
cd /n/h
annex_ # (# = A -> EuroDOCSIS, B -> DOCSIS, C -> more)
cm_annex @ (@ = 1 -> Annex A, 0 -> Annex B, 2 - Annex C, 3 hybrid)
Write
(It is necessary to change the cm_annex if you change the annex)
---------------------------------
change Ethernet MAC
---------------------------------
cd /n/h
mac_address 2 aa:bb:cc:dd:ee:ff
write
---------------------------
change USB MAC
---------------------------
cd /n/h
usb_mac_address aa:bb:cc:dd:ee:ff
write
------------------------------
change the HFC MAC
------------------------------
cd /
write_memory 2155776876 0x11
write_memory 2155776877 0x22
write_memory 2155776878 0x33
write_memory 2155776879 0x44
write_memory 2155776880 0x55
write_memory 2155776881 0x66
cd /n
write
or
Assuming our MAC address is AA:BB:CC:DD:EE:FF, enter:
write_memory -s 4 0x807e8b98 0xAABBCCDD
write_memory -s 2 0x807e8b9c 0xEEFF
or
cd n/h
mac_address 1 aa:bb:cc:dd:ee:ff
cd /n
write
-----------------------------------
show the current state
-----------------------------------
cd /n/h
show
or:
cd /n/d
show
------------------------------
enable telnet access
------------------------------
cd /n/m
enable_telnet true
write
----------------------------------------------------------
change the username and pass for telnet
----------------------------------------------------------
cd /n/m
user_name <your desired username here>
password <your desired password here>
write
-----------------------------------------
diable external telnet access
-----------------------------------------
cd /n/m
telnet_ipstacks 2
write
--------------------------------
stealth snmp settings
--------------------------------
cd /n/s
max_dload_tries 0
hide_ipstack_ifentries true
docsDevSwAdminStatus 3
docsDevSwOperStatus 2
diag_disable_post_reg true
write
------------------------------------------------------
old stealth mode (release hfc ip lease)
------------------------------------------------------
cd /ip
ipconfig 1 release