Está en la página 1de 6

1.

Para entrar a un puerto serial:


a. En Windows:
i. Para fijarse el número del puerto COM, entrar a Administración de
Dispositivos con el adaptador conectado a la PC, como muestra la
imagen:
ii.

Abrir Putty (previamente descargado)


iii. Seleccionar la opción de coneccion serial
iv. Poner el número de puerto COM encontrado en el paso anterior y la
velocidad (Baud Rate) que es específico de cada switch, las más
comunes son 9600, 38400 y 115200.
b. En Ubuntu:
i. Ejecutar el comando “dmesg | grep tty”, para ver qué puerto se está
usando (usualmente ttyUSB0)
ii. Hay una versión Linux de Putty, sino instalar screen, y ejecutar
“screen /dev/<puerto> <baudrate>
Algunos comandos de screen:
Ctrl+a, k para matar la terminal
“screen -r” para retomar una terminal cerrada
Hay muchos otros comandos para, por ejemplo, usar varias ventanas,
etc. Ejecutar “man screen” para ver el manual de screen en una
terminal aparte.

2. Cómo resetear un switch de fábrica


a. Juniper EX 3300: en este modelo se puede utilizar su pantalla LCD y botones
para restaurarlo de fábrica (cuando este método sigue habilitado) [1]
i. Presione las teclas Menú botón hasta que vea el MENÚ DE
MANTENIMIENTO en el panel.
ii. Presione las teclas Enter botón.
iii. Presione Menú hasta que vea el valor predeterminado de fábrica.
iv. Presione Enter. La pantalla muestra ¿RESTAURAR
PREDETERMINADO?
v. Presione Enter. La pantalla parpadea FACTORY DEFAULT IN
PROGRESS y vuelve al menú inactivo.
vi. Queda configurado con el usuario “root” y sin contraseña
b. Edgecore ES3526XA:
i. Conectar el puerto serial e ingresar a Putty o Screen
ii. Encender el Switch y comenzar a presionar repetidamente Ctrl+u,
hasta que pase la fase POST. (Si pide un password, puede ser
“mercury”)
iii. Elegir la opción “Delete file”, y borrar startup1.cfg
iv. Elegir la opción “Quit”. Esto continúa el booteo del switch; si pide
usuario/contraseña, ahora será admin/admin.
c. DCN S4600-28P-P-SI:
i. Conectar el puerto serial e ingresar a Putty o Screen. Encender el
switch, si pide usuario/contraseña por defecto, es “admin/admin”.
ii. Ejecutar los siguientes comandos:
S4600-28P-P-SI>enable
S4600-28P-P-SI#set default
S4600-28P-P-SI#write
d. Edge core ECS4310-26-T no tiene puerto serial pero se accede mediante la
interfaz web:
i. Conectar la computadora a cualquier puerto del switch con un cable
UTP.
ii. Agregar una nueva conexión con una ip en el rango 192.168.1.2-
192.168.1.254, máscara 255.255.255.0, gateway 192.168.1.1
iii. en un navegador web acceder a la interfaz web en: 192.168.1.1 (el
usuario y contraseña es admin/ admin).

iv. ir a Tools-Reset y seleccionar “reset”


e.

3. Problemas frecuentes
a. Juniper:El Switch deja de funcionar, posiblemente por apagarlo durante
booteo.
i. (For Junos releases 10.4R3 - 11.4Rx)
Copy the Junos image from the backup partition to the primary
partition, by using the following snapshot command:
request system snapshot media internal slice alternate
Note: This step ensures that you have consistent images on both the
primary and backup partitions.
ii. The above command ensures that the alternate partition is repaired,
without requiring a reboot. You can verify both the partitions by using
the following command:
show system storage partitions
iii. The command used in step 1 will only repair the partition and not clear
the alarm. So, you will still see the following alarm:
root> show system alarms
2 alarms currently active
Alarm time Class Description
2012-03-02 13:01:03 UTC Minor Host 0 Boot from backup
root <-- shows date stamp of alarm
iv. To get rid of the above alarm, use the following command to ensure
that the switch boots from the primary partition:
request system reboot slice alternate media internal
Note: After the above command is executed, the system will reboot
from the primary partition. The alarm or the warning message will no
longer be displayed.
v. Issue the following commands to verify the Junos image installed on
each slice:
user@switch> show system snapshot media internal slice 1
user@switch> show system snapshot media internal slice 2

b. Juniper: Alarma Roja por Puerto Management no conectado.


(Cuando está en > está en “cli”, cuando está en “#” está en modo “cli-
>config”)
root> show chassis alarms
1 alarms currently active
Alarm time Class Description
2013-06-14 03:15:51 UTC Major Management Ethernet Link Down

root# set chassis alarm management-ethernet ethernet link down


ignore

root# set system root-authentication plain-text-password

root# commit

c. Configuración de rescate no ingresada (alarma amarilla):


root> show system alarms
1 alarms currently active
Alarm time Class Description
2013-01-14 11:32:56 GMT+6 Minor Rescue configuration is not
set

root> request system configuration rescue save

d.
Links:
[1]https://www.juniper.net/documentation/es/release-independent/junos/topics/task/
configuration/ex-series-switch-default-factory-configuration-reverting.html

También podría gustarte