Conectando por Telnet, Ssh al Router


Technicolor 




Information
Modelo DOCSIS 3.0
Software Version STF3.31.02



Firma telnet 


Broadcom Corporation Embedded BFC Telnet Server (c) 2000-2008

Opciones dentro de la administración

!   ?  REM  call  cd   dir   find_command    help   history   instances  ls   man  pwd    sleep   syntax     system_time     usage           
----
exit            reset           set             show            
----

Carpetas

Les voy a llamar carpetas no que nobre tecnico tendra pero para ingresar a ellas toca con el comando cd ejemplo cd emta

[cm] [eRouter] [emta] [ethernet] [pingHelper] [system] [ubee] [wifi] 


Al igual que en linux dentro del telnet ay algunos comandos que son obvios asi que no se mencionaran.
!                Este comando simplemente lo que hace es ejecutar el ultimo comando que se ejecuto en la consola

REM        simplemente ignora el texto que le sigue

find_command   Muestra todos los directorios donde se puede ejecutar un comando

Console# find_command ls
/ls
/cm/show cls
/emta/set pulseDial|pulseDialDetect
/pingHelper/verify_enable false
/pingHelper/wait_enable false
/system/pktlog false

Comando dentro de la carpeta CM

----
diag            log             ping            set             show           
snmpget         snmpset         
----

diag Segun lo que se puede ver en la consola este comando es para modificar la frecuencia de downstream y upstream

Investigando un poco sobre que son estos valores en un router nos encontramos con la siguiente informacion:

downstream es igual a para los tecnicos RX

Dentro de downstream abran dos datos que son el :

  • Signal To Noise Ratio (SNR) debe estar mas arriba de 35db y entre mas alto es mucho mejor. entonces is esta muy bajo podria producir intermitencia.
  • Power Level: es un valor que debería estar entre -10 y 10 y si los dos valores estan menor a 0 mejor por ejemplo -5 y 5

upstream para los tecnicos es TX

tendrá un valor llamado
Power: es un valor que debe estar de 50 hacia abajo y entre mas bajo es mejor. Este valor es la fuerza de la señal con el modem manda los datos hacia el ISP. Según lo leído este parámetro no debería estar a mas de 50 ya que el módem comenzaría a  rebootear.




Show
Muestra informacion





show all       -- ALL options of this command
show arp       -- ARP table
show bpi       -- BPI status
show certs     -- CM certificates
show cls       -- Docsis classifiers
show cfg       -- CM config file name and contents
show cpe       -- CPE info/table
show ds        -- Downstream status and signal quality
show dscwer    -- Downstream Codeword Error Rate
show dsx       -- DSx message history
show event     -- CM event log
show flows     -- Docsis service flows
show lease     -- CM IP and DHCP options
show mdd       -- MAC domain settings
show route     -- The routing table
show state     -- Full docsis state information
show status    -- Docsis registration Status
show tod       -- Time of day
show ucd       -- Upstream descriptors
show us        -- Upstream status
show counters  -- HW Counters
show debug     -- Hal debug
show sockets   -- BcmSocket debug
show errors    -- Error counters
show us30      -- DOCSIS 3.0 upstream counters
show fam       -- Forward assist manager


show Arp: Muestra toda la table arp del equipo

Comando dentro de la carpeta eRouter

Show: Muestra Informacion



show all         -- ALL options of this comman
show firewall    -- Displays the firewall nonvol settings
show fwr         -- Displays current firewall ruleset
show igmp        -- Displays the IGMP Group Statistics

show nat         -- Displays the current NAT info

show nd          -- Displays the current Neighbor Discovery Thread

show rg          -- Displays the RG nonvol settings

show upnp        -- Displays UPnP settings and state information

show reg_dump    -- Displays NATP 4KE registers.

show dqm_status  -- Displays NATP DQM status

show promotion   -- Displays NATP promotion threshold (pps).

show fwr: Me muestra toda la configuración de las reglas del firewall

Comando dentro de la carpeta wifi

wl: Ejecuta comandos para el diagnostico de  802.11

