Cette page recense les principales commandes permettant de consulter les états et la configuration d'un switch Aruba. Les commandes sont présentées pour les deux systèmes d'exploitation : ArubaOS-Switch (ProVision) et ArubaOS-CX, qui diffèrent sur certaines syntaxes.
Toutes les commandes ci-dessous s'exécutent depuis le mode privilegié (manager/operator). Utiliser enable pour y accéder si nécessaire.
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| Informations système (modèle, firmware, uptime)
|
show system
|
show system
|
| Version du firmware
|
show version
|
show version
|
| Numéro de série et inventaire matériel
|
show system information
|
show system inventory
|
| Configuration courante
|
show running-config
|
show running-config
|
| Configuration de démarrage
|
show config
|
show startup-config
|
| Utilisation CPU
|
show cpu
|
show system resource-utilization
|
| Utilisation mémoire
|
show memory
|
show system resource-utilization
|
| Température et ventilateurs
|
show system temperature / show system fans
|
show environment temperature / show environment fan
|
| Alimentation (PSU)
|
show system power-supply
|
show environment power-supply
|
| Horloge système
|
show time
|
show clock
|
| Logs système
|
show logging
|
show logging
|
État des interfaces
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| Résumé de toutes les interfaces
|
show interfaces brief
|
show interface brief
|
| Détail d'une interface spécifique
|
show interfaces <port>
|
show interface <port>
|
| Statut des ports (up/down)
|
show interfaces status
|
show interface brief
|
| Compteurs de trafic
|
show interfaces counters
|
show interface <port> counters
|
| Erreurs sur les ports
|
show interfaces <port> detail
|
show interface <port> extended
|
| Transceiver / SFP
|
show interfaces transceiver
|
show interface transceiver
|
| Description des ports
|
show name
|
show interface brief
|
| Port mirroring
|
show monitor
|
show mirror
|
VLAN
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| Liste des VLANs
|
show vlans
|
show vlan
|
| Détail d'un VLAN
|
show vlans <vlan-id>
|
show vlan <vlan-id>
|
| Ports associés à un VLAN
|
show vlans <vlan-id> ports
|
show vlan <vlan-id>
|
| VLAN d'un port spécifique
|
show vlans ports <port>
|
show interface <port> vlans
|
Spanning Tree (STP)
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| État global du STP
|
show spanning-tree
|
show spanning-tree
|
| Détail d'une instance STP
|
show spanning-tree instance <id>
|
show spanning-tree detail
|
| État STP d'un port
|
show spanning-tree <port>
|
show spanning-tree interface <port>
|
| Configuration MSTP
|
show spanning-tree mst-config
|
show spanning-tree mst
|
Table d'adresses MAC
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| Table MAC complète
|
show mac-address
|
show mac-address-table
|
| MAC sur un port spécifique
|
show mac-address <port>
|
show mac-address-table port <port>
|
| MAC dans un VLAN
|
show mac-address vlan <vlan-id>
|
show mac-address-table vlan <vlan-id>
|
| Rechercher une adresse MAC
|
show mac-address <mac>
|
show mac-address-table address <mac>
|
ARP et routage
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| Table ARP
|
show arp
|
show arp
|
| Table de routage
|
show ip route
|
show ip route
|
| Interfaces IP (SVIs)
|
show ip
|
show ip interface
|
| Résumé OSPF
|
show ip ospf
|
show ip ospf overview
|
| Voisins OSPF
|
show ip ospf neighbor
|
show ip ospf neighbor
|
| Résumé BGP
|
show ip bgp summary
|
show bgp ipv4 unicast summary
|
LLDP
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| Voisins LLDP
|
show lldp info remote-device
|
show lldp neighbor-info
|
| Détail d'un voisin LLDP
|
show lldp info remote-device <port>
|
show lldp neighbor-info interface <port>
|
| Configuration LLDP
|
show lldp config
|
show lldp configuration
|
Agrégation de liens (LACP / Trunk)
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| Liste des trunks
|
show trunks
|
show lacp interfaces
|
| Détail LACP
|
show lacp
|
show lacp interfaces
|
| État d'un LAG
|
show trunk <trk-name>
|
show lag <lag-name>
|
PoE (Power over Ethernet)
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| État PoE global
|
show power-over-ethernet brief
|
show power-over-ethernet
|
| Détail PoE d'un port
|
show power-over-ethernet <port>
|
show power-over-ethernet interface <port>
|
| Consommation totale
|
show power-over-ethernet brief
|
show power-over-ethernet
|
Stacking / VSF
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| État du stack
|
show stacking
|
show vsf
|
| Membres du stack
|
show stacking members
|
show vsf member
|
| Détail d'un membre
|
show stacking member <id>
|
show vsf member <id>
|
| Liens inter-membres
|
show stacking stack-ports
|
show vsf link
|
Sécurité et AAA
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| État 802.1X
|
show port-access authenticator
|
show port-access clients
|
| Clients authentifiés
|
show port-access authenticator clients
|
show port-access clients
|
| ACL appliquées
|
show access-list
|
show access-list
|
| Configuration RADIUS
|
show radius
|
show radius-server
|
| Sessions SSH
|
show ssh
|
show ssh server
|
| Utilisateurs connectés
|
show telnet / show ssh
|
show user
|
DHCP Snooping et DAI
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| État DHCP Snooping
|
show dhcp-snooping
|
show dhcp-snooping
|
| Bindings DHCP Snooping
|
show dhcp-snooping binding
|
show dhcp-snooping binding
|
| ARP Inspection (DAI)
|
show arp-protect
|
show arp inspection
|
NTP
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| État NTP
|
show ntp status
|
show ntp status
|
| Associations NTP
|
show ntp associations
|
show ntp associations
|
SNMP
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| Configuration SNMP
|
show snmp-server
|
show snmp-server
|
| Communautés SNMP
|
show snmp-server community
|
show snmp-server community
|
| Traps configurés
|
show snmp-server traps
|
show snmp-server trap
|
Commandes de diagnostic
| Objectif
|
ArubaOS-Switch (ProVision)
|
ArubaOS-CX
|
| Ping
|
ping <ip>
|
ping <ip>
|
| Traceroute
|
traceroute <ip>
|
traceroute <ip>
|
| Test câble
|
show interfaces <port> cable-diagnostics
|
diag cable-test interface <port>
|
| Debug (à utiliser avec précaution)
|
debug <module>
|
debug <module>
|
| Tech-support (export complet)
|
show tech
|
show tech
|
Astuces utiles
Filtrage de sortie
Sur ArubaOS-Switch :
show running-config | include "vlan"
show interfaces brief | exclude Down
Sur ArubaOS-CX :
show running-config | include vlan
show interface brief | exclude down
Sauvegarder la configuration
Sur ArubaOS-Switch :
Sur ArubaOS-CX :
copy running-config startup-config
Exporter la configuration (TFTP)
Sur ArubaOS-Switch :
copy running-config tftp <ip-serveur> <nom-fichier>
Sur ArubaOS-CX :
copy running-config tftp://<ip-serveur>/<nom-fichier>
Voir aussi