mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counteraujourd'hui232
mod_vvisit_counterhier348
mod_vvisit_countercette semaine2245
mod_vvisit_counterla semaine dernière2536
mod_vvisit_countermois en cours6674
mod_vvisit_counterle mois dernier9087
mod_vvisit_counterdepuis toujours202045

Ce site est listé dans la catégorie Web designer : Aides et tutoriels création web de l'annuaire Olivier Duffez et O. Duffez

Configuration d’un Switch HP PROCURVE Envoyer
Note des utilisateurs: / 7
MauvaisTrès bien 
Écrit par Olivier   
Mardi, 09 Août 2011 14:11

Accéder à l’interface en ligne de commande (cli) du switch HP Procurve avec hyperterminal :

Une fois le switch connecté a votre poste à l’aide d’un câble série, ouvrir une connexion Hyperterminal avec les paramètres suivants :

Bits par seconde :        9600

Bits de données :          8

Parité :                         Aucun

Bits d’arrêt :                 1

Contrôle de flux :         Aucun

Ces paramètres sont ceux par défaut d’une connexion Hyperterminal

Modifier le nom du switch :

ProCurve Switch 6200yl-24G#

ProCurve Switch 6200yl-24G# conf

ProCurve Switch 6200yl-24G(config)# hostname SWITCH

SWITCH(config)# wr mem

SWITCH(config)# exit

SWITCH#

 

Redémarrer un switch :

Utiliser la commande « boot »

 

Revenir à un état usine vierge de toute configuration:

Utiliser la commande : erase startup-config

SWITCH#

SWITCH# conf

SWITCH(config)# erase startup-config

Configuration will be deleted and device rebooted, continue [y/n]? y

Le switch redémarre alors dans son état d’usine.

 

Voir la configuration d’un switch :

ProCurve Switch 6200yl-24G# show config

Startup configuration:

; J8992A Configuration Editor; Created on release #K.14.41

hostname "ProCurve Switch 6200yl-24G"

module 1 type J8992A

vlan 1

name "DEFAULT_VLAN"

untagged 1-24

ip address dhcp-bootp

exit

snmp-server community "public" unrestricted

ProCurve Switch 6200yl-24G#

 

Gestion des Vlan sur un Switch Hp Procurve

Création d’un Vlan

Voici la création d’un vlan d’ID 25 nommé Vlan_Voix :

ProCurve Switch 6200yl-24G#

ProCurve Switch 6200yl-24G# conf               (passage en mode configuration)

ProCurve Switch 6200yl-24G(config)# vlan 25           (ID du Vlan)

ProCurve Switch 6200yl-24G(vlan-25)# name Vlan_Voix                  (Nom du Vlan)

ProCurve Switch 6200yl-24G(vlan-25)# wr mem                   (Sauvegarde de la conf)

ProCurve Switch 6200yl-24G(vlan-25)# exit

ProCurve Switch 6200yl-24G(config)# exit

ProCurve Switch 6200yl-24G#

 

Supression d’un Vlan

ProCurve Switch 6200yl-24G#

ProCurve Switch 6200yl-24G# conf               (passage en mode configuration)

ProCurve Switch 6200yl-24G(config)# no vlan 25                  (Suppression du Vlan 25)

ProCurve Switch 6200yl-24G(config)# wr mem                      (Sauvegarde de la conf)

ProCurve Switch 6200yl-24G(config)# exit

ProCurve Switch 6200yl-24G#

 

Ajouter des ports a un Vlan :

ProCurve Switch 6200yl-24G#

ProCurve Switch 6200yl-24G# conf

ProCurve Switch 6200yl-24G(config)# vlan 25

ProCurve Switch 6200yl-24G(vlan-25)# tagged 23-24

ProCurve Switch 6200yl-24G(vlan-25)# untagged 2-5,20-21

ProCurve Switch 6200yl-24G(vlan-25)# wr mem

ProCurve Switch 6200yl-24G(vlan-25)# exit

ProCurve Switch 6200yl-24G(config)# exit

ProCurve Switch 6200yl-24G#

 

Supprimer des ports d’un vlan :

ProCurve Switch 6200yl-24G#

ProCurve Switch 6200yl-24G# conf

ProCurve Switch 6200yl-24G(config)# vlan 25

ProCurve Switch 6200yl-24G(vlan-25)# no tagged 23-24

ProCurve Switch 6200yl-24G(vlan-25)# wr mem

ProCurve Switch 6200yl-24G(vlan-25)# exit

ProCurve Switch 6200yl-24G(config)# exit

ProCurve Switch 6200yl-24G#

 

Assigner une ip a un Vlan

ProCurve Switch 6200yl-24G#

ProCurve Switch 6200yl-24G# conf

ProCurve Switch 6200yl-24G(config)# vlan 25

ProCurve Switch 6200yl-24G(vlan-25)# ip address 192.168.11.25 255.255.255.0

ProCurve Switch 6200yl-24G(vlan-25)# wr mem

ProCurve Switch 6200yl-24G(vlan-25)# exit

ProCurve Switch 6200yl-24G(config)# exit

ProCurve Switch 6200yl-24G#

 

Supprimer une IP d’un Vlan

ProCurve Switch 6200yl-24G#

ProCurve Switch 6200yl-24G# conf

ProCurve Switch 6200yl-24G(config)# vlan 25

ProCurve Switch 6200yl-24G(vlan-25)# no ip address

ProCurve Switch 6200yl-24G(vlan-25)# wr mem

ProCurve Switch 6200yl-24G(vlan-25)# exit

ProCurve Switch 6200yl-24G(config)# exit

ProCurve Switch 6200yl-24G#

 

Débloquer ou débrider la limitation du nombre de Vlans configurables :

ProCurve Switch 6200yl-24G#

ProCurve Switch 6200yl-24G# conf

ProCurve Switch 6200yl-24G(config)# max-vlans 256

Command will take effect after saving configuration and reboot.

ProCurve Switch 6200yl-24G(config)# wr mem

ProCurve Switch 6200yl-24G(config)# exit

ProCurve Switch 6200yl-24G#

 

Voir les différents vlan :

ProCurve Switch 6200yl-24G# show vlan

Status and Counters - VLAN Information

Maximum VLANs to support : 256

Primary VLAN : DEFAULT_VLAN

Management VLAN :

VLAN ID Name                 | Status     Voice Jumbo

------- -------------------- + ---------- ----- -----

1       DEFAULT_VLAN         | Port-based No    No

25      VLAN25               | Port-based No    No

52      vlan_voix            | Port-based No    No

 

Voir le detail des ports d’un vlan :

Pour voir quels ports font partie d’un vlan, s’il sont taggés ou non taggés

ProCurve Switch 6200yl-24G# show vlan 52

Status and Counters - VLAN Information - VLAN 52

VLAN ID : 52

Name : vlan_voix

Status : Port-based

Voice : No

Jumbo : No

Port Information Mode     Unknown VLAN Status

---------------- -------- ------------ ----------

12               Tagged   Learn        Down

13               Tagged   Learn        Down

14               Tagged   Learn        Down

15               Tagged   Learn        Down

16               Tagged   Learn        Down

17               Untagged Learn        Down

18               Untagged Learn        Down

19               Untagged Learn        Down

20               Untagged Learn        Down

 

 


Mise à jour le Mardi, 09 Août 2011 14:14
 

site créé par

Articles du même sujet

Devenez Fan!

facebook-logo1

Partenaires

- BiblioTuto

- 321sitepro

RocketTheme Joomla Templates