||**FONCTION**||**CISCO**||**3COM-H3C**||**HP-Procurve**|- **VISUALISATION** ||**Visualiser état des interfaces**||show interface status||display brief interfaces||show interfaces brief|- ||**Visualiser la configuration courante**||show running-config||display current-configuration||show running-config|- ||**Visualiser les vlans**||show vlan brief||Display vlan all||show vlans|- ||**Voir les switchs voisins (directement rattachés)**||show cdp neighbors||display lldp neighbor-information|- ||**Rechercher une adresse MAC**||show mac address-table include xxxx.xxxx.xxxx||display mac-address xx.xx.xx.xx.xx|- ||**Visualiser les adresses IP fournies par un DHCP**||show ip dhcp snooping binding||X|- ||**Visualiser les informations système**||show version||display version|- ||**Visualiser les logs**||show logging||display logbuffer ou display log summary|- ||**Visualiser la table de routage**||show ip route||display routing-table|- **SUPPRESSION** ||**Supprimer la configuration courante**||write erase||reset saved-configuration main|- ||**Supprimer une configuration**||no ||undo |- **CONFIGURATION** ||**Mode configuration**||configure terminal||System-view|- ||**Retour en arrière**||backspace||CTRL+H|- ||**Sortir d’un mode**||exit||quit|- ||**Enregistrer les modifications**||wr ou copy running-configuration startup-configuration||save main|- ||**Ajouter un nom à l’élément actif**||hostname||sysname|- ||**Configurer un port dans un vlan**||conf t||System-view|- ||-||interface ||interface |- ||-||switchport mode access||port link-type access|- ||-||switchport access vlan ||port access vlan |- ||-||no shutdown||undo shutdown|- ||**Configurer un port trunk**||conf t||System-view|- ||-||interface ||interface |- ||-||switchport mode trunk||port link-type trunk|- ||-||no shutdown||undo shutdown|- ||**Configurer une interface de vlan**||conf t||System-view|- ||-||interface vlan ||interface vlan-interface |- ||-||ip address||ip address|- ||-||description madescription||description madescription|- ||-||no shutdown||undo shutdown|- ||**Ajouter une passerelle par défaut**||ip default-gateway||ip route-static 0.0.0.0 0.0.0.0|- **COPIE/SAUVEGARDE** ||**Copie de la configuration vers un TFTP**|| copy running-configuration ip || tftp ip put conf.cfg maconf.txt |- **SECURITE** ||**Sécuriser un port (filtrage par MAC)**||conf t||Port-security enable|- ||-||interface ||System-view|- ||-||switchport mode access||interface |- ||-||switchport port-security aging time 1440||port link-type access|- ||-||switchport port-security aging type inactivity||Port-security max-mac count 1|- ||-||switchport port-security mac-address sticky||Port-security port-mode autolearn|- ||-||-||port-security intrusion-mode blockmac|- ||**Clear d’un port-security**||conf t||System-view|- ||-||interface ||interface |- ||-||shutdown||shutdown|- ||-||Sortir du mode conf t||undo port-security mac-address security xxxx-xxxx-xxxx|- ||-||clear port-security sticky interface ||undo shutdown|- ||-||conf t||-||- ||-||interface ||-||- ||-||no shutdown||-||-