Pendant un déploiement ou une installation, il se peut qu’il faut remettre un switch dans sa configuration par défaut. Cette configuration est la première utilisée par le switch pendant son installation pour la toute première fois.
En CLI :
[edit]
user@switch# load factory-default
[edit]
user@switch# delete system commit factory-settings
[edit]
user@switch# commit
Attention, avant de commit cette commande il faut redéfinir le mot de passe :
root@Switch# set system root-authentication ?
Possible completions:
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don't inherit configuration data from these groups
encrypted-password Encrypted password string
load-key-file File (URL) containing one or more ssh keys
no-public-keys Disables ssh public key based authentication
plain-text-password Prompt for plain text password (autoencrypted)
> ssh-dsa Secure shell (ssh) DSA public key string
> ssh-ecdsa Secure shell (ssh) ECDSA public key string
> ssh-rsa Secure shell (ssh) RSA public key string
Documentation :
https://www.juniper.net/documentation/en_US/junos/topics/topic-map/junos-factory-default.html
https://kb.juniper.net/InfoCenter/index?page=content&id=KB11471&cat=EX4500&actp=LIST
Physiquement :
Il existe aussi un moyen physique de charger cette configuration, pour cela il faut rester appuyer sur le bouton bleu (Menu button) en façade pendant 15 secondes ainsi les LED vont être fixe. Cela confirme le chargement de la configuration par défaut.