wl ssid: Me devuelve el nombre del wifi
wl assoclist: me devuleve la lista de mac conectadas al modem
assoclist 24:4B:03:9D:D8:18
assoclist B4:3A:28:75:23:8A
assoclist AC:7B:A1:EA:D1:CF
assoclist AC:3C:0B:AC:FC:FE
assoclist 28:CF:E9:B4:99:E0
assoclist 00:EE:BD:A9:6E:FB
assoclist B0:E0:3C:68:81:2B
wl rssi: me arroja la intensidad de la señal  de una targeta inalambrica
-66 dbm
wl scan: Realiza un escaneo de los wifis mas cercanos, entre los resultados muestra el SSID, BSSID, RSSI, Canal, Wps y la version, encripcacion.
SSID: "ARRIS-1DE2"
Mode: Managed RSSI: -71 dBm SNR: 0 dB noise: -91 dBm FromBcn RSSI on-channel  Channel: 1
BSSID: 98:6B:3D:07:1D:E0 Capability: ESS WEP ShortSlot 
Supported Rates: [ 1(b) 2(b) 5.5(b) 11(b) 9 18 36 54 6 12 24 48 ]
RSN:
 multicast cipher: AES-CCMP
 unicast ciphers(1): AES-CCMP 
 AKM Suites(1): WPA-PSK 
 Capabilities(0x0000): No Pre-Auth, Pairwise, 1 PTK Replay Ctr1 GTK Replay Ctr
HT Capable:
 Chanspec: 2.4GHz channel 1 20MHz (0x1001)
 Primary channel: 1
 HT Capabilities: SGI20 SGI40 
 Supported MCS : [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]
WPS: V2.0 Configured

SSID: "PIEDAD_BOTINA"
Mode: Managed RSSI: -65 dBm SNR: 0 dB noise: -92 dBm RSSI on-channel  Channel: 11
BSSID: 50:9F:27:69:73:E8 Capability: ESS WEP ShortSlot 
Supported Rates: [ 1(b) 2(b) 5.5(b) 11(b) 18 24 36 54 6 9 12 48 ]
WPA:
 multicast cipher: TKIP
 unicast ciphers(2): AES-CCMP TKIP 
 AKM Suites(1): WPA-PSK 
 No WPA Capabilities advertised
RSN:
 multicast cipher: TKIP
 unicast ciphers(2): AES-CCMP TKIP 
 AKM Suites(1): WPA-PSK 
 Capabilities(0x000c): No Pre-Auth, Pairwise, 16 PTK Replay Ctrs1 GTK Replay Ctr
HT Capable:
 Chanspec: 2.4GHz channel 11 20MHz (0x100b)
 Primary channel: 11
 HT Capabilities: SGI20 
 Supported MCS : [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]


wl wsec
Thomson


Information
Modelo DOCSIS 2.0
Software Version STC0.01.16





Cisco #1



Information
ModeloDPC2420
Software VersionD2425-P10-13-v202r12811-120921as




Cisco #2


Information
Modelo
DPC3925
Software VersionDC3925-P15-12-v302r125573131025a





Motorola




Information
ModeloDOCSIS 2.0
Software VersionSVG1202-2.12.2.0-GA-05-741-LTSH



Puertos Abiertos
PORT   STATE    SERVICE
22/tcp filtered ssh
23/tcp open     telnet

Firmas del telenet

********* Welcome to Motorola SURFBoard Cable Modem *********







Ubee #1




Information
ModeloDOCSIS 1.0/1.1/2.0
Software Version5.117.1007



Puertos
PORT   STATE    SERVICE
22/tcp filtered ssh
23/tcp open     telnet
Firmas del telnet

La firma que genera el router cuando se conecta dicho puerto de telnet es

Ubee Cable Modem


A primera impresión me pude dar cuenta que el frimware que tiene es igual al de un router cisco de las grandes organizaciones

Opciones dentro de Telnet

