部分Telnet命令:(主要针对是Vinking系列芯片)
MAC地址列表清除:
运行CMD,输入arp -d回车
备份FW:
tftp -i 192.168.1.1 get TEimage.bin
升级FW:
tftp -i 192.168.1.1 put TEimage.bin
TELNET的方法设置:
登陆端口设置
modify nbsize httpport <decvalue>
modify nbsize telnetport <decvalue>
modify nbsize ftpport <decvalue
关闭SNMP
modify snmp trap disable
如果这样关闭不彻底,用扫描器仍能发现SNMP漏洞,最好加上下面两句:
$delete snmp comm community private
$delete snmp comm community public
telnet控制台修改MTU值:
modify ppp intf ifname ppp-0 mtu 1480
ifconfig eth0 mtu 14xx (Linux Shell)
设置VPI和VCI值(由ADSL运营商提供,假设:VPI为0,VCI为 33)
add interface atmpvc
set interface atmpvc0 vpi 0
set interface atmpvc0 vci 33
指定线路模式(假设为 2:G.dmt)
set interface adsl standard 2
设置封装类型(5为PPPOE)
set interface atmpvc0 encap 5
设置拨号时的用户名和密码(由ADSL运营商提供,假设:用户名为adsl,密码
为adsl)
set interface atmpvc0 user adsl
set interface atmpvc0 password adsl
开启NAT(网络地址转换)
set interface atmpvc0 nat on
关闭桥方式
set interface atmpvc0 bridge off
set bridge off
保存设置
save
重新启动
reboot