Está en la página 1de 3

JUNIPER JUNOS

MODO CLI
Cuando nos conectamos en el puerto consola nos parece esto:
root@RE:0%_
Es aqui el prompt principal para empezar a trabajar con el equipo, lo primero que
debemos de hacer es teclear esto:
CLI
Ahora como observan cambia el promt y queda asi:
user@host>
Si no tan el promt en el final de toda la linea aparece el caracter ">" eso quiere decir
que entramos al equipo no a la configuracion como tal.
Para entrar al modo de configuracion del equipo solo basta con escribir este comando:
Configure
Ahora noten que el promp ya cambio:
user@host#
noten que el simbolo ">" ahora paso a ser "#" eso nos idica que ya estamos en el
modo de configuracion y podemos empezar a trabajar con el equipo.
Para poder salir del comodo de configuracion y aplicar los cambios es de la de
siguiente manera:
commit and-quit
Ahora si queremos salir de todo solo escribimos:
exit

Iniciar el instalador para la confiuracion minima del switch


Nos conectamso por consola y escribimos lo sigueinte:
root@:RE:0% ezsetup
Y en seguida aparece estos mensajes:
1. Enter the hostname. This is optional. (Aqui ponemos el nombre del switch)
2. Enter the root password you plan to use for this device. You are prompted to reenter the root password.(Aqui nos pide que ingresemla contrasea para ingresar como
usuario root)
3. Enter yes to enable services like Telnet and SSH. By default, Telnet is not enabled
and SSH is enabled.(Nos pide que si queremos habilitar el telnet y el ssh por default
telnet esta desahbilitado y ssh se habilita para mayor seguridad)
1. Note: When Telnet is enabled, you will not be able to log in to an EX Series
switch through Telnet using root credentials. Root login is allowed only for SSH

access.

Use the Management Options page to select the management scenario:


Note: On EX4500 and EX8200 switches, only the out-of-band management option is
available.

Configure in-band management. In this scenario you have the following two
options:
o Use the default VLAN.
o Create a new VLANIf you select this option, you are prompted to
specify the VLAN name, VLAN ID, management IP address, and default
gateway. Select the ports that must be part of this VLAN.
Configure out-of-band management. Specify the IP address and gateway of the
management interface. Use this IP address to connect to the switch.

1. Specify the SNMP Read Community, Location, and Contact to configure SNMP
parameters. These parameters are optional.
2. Specify the system date and time. Select the time zone from the list. These
options are optional.
3. The configured parameters are displayed. Enter yes to commit the
configuration. The configuration is committed as the active configuration for the
switch.
4. (For EX4500 switches only) Enter the request chassis pic-mode
intraconnect operational mode command to set the PIC mode to intraconnect.
Ahora ya puedes entrar por ssh, consola y por web.

Reiniciar el switch por CLI


Este es el comando
root@PasquelMNVL> request system reboot
o si quieren mas comandos que peude usar con request system solo escirben:
root@PasquelMNVL> request system reboot ?

Vovler a la configuracion de fabrica de EX2200


Nos conectamos por medio de consola y escribimos estos comandos ya estando
adentro de la configuracion del switch:
root> start shell user root
Password:
root@:RE:0% cd /config/
root@:RE:0% rm -rf juniper.conf*

root@:RE:0% cd /config/db/config
root@:RE:0%rm -rf juniper.conf.*
root@:RE:0%reboot

También podría gustarte