access-list         Access List Control
arpclear            Clear ARP table
authentication      Authentication Configuration
arp-storms          ARP Storm configurations
alternate-dns-ip    Assign alternate Dns ip address
banner              Banner-text
copy                Copy command
debug               Debugging functions
dhcp                DHCP commands
dns                 Assign domain name server
exec-timeout        Configure login timeout
exit                Disconnect
firewall            Enable/Disable firewall
fragmented-ip       Block fragmented IP packets
goto-ds             Causes the CM to move to the Ds Freq specified
host-name           Host name command
interface           Interface commands
mtu-size            show  MTA Size to 256-1500 octets, 0 = use default
nat                 Configure NAT settings
nvram               NVRAM command
oper-mode           Configure the system operation mode
ping                Ping specified IP address
pwd                 Change password
quit                Disconnect
reset               Resetting system
rip                 RIP commands
route               Static route command
sess-timer          Configure TCP/UDP/ICMP session timer
show                Show commands
set-customer-info   customer-info
snmp-configuration  SNMP Configuration
ssh-access          SSH access control command
telnet-access       Telnet access control command
tracert             Trace route
undebug             Disable debugging functions
vpn                 VPN Configuration
wan-connection      Configurate for WAN Connection
web-access          Web access control command
wifi-gn-access      Control Wifi Guest Network access Web UI
write               Write configuration to nvram


Comandos:
Banner  Configura el banner al inicio de la sesion

Banner motd #
Enter TEXT message.  End with the character '#' in new line head.
$  Hola este Es un Router y aca va el banner antes de numeral#


web-access Con este comandos e le cambia el puerto de administraion web al router es necesario reiniciar el equipor genralemente esta asegnado el 64680 y con ese puerto se ingresa a la administradcion desde la ip WAN. Con el siguiente comando se le asigna el puerto 45678

web-access port 45678

exec-timeout   pone el tiempo limite para que la sesión se cierre si no hay acciones

host-name Asigna el nombre lógico de router

host-name set Ubee

Comando Show


show ?
access-list         Display Access List Settings
arp                 Display ARP table
arp-storms          Display ARP Storm configurations
cpe-info            Display CPE information
cpu-utilization     Display CPU Utilization
community-string    Display the SNMP community string
dhcp-lease          Display CM DHCP information
dhcp                Display DHCP server information
dns                 Display DNS
event-log           Display CableModem internal event log
exec-timeout        Display execution time out
port-forwarding     Display port forwarding
firewall            Display firewall status
fragmented-ip       Display fragmentation blocking
host-name           Display host name
interface           Display interface information
ip                  Display route table
mem-status          Display memory status
pkt-classifier      Display all current classifiers and parameters
port                Display Http and Telnet port
qos-param           Display QoS parameters of all current service flows
radius              Display Radius configuration
running-config      Display system configuration
sess-timer          Display ICMP/UDP/TCP session timer
sf-static           Display statistics for all current service flows
status              Display status
system-up-time      Display System up-time
ssh-access          Display SSH access
tacacs              Display UI Authentication configuration
telnet-access       Display telnet access
user                Login user(s) list
version             Display version
vpn                 Display VPN
wan-connection      Display Configuration of WAN Connection Type
web-access          Display web access
wifi-gn-access      Display Wireless Guest Network Web UI access status

show wan-connection  : Muestas las configuraciones de la WAN
WAN Connection Type: DHCP

Technicolor 



Information
Modelo DOCSIS 3.0
Software Version STF3.31.02


Firma telnet 


Broadcom Corporation Embedded BFC Telnet Server (c) 2000-2008
Opciones dentro de la administración

!   ?  REM  call  cd   dir   find_command    help   history   instances  ls   man  pwd    sleep   syntax     system_time     usage           
----
exit            reset           set             show            
----
Carpetas

Les voy a llamar carpetas no que nobre tecnico tendra pero para ingresar a ellas toca con el comando cd ejemplo cd emta

[cm] [eRouter] [emta] [ethernet] [pingHelper] [system] [ubee] [wifi] 

Al igual que en linux dentro del telnet ay algunos comandos que son obvios asi que no se mencionaran.
!                Este comando simplemente lo que hace es ejecutar el ultimo comando que se ejecuto en la consola

REM        simplemente ignora el texto que le sigue

find_command   Muestra todos los directorios donde se puede ejecutar un comando

Console# find_command ls
/ls
/cm/show cls
/emta/set pulseDial|pulseDialDetect
/pingHelper/verify_enable false
/pingHelper/wait_enable false
/system/pktlog false

