Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login: admin
- Password:
- BusyBox v1.12.4 (2019-09-19 09:30:29 CST) built-in shell (ash)
- Enter 'help' for a list of built-in commands.
- # ethctl
- Usage:
- tx <packet_count>
- send number of <packet_count> packets
- rx <time>
- gather statistics of rx packets in <time> seconds
- on <phy>
- turn on the <phy> port of the switch
- off <phy>
- turn off the <phy> port of the switch
- r <phy> <reg> [<page>]
- read <reg> page <page> value of the <phy> port of the switch
- w <phy> <reg> <hex-val> [<page>]
- write <hex-val> to <reg> page <page> of the <phy> port of the switch
- led
- turn on all LED
- gpio <index> <0/1>
- GPIO pin test
- conntrack <killall/killtcpudp/killicmp>
- kill all/tcpand udp/icmp conntrack sessions
- route <add/delete>
- add/delete static Route
- dumpqos
- dump RTL8306 QoS
- resetcnt
- reset RTL8306 MIB counter
- dumpcnt
- dump RTL8306 MIB counter
- vlaninfo
- dump VLAN info.
- igmpinfo
- dump IGMP info.
- debug igmp <0/1>
- switch <vi/le>
- dump switch's vlan info/learning entry
- pkt <no/all/tx/rx>
- dump nic <no/all/tx only/rx only> packets
- addsmux protocol real_dev smux_dev [napt] [brpppoe] [vlan vid]
- protocol: bridge/ipoe/pppoe
- real_dev: smux device name
- smux_dev: real dev name
- remsmux protocol real_dev smux_dev [vlan vid]
- protocol: bridge/ipoe/pppoe
- real_dev: smux device name
- smux_dev: real dev name
- mirror <wan_dev> <lan_dev> <action>
- Mirror <wan_dev> traffic to <lan_dev>.
- action = 0: off, 1: mirror tx, 2: mirror rx, 3: mirror both
- enable_usb0_wan 0/1
- enable_nas0_wan 0/1/2
- # brctl
- commands:
- addbr <bridge> add bridge
- addif <bridge> <device> add interface to bridge
- delbr <bridge> delete bridge
- delif <bridge> <device> delete interface from bridge
- show show a list of bridges
- showmacs <bridge> show a list of mac addrs
- showstp <bridge> show bridge stp info
- setageing <bridge> <time> set ageing time
- setbridgeprio <bridge> <prio> set bridge priority
- setfd <bridge> <time> set bridge forward delay
- setgcint <bridge> <time> set garbage collection interval
- sethello <bridge> <time> set hello time
- setmaxage <bridge> <time> set max message age
- setpathcost <bridge> <port> <cost> set path cost
- setportprio <bridge> <port> <prio> set port priority
- stp <bridge> <state> turn stp on/off
- clrfltrport <bridge> clear multicast filter
- setfltrport <bridge> <port> set port number of filter
- # dbg_tool
- available cmds:
- get
- # dbg_tool get
- available cmds:
- info
- data
- version
- # dbg_tool get info
- 06 13 1f bc a0 77 93 76 5c 71 c9 b3 96 dc b1 1c 17 71 81 c3
- ae 5b 53 a7 95 33 a1 60 fa b7 b5 9a cb d5 56 6b 4c e9 e1 a8
- 5a aa 5b f0 86 0d 0d 9d 7e 8e 60 2c ea b4 d3 7f e7 75 df e1
- 2c 95 7b f7 6a d1 03 62 b6 ba 44 5f 15 ee ba 05 75 c7 12 12
- 46 a1 73 72 8b 27 46 0a 0e bb ea f0 e7 7f 6b df e9 3d 41 9f
- f7 85 fe 0c 74 b9 12 e9 80 24 fb c6 c5 6e 39 50 95 7f 5b a4
- # dbg_tool get data
- argument needed!
- # diag
- RTK.0>
- acl - acl configuration
- auto-fallback - Auto-Fallback configuration
- bandwidth - bandwidth configuration
- classf - classification configuration
- cpu - cpu configuration
- debug - debug configuration
- dot1x - dot1x configuration
- epon - epon configuration
- exit - exit diag shell
- field-selector - field selector configuration
- flowctrl - flowctrl configuration
- gpon - GPON configuration
- i2c - I2C configuration
- igmp - igmp configuration
- interrupt - interrupt configuration
- iol - iol configuration
- l2-table - l2 table configuration
- l34 - L34 configuration
- led - led configuration
- meter - shared meter configuration
- mib - mib configuration
- mirror - mirror configuration
- oam - oam configuration
- pbo - pbo configuration
- pon - pon configuration
- port - port configuration
- ppstod - ppstod configuration
- qos - qos configuration
- register - register configuration
- rldp - rldp configuration
- rlpp - RLPP configuration
- rma - rma configuration
- sdk - SDK configuration
- security - security configuration
- storm-control - storm-control configuration
- stp - stp configuration
- svlan - svlan configuration
- switch - switch configuration
- time - time configuration
- trap - trap configuration
- trunk - trunk configuration
- vlan - vlan configuration
- RTK.0> i2c
- ^Incomplete command
- RTK.0> i2c
- i2c - I2C configuration
- RTK.0> i2c
- get - get configuration
- init - initialization
- set - set configuration
- RTK.0> i2c get
- addr-width - width configuration
- clock - clock specify
- data-width - width configuration
- eeprom-mirror - EEPROM mirror specify
- eeprom-mirror-reg - EEPROM mirror register specify
- port - I2C port specify
- state - state configuration
- width - width configuration
- RTK.0>
- acl - acl configuration
- auto-fallback - Auto-Fallback configuration
- bandwidth - bandwidth configuration
- classf - classification configuration
- cpu - cpu configuration
- debug - debug configuration
- dot1x - dot1x configuration
- epon - epon configuration
- exit - exit diag shell
- field-selector - field selector configuration
- flowctrl - flowctrl configuration
- gpon - GPON configuration
- i2c - I2C configuration
- igmp - igmp configuration
- interrupt - interrupt configuration
- iol - iol configuration
- l2-table - l2 table configuration
- l34 - L34 configuration
- led - led configuration
- meter - shared meter configuration
- mib - mib configuration
- mirror - mirror configuration
- oam - oam configuration
- pbo - pbo configuration
- pon - pon configuration
- port - port configuration
- ppstod - ppstod configuration
- qos - qos configuration
- register - register configuration
- rldp - rldp configuration
- rlpp - RLPP configuration
- rma - rma configuration
- sdk - SDK configuration
- security - security configuration
- storm-control - storm-control configuration
- stp - stp configuration
- svlan - svlan configuration
- switch - switch configuration
- time - time configuration
- trap - trap configuration
- trunk - trunk configuration
- vlan - vlan configuration
- RTK.0> port
- clear - clear configuration
- dump - dump configuration
- get - get configuration
- init - init configuration
- set - set configuration
- RTK.0> port get
- auto-nego - auto negotiation configuration
- eee - eee setting
- enhanced-fid - port based efid configuarion
- force-dmp - force-dmp configuration
- giga-lite - giga-lite setting
- isolation - traffic isolation configuration
- mac-force - forced mac configuration
- mac-loopback - mac loopback configuration
- master-slave - master slave mode configuration
- phy-force - forced phy configuration
- phy-force-power-down - phy force power down setting
- phy-reg - phy register configuration
- phy-testmode - phy test mode configuration
- port - port configuration
- rtct - RTCT configuration
- special-congest - special-congest
- status - link status
- RTK.0> port get auto-nego
- port - port configuration
- RTK.0> port get auto-nego port
- all - all port
- <PORT_LIST:ports> - port list, <0-6>
- RTK.0> port get auto-nego port 0
- ^Incomplete command
- RTK.0> port get auto-nego port
- all - all port
- <PORT_LIST:ports> - port list, <0-6>
- RTK.0> port get auto-nego port all
- ^Incomplete command
- RTK.0> port get auto-nego port all
- ability - ability
- state - state
- RTK.0> port get auto-nego port all ability
- Port 1000F 100F 100H 10F 10H FlowControl AsyFC
- ---- ----- ---- ---- --- --- ----------- -----
- 0 Dis En En En En En En
- 2 Dis Dis Dis Dis Dis En En
- RTK.0> port
- clear - clear configuration
- dump - dump configuration
- get - get configuration
- init - init configuration
- set - set configuration
- RTK.0> port get
- auto-nego - auto negotiation configuration
- eee - eee setting
- enhanced-fid - port based efid configuarion
- force-dmp - force-dmp configuration
- giga-lite - giga-lite setting
- isolation - traffic isolation configuration
- mac-force - forced mac configuration
- mac-loopback - mac loopback configuration
- master-slave - master slave mode configuration
- phy-force - forced phy configuration
- phy-force-power-down - phy force power down setting
- phy-reg - phy register configuration
- phy-testmode - phy test mode configuration
- port - port configuration
- rtct - RTCT configuration
- special-congest - special-congest
- status - link status
- RTK.0> port get status
- port - port configuration
- RTK.0> port get status port
- all - all port
- <PORT_LIST:ports> - port list, <0-6>
- RTK.0> port get status port all
- Port Status Speed Duplex TX_FC RX_FC
- ---- ------ ----- ------ ----- -----
- 0 Up 1000M Full En En
- 2 Up 1000M Full Dis Dis
- RTK.0> port get status port all
- Port Status Speed Duplex TX_FC RX_FC
- ---- ------ ----- ------ ----- -----
- 0 Up 1000M Full En En
- 2 Up 1000M Full Dis Dis
- RTK.0> port get port
- all - all port
- <PORT_LIST:ports> - port list, <0-6>
- RTK.0> port get port
- ^Incomplete command
- RTK.0> port get port
- all - all port
- <PORT_LIST:ports> - port list, <0-6>
- RTK.0> port get port all
- state - admin state
- RTK.0> port get port all state
- <enter>
- RTK.0> port get port all state
- Port 0 Admin state: Enable
- Port 2 Admin state: Enable
- RTK.0> port
- clear - clear configuration
- dump - dump configuration
- get - get configuration
- init - init configuration
- set - set configuration
- RTK.0> port dump
- isolation - traffic isolation configuration
- RTK.0> port get
- auto-nego - auto negotiation configuration
- eee - eee setting
- enhanced-fid - port based efid configuarion
- force-dmp - force-dmp configuration
- giga-lite - giga-lite setting
- isolation - traffic isolation configuration
- mac-force - forced mac configuration
- mac-loopback - mac loopback configuration
- master-slave - master slave mode configuration
- phy-force - forced phy configuration
- phy-force-power-down - phy force power down setting
- phy-reg - phy register configuration
- phy-testmode - phy test mode configuration
- port - port configuration
- rtct - RTCT configuration
- special-congest - special-congest
- status - link status
- RTK.0> port get rtct
- all - all ports
- <PORT_LIST:ports> - port list
- RTK.0> port get rtct all
- <enter>
- RTK.0> port get rtct all
- Port 0 result:
- channelAShort = 65535
- channelBShort = 16
- channelCShort = 715935760
- channelDShort = 8
- channelAOpen = 2147314412
- channelBOpen = 716995924
- channelCOpen = 2146524280
- channelDOpen = 715837180
- channelALen = 0
- channelBLen = 96
- channelCLen = 715935760
- channelDLen = 0
- Port 2 result:
- channelAShort = 65535
- channelBShort = 16
- channelCShort = 715935760
- channelDShort = 8
- channelAOpen = 2147314412
- channelBOpen = 716995924
- channelCOpen = 2146524280
- channelDOpen = 715837180
- channelALen = 0
- channelBLen = 96
- channelCLen = 715935760
- channelDLen = 0
- RTK.0> port get
- auto-nego - auto negotiation configuration
- eee - eee setting
- enhanced-fid - port based efid configuarion
- force-dmp - force-dmp configuration
- giga-lite - giga-lite setting
- isolation - traffic isolation configuration
- mac-force - forced mac configuration
- mac-loopback - mac loopback configuration
- master-slave - master slave mode configuration
- phy-force - forced phy configuration
- phy-force-power-down - phy force power down setting
- phy-reg - phy register configuration
- phy-testmode - phy test mode configuration
- port - port configuration
- rtct - RTCT configuration
- special-congest - special-congest
- status - link status
- RTK.0> port get
- ^Incomplete command
- RTK.0> port get
- auto-nego - auto negotiation configuration
- eee - eee setting
- enhanced-fid - port based efid configuarion
- force-dmp - force-dmp configuration
- giga-lite - giga-lite setting
- isolation - traffic isolation configuration
- mac-force - forced mac configuration
- mac-loopback - mac loopback configuration
- master-slave - master slave mode configuration
- phy-force - forced phy configuration
- phy-force-power-down - phy force power down setting
- phy-reg - phy register configuration
- phy-testmode - phy test mode configuration
- port - port configuration
- rtct - RTCT configuration
- special-congest - special-congest
- status - link status
- RTK.0> port get eee
- port - port configuration
- RTK.0> port get eee port
- all - all
- <PORT_LIST:ports> - port list
- RTK.0> port get eee port all
- state - eee enable stae
- RTK.0> port get eee port all state
- <enter>
- RTK.0> port get eee port all state
- Error (0x12): The driver is not found
- RTK.0> port get
- auto-nego - auto negotiation configuration
- eee - eee setting
- enhanced-fid - port based efid configuarion
- force-dmp - force-dmp configuration
- giga-lite - giga-lite setting
- isolation - traffic isolation configuration
- mac-force - forced mac configuration
- mac-loopback - mac loopback configuration
- master-slave - master slave mode configuration
- phy-force - forced phy configuration
- phy-force-power-down - phy force power down setting
- phy-reg - phy register configuration
- phy-testmode - phy test mode configuration
- port - port configuration
- rtct - RTCT configuration
- special-congest - special-congest
- status - link status
- RTK.0> port get mac-force
- port - port configuration
- RTK.0> port get mac-force port
- all - all port
- <PORT_LIST:ports> - port list, <0-6>
- RTK.0> port get mac-force port all
- <enter>
- RTK.0> port get mac-force port all
- Link NWAY LPI
- Port Speed Duplex Fiber1G Link TX_FC RX_FC NWAY MASTER FAULT 100M Giga Force
- ---- -------- ------ ------- ---- ----- ----- ---- ------ ------- ---- ---- -----
- 0 10M Half Dis Down Dis Dis Dis Dis Success Dis Dis 0x0000
- 2 1000M Full Dis Up Dis Dis Dis Dis Success Dis Dis 0x0fff
- RTK.0> port get
- auto-nego - auto negotiation configuration
- eee - eee setting
- enhanced-fid - port based efid configuarion
- force-dmp - force-dmp configuration
- giga-lite - giga-lite setting
- isolation - traffic isolation configuration
- mac-force - forced mac configuration
- mac-loopback - mac loopback configuration
- master-slave - master slave mode configuration
- phy-force - forced phy configuration
- phy-force-power-down - phy force power down setting
- phy-reg - phy register configuration
- phy-testmode - phy test mode configuration
- port - port configuration
- rtct - RTCT configuration
- special-congest - special-congest
- status - link status
- RTK.0> port get phy-force
- port - port configuration
- RTK.0> port get phy-force port
- all - all port
- <PORT_LIST:ports> - port list, <0-6>
- RTK.0> port get phy-force port all
- <enter>
- RTK.0> port get phy-force port all
- Port Speed Duplex FC
- ---- ----- ------ -------
- 0 10M Half Dis
- 2 10M Half Dis
- RTK.0> quit
- ^Parse error
- RTK.0> quit
- qos - qos configuration
- RTK.0> exit
- <enter>
- RTK.0> exit
- RTK.0>
- # diag
- RTK.0> exit
- RTK.0>
- # ebtables
- ebtables v2.0.8-2 (May 2007)
- # europacli ?
- incorrect command
- # europacli
- available cmds:
- open
- set
- get
- clear
- close
- delete
- # europacli get
- available cmds:
- param
- all
- ddmia0
- ddmia2
- a4
- apdlut
- laserlut
- p0p1
- vn
- pn
- rev
- # europacli get vn
- Open file in /var/config/ error!!!!!!!
- europa_cli_VendorName_get: start address [20] = ""
- # europacli get p0p1
- europa_cli_P0P1_get: start address = 1346
- Open file in /var/config/ error!!!!!!!
- europa P0 P1 get success!!!
- # europacli get pn
- Open file in /var/config/ error!!!!!!!
- europa_cli_VendorPN_get: start address [40] = ""
- # europacli get all
- europa_cli_all_get:
- Open file in /var/config/ error!!!!!!!
- # oamcli
- available cmds:
- clear
- get
- set
- trigger
- # oamcli get
- available cmds:
- config
- callback
- ctc
- counter
- dbgext
- dbgflag
- failover
- oaminfo
- oamstate
- version
- igmp
- portmap
- uptime
- # oamcli get oaminfo
- oaminfo <llidIdx>
- # omci_app
- [ERR] Warning, unknown dir name: OMCI_WAN_QOS_QUEUE_NUM
- Module libigmpipc.so is loaded and inited
- omci_wrapper_msgHandler: devMode 2,receiveState 1,logLevel 0,sn RTKG
- HG260 DEVICE MESSAGE index : 34, ActionType : 768
- ^C
- # omcicli
- Usage: omcicli [cmd]
- set : set series cmd
- get : get series cmd
- mib : mib series cmd
- dump : dump series cmd
- debug : debug series cmd
- # omcicli dump
- Usage: omcicli dump [cmd]
- avltree : dump MAC bridge AVL tree
- [avlkeyid]
- -list of avl tree key id-
- [PPTP Ethernet UNI 0]
- [VEIP 1]
- [Ext. VLAN OP UNI 3]
- [VLAN OP UNI 5]
- [VLAN Filter UNI 4]
- [MAC bridge port UNI 6]
- [MAC bridge service 7]
- [MAC bridge port ANI 8]
- [VLAN Filter ANI 11]
- [VLAN OP ANI 10]
- [Ext. VLAN OP ANI 9]
- [802.1P mapper 12]
- [GEM IWTP 13]
- [Mcast GEM IWTP 14]
- [GEM Port 15]
- qmap : dump tcont queue mapping
- conn : dump data path connections
- srvflow : dump data path service flow
- tasks : dump tasks
- # omcicli mib
- Usage: omcicli mib [cmd]
- create : create MIB ME
- {classId, entityId, "value of all SBC attributes"}
- delete : delete MIB ME
- {classId, entityId}
- set : set MIB ME attribute
- {classId, entityId, attrName, attrValue}
- get : get all MIB or any single ME class
- [all | classId | tableName[, entityId]]
- getcurr : get PM MIB current accumulations
- {classId | tableName[, entityId]}
- getalm : get all alarm or any single ME class
- [classId[, entityId]]
- getattr : get specefic attribute for any single ME class
- [classId, entityId, attributeId]
- reset : trigger MIB reset
- # omcicli mib get
- Usage: omcicli mib [cmd]
- create : create MIB ME
- {classId, entityId, "value of all SBC attributes"}
- delete : delete MIB ME
- {classId, entityId}
- set : set MIB ME attribute
- {classId, entityId, attrName, attrValue}
- get : get all MIB or any single ME class
- [all | classId | tableName[, entityId]]
- getcurr : get PM MIB current accumulations
- {classId | tableName[, entityId]}
- getalm : get all alarm or any single ME class
- [classId[, entityId]]
- getattr : get specefic attribute for any single ME class
- [classId, entityId, attributeId]
- reset : trigger MIB reset
- # omcicli
- Usage: omcicli [cmd]
- set : set series cmd
- get : get series cmd
- mib : mib series cmd
- dump : dump series cmd
- debug : debug series cmd
- # omcicli get
- Usage: omcicli get [cmd]
- sn : get serial number
- log : get runtime log level
- logfile : get omci msg log mode/action mask
- tables : get all registered MIB tables
- devmode : get omci device mode
- dmmode : get dual mgmt mode
- loid : get loid and password
- loidauth : get loid auth status
- cflag : get customized flag
- authuptime : get auth uptime
- # omcicli get sn
- # omcicli get devmode
- # sfpapp
- SFP APP
- sfp_app: pon_mode = 1
- # sfpapp ?
- SFP APP
- sfp_app: pon_mode = 1
- # sfpapp --help
- SFP APP
- sfp_app: pon_mode = 1
- # ls /sbin
- ShowStatus ebtables ip nc sed
- arp echo iptables nv sfpapp
- ash egrep iptables-batch oamcli sh
- awk eponoamd kill omci_app sleep
- boa ethctl klogd omcicli startup
- brctl europacli linuxrc ping stty
- busybox expr loadconfig ping6 tar
- cat flash_eraseall login pondetect tc
- chmod fuser ls poweroff telnetd
- cksum grep lsmod ps tftp
- cmp halt md5sum pwd tftpd
- configd ifconfig mdev qc top
- cp igmpcli mib reboot traceroute
- dbg_tool igmpd mkdir rm umount
- df inetd mknod rmmod vconfig
- diag init mount route xmlconfig
- diff insmod mpctl saveconfig
- # ls /usr/sbin
- ls: /usr/sbin: No such file or directory
- # ls /usr/bin
- ls: /usr/bin: No such file or directory
- # ls /usr/
- # quit
- /bin/sh: quit: not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement