| 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 <pipe> 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 <command></command> | undo <command></command> | ||
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 <n°int> | interface <n°int> | ||
| - | switchport mode access | port link-type access | ||
| - | switchport access vlan <n°vlan> | port access vlan <n°vlan> | ||
| - | no shutdown | undo shutdown | ||
| Configurer un port trunk | conf t | System-view | ||
| - | interface <n°int> | interface <n°int> | ||
| - | switchport mode trunk | port link-type trunk | ||
| - | no shutdown | undo shutdown | ||
| Configurer une interface de vlan | conf t | System-view | ||
| - | interface vlan <n°vlan> | interface vlan-interface <n°vlan> | ||
| - | 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 <n°int> | System-view | ||
| - | switchport mode access | interface <n°int> | ||
| - | 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 <n°int> | interface <n°int> | |||
| - | shutdown | shutdown | |||
| - | Sortir du mode conf t | undo port-security mac-address security xxxx-xxxx-xxxx | |||
| - | clear port-security sticky interface <n°int> | undo shutdown | |||
| - | conf t | - | |||
| - | interface <n°int> | - | |||
| - | no shutdown | - | |||