Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
reseaux:equipements:commandes_cisco-hp [2016/01/20 23:04] william |
reseaux:equipements:commandes_cisco-hp [2019/02/06 14:03] (Version actuelle) |
||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
- | -||**FONCTION**||**CISCO**||**3COM-HP-H3C**|- | + | ||**FONCTION**||**CISCO**||**3COM-H3C**||**HP-Procurve**|- |
**VISUALISATION** | **VISUALISATION** | ||
- | ||**Visualiser état des interfaces**||show interface status||display brief interfaces|- | + | |
- | ||**Visualiser la configuration courante**||show running-config||display current-configuration|- | + | ||**Visualiser état des interfaces**||show interface status||display brief interfaces||show interfaces brief|- |
- | ||**Visualiser les vlans**||show vlan brief||Display vlan all|- | + | ||**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|- | ||**Voir les switchs voisins (directement rattachés)**||show cdp neighbors||display lldp neighbor-information|- | ||
- | ||**Rechercher une adresse MAC**||show mac address-table | + | ||**Rechercher une adresse MAC**||show mac address-table |
||**Visualiser les adresses IP fournies par un DHCP**||show ip dhcp snooping binding||X|- | ||**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 informations système**||show version||display version|- | ||
Ligne 30: | Ligne 31: | ||
||**Enregistrer les modifications**||wr ou copy running-configuration startup-configuration||save main|- | ||**Enregistrer les modifications**||wr ou copy running-configuration startup-configuration||save main|- | ||
||**Ajouter un nom à l’élément actif**||hostname||sysname|- | ||**Ajouter un nom à l’élément actif**||hostname||sysname|- | ||
+ | |||
||**Configurer un port dans un vlan**||conf t||System-view|- | ||**Configurer un port dans un vlan**||conf t||System-view|- | ||
- | ||interface < | + | ||-||interface < |
- | ||switchport mode access||port link-type access|- | + | ||-||switchport mode access||port link-type access|- |
- | ||switchport access vlan < | + | ||-||switchport access vlan < |
- | ||no shutdown||undo shutdown|- | + | ||-||no shutdown||undo shutdown|- |
||**Configurer un port trunk**||conf t||System-view|- | ||**Configurer un port trunk**||conf t||System-view|- | ||
- | ||interface < | + | ||-||interface < |
- | ||switchport mode trunk||port link-type trunk|- | + | ||-||switchport mode trunk||port link-type trunk|- |
- | ||no shutdown||undo shutdown|- | + | ||-||no shutdown||undo shutdown|- |
||**Configurer une interface de vlan**||conf t||System-view|- | ||**Configurer une interface de vlan**||conf t||System-view|- | ||
- | ||interface vlan < | + | ||-||interface vlan < |
- | ||ip address||ip address|- | + | ||-||ip address||ip address|- |
- | ||description madescription||description madescription|- | + | ||-||description madescription||description madescription|- |
- | ||no shutdown||undo shutdown|- | + | ||-||no shutdown||undo shutdown|- |
||**Ajouter une passerelle par défaut**||ip default-gateway||ip route-static 0.0.0.0 0.0.0.0|- | ||**Ajouter une passerelle par défaut**||ip default-gateway||ip route-static 0.0.0.0 0.0.0.0|- | ||
Ligne 52: | Ligne 57: | ||
**SECURITE** | **SECURITE** | ||
- | ||**Sécuriser un port (filtrage par MAC)** | + | ||**Sécuriser un port (filtrage par MAC)**||conf t||Port-security enable|- |
- | ||conf t||Port-security enable|- | + | ||-||interface < |
- | ||interface < | + | ||-||switchport mode access||interface < |
- | ||switchport mode access||interface < | + | ||-||switchport port-security aging time 1440||port link-type access|- |
- | ||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 aging type inactivity||Port-security max-mac count 1|- | + | ||-||switchport port-security mac-address sticky||Port-security port-mode autolearn|- |
- | ||switchport port-security mac-address sticky||Port-security port-mode autolearn|- | + | ||-||-||port-security intrusion-mode blockmac|- |
- | ||||port-security intrusion-mode blockmac|- | + | |
||**Clear d’un port-security**||conf t||System-view|- | ||**Clear d’un port-security**||conf t||System-view|- | ||
- | |||interface < | + | ||-||interface < |
- | |||shutdown||shutdown|- | + | ||-||shutdown||shutdown|- |
- | |||Sortir du mode conf t||undo port-security mac-address security xxxx-xxxx-xxxx|- | + | ||-||Sortir du mode conf t||undo port-security mac-address security xxxx-xxxx-xxxx|- |
- | |||||clear port-security sticky interface < | + | ||-||clear port-security sticky interface < |
- | |||conf t|||- | + | ||-||conf t||-||- |
- | |||interface < | + | ||-||interface < |
- | |||no shutdown|| | + | ||-||no shutdown||-||- |