Comment configurer et / ou apporter des modifications a un switch manadgable hp sans utiliser l’interface web mais par le port series / console / putty.
 Comment enregistrer les modifications
 switch-2800#write memory
 Configuration du nom du switch
 switch(config)# hostname switch-2800 
 Configuration des paramètres IP pour l’administration du switch. Dans l’exemple, le vlan de management est le 2.hp-2600(config)# vlan 2
 hp-2800(vlan-5)# ip address 192.168.1.5 255.255.255.0
 hp-2800(vlan-5)# exit
 hp-2800(config)# ip default-gateway 192.168.1.1
 hp-2600(config)# vlan 2
 hp-2800(vlan-5)# ip address 192.168.1.5 255.255.255.0 hp-2800(vlan-5)# exit
 hp-2800(config)# ip default-gateway 192.168.1.1
 Configuration des utilisateurs et mots de passe hp-2600(config)# password manager user-name admin
 New password for Manager: *
 Please retype new password for Manager: *
 hp-2600(config)# password operator user-name operator
 New password for Operator: *
 Please retype new password for Operator: *
 Configuration du serveur de temps hp-2600(config)# sntp server 192.168.104.12
 hp-2600(config)# timesync sntp
 Activation de ssh switch-2850(config)# crypto key generate ssh rsa
 Installing new RSA key. If the key/entropy cache is
 depleted, this could take up to a minute.
 switch-2850(config)# ip ssh
 switch-2850(config)#
 Affichage de la configuration il y a deux types de configuration : 
- la startup-config est la configuration utilisée au démarrage du switch,
 
- la running-config est la configuration courante.
 
La commande write mem enregistre la configuration courante dans la configuration utilisée au démarrage.
 Affichage de la configuration utilisée au démarrage hp-2800# sh config
 Startup configuration:
 Affichage de la configuration courante
 hp-2800# sh running-config
 Running configuration:
Source : https://www.clemanet.com