Comando dentro de la carpeta CM


----
diag            log             ping            set             show           
snmpget         snmpset         
----
diag Segun lo que se puede ver en la consola este comando es para modificar la frecuencia de downstream y upstream

Investigando un poco sobre que son estos valores en un router nos encontramos con la siguiente informacion:

downstream es igual a para los tecnicos RX

Dentro de downstream abran dos datos que son el :


  • Signal To Noise Ratio (SNR) debe estar mas arriba de 35db y entre mas alto es mucho mejor. entonces is esta muy bajo podria producir intermitencia.
  • Power Level: es un valor que debería estar entre -10 y 10 y si los dos valores estan menor a 0 mejor por ejemplo -5 y 5
upstream para los tecnicos es TX

tendra un valor llamado
Power: es un valor que debe estar de 50 hacia abajo y entre mas bajo es mejor. Este valor es la fuerza de la señal con el modem manda los datos hacia el ISP. Según lo leido este parámetro no debería estar a mas de 50 ya que el módem comenzaría a  rebootear.







Thomson


Information
Modelo DOCSIS 2.0
Software Version STC0.01.16
Cisco #1




Information
ModeloDPC2420
Software VersionD2425-P10-13-v202r12811-120921as
Cisco #2

Information
ModeloDPC3925
Software VersionDC3925-P15-12-v302r125573131025a
Motorola





Information
ModeloDOCSIS 2.0
Software VersionSVG1202-2.12.2.0-GA-05-741-LTSH
Puertos Abiertos

PORT   STATE    SERVICE
22/tcp filtered ssh
23/tcp open     telnet

Firmas del telenet


********* Welcome to Motorola SURFBoard Cable Modem *********
Ubee #1




Information
ModeloDOCSIS 1.0/1.1/2.0
Software Version5.117.1007
Puertos
PORT   STATE    SERVICE
22/tcp filtered ssh
23/tcp open     telnet
Firmas del telnet

La firma que genera el router cuando se conecta dicho puerto de telnet es

Ubee Cable Modem
A primera impresión me pude dar cuenta que el frimware que tiene es igual al de un router cisco de las grandes organizaciones

Opciones dentro de Telnet


access-list         Access List Control
arpclear            Clear ARP table
authentication      Authentication Configuration
arp-storms          ARP Storm configurations
alternate-dns-ip    Assign alternate Dns ip address
banner              Banner-text
copy                Copy command
debug               Debugging functions
dhcp                DHCP commands
dns                 Assign domain name server
exec-timeout        Configure login timeout
exit                Disconnect
firewall            Enable/Disable firewall
fragmented-ip       Block fragmented IP packets
goto-ds             Causes the CM to move to the Ds Freq specified
host-name           Host name command
interface           Interface commands
mtu-size            show  MTA Size to 256-1500 octets, 0 = use default
nat                 Configure NAT settings
nvram               NVRAM command
oper-mode           Configure the system operation mode
ping                Ping specified IP address
pwd                 Change password
quit                Disconnect
reset               Resetting system
rip                 RIP commands
route               Static route command
sess-timer          Configure TCP/UDP/ICMP session timer
show                Show commands
set-customer-info   customer-info
snmp-configuration  SNMP Configuration
ssh-access          SSH access control command
telnet-access       Telnet access control command
tracert             Trace route
undebug             Disable debugging functions
vpn                 VPN Configuration
wan-connection      Configurate for WAN Connection
web-access          Web access control command
wifi-gn-access      Control Wifi Guest Network access Web UI
write               Write configuration to nvram



Comandos:
Banner  Configura el banner al inicio de la sesion


Banner motd #
Enter TEXT message.  End with the character '#' in new line head.
$  Hola este Es un Router y aca va el banner antes de numeral#


web-access Con este comandos e le cambia el puerto de administraion web al router es necesario reiniciar el equipor genralemente esta asegnado el 64680 y con ese puerto se ingresa a la administradcion desde la ip WAN. Con el siguiente comando se le asigna el puerto 45678

web-access port 45678

exec-timeout   pone el tiempo limite para que la sesión se cierre si no hay acciones

host-name Asigna el nombre lógico de router

host-name set Ubee

Comando Show



show ?
access-list         Display Access List Settings
arp                 Display ARP table
arp-storms          Display ARP Storm configurations
cpe-info            Display CPE information
cpu-utilization     Display CPU Utilization
community-string    Display the SNMP community string
dhcp-lease          Display CM DHCP information
dhcp                Display DHCP server information
dns                 Display DNS
event-log           Display CableModem internal event log
exec-timeout        Display execution time out
port-forwarding     Display port forwarding
firewall            Display firewall status
fragmented-ip       Display fragmentation blocking
host-name           Display host name
interface           Display interface information
ip                  Display route table
mem-status          Display memory status
pkt-classifier      Display all current classifiers and parameters
port                Display Http and Telnet port
qos-param           Display QoS parameters of all current service flows
radius              Display Radius configuration
running-config      Display system configuration
sess-timer          Display ICMP/UDP/TCP session timer
sf-static           Display statistics for all current service flows
status              Display status
system-up-time      Display System up-time
ssh-access          Display SSH access
tacacs              Display UI Authentication configuration
telnet-access       Display telnet access
user                Login user(s) list
version             Display version
vpn                 Display VPN
wan-connection      Display Configuration of WAN Connection Type
web-access          Display web access
wifi-gn-access      Display Wireless Guest Network Web UI access status

show wan-connection  : Muestas las configuraciones de la WAN


WAN Connection Type: DHCP
WAN IP: 111.54.45.41
Mask: 255.255.252.0
Host Name: Ubee
Domain Name: 

Ubee #2


Information
ModeloDOCSIS 2.0
Software Version6.36.1009

Puertos Abiertos

PORT   STATE    SERVICE
22/tcp filtered ssh
23/tcp open     telnet

Firmas de SSH

Broadcom Corporation Embedded BFC SSH Server (c) 2000-2012

Opciones dentro de la administración
!   ?  REM  call  cd   dir   find_command    help   history   instances  ls   man  pwd    sleep   syntax     system_time     usage           
----
exit            reset           set             show            
----
Carpetas
[cm] [eRouter] [emta] [ethernet] [pingHelper] [system] [ubee] [wifi] 
Hay algo aun no he podido resolver y es que mientras se esta en la consola en casi todas las que he estados de estos routers o modem es que de repente sale algo en la consola como esto que realmente me gustaría saber que significa y que no siempre es son los mismo pantallasos. Asi que si alguno de mis lectores sabe que es no dude en dejar un comentario, estaria agradecido. Dejare un ejemplo de lo que aparece acontinuacion.
[20:43:26 07/30/2015] [CmBpiManagerThd] CmBpiManagerThd::SaMapStateMgr:  (CmBpiManagerThd) ERROR - Could not find the SA MAP FSM corresponding to specified IP Multicast Address - ignoring.
WAN IP: 111.54.45.41
Mask: 255.255.252.0
Host Name: Ubee
Domain Name:


Ubee #2

Information
ModeloDOCSIS 2.0
Software Version6.36.1009

Puertos Abiertos

PORT   STATE    SERVICE
22/tcp filtered ssh
23/tcp open     telnet

Firmas de SSH

Broadcom Corporation Embedded BFC SSH Server (c) 2000-2012

Opciones dentro de la administración
!   ?  REM  call  cd   dir   find_command    help   history   instances  ls   man  pwd    sleep   syntax     system_time     usage           
----
exit            reset           set             show            
----
Carpetas
[cm] [eRouter] [emta] [ethernet] [pingHelper] [system] [ubee] [wifi] 
Hay algo aun no he podido resolver y es que mientras se esta en la consola en casi todas las que he estados de estos routers o modem es que de repente sale algo en la consola como esto que realmente me gustaría saber que significa y que no siempre es son los mismo pantallasos. Asi que si alguno de mis lectores sabe que es no dude en dejar un comentario, estaria agradecido. Dejare un ejemplo de lo que aparece acontinuacion.
[20:43:26 07/30/2015] [CmBpiManagerThd] CmBpiManagerThd::SaMapStateMgr:  (CmBpiManagerThd) ERROR - Could not find the SA MAP FSM corresponding to specified IP Multicast Address - ignoring.

0 Comentarios