
Cisco Nexus - Commandes
Cisco Nexus Commandes Liste les commandes disponible : 1 ? Voir les informations de switch Cisco (modèle, version etc…) : 1 sh version Voir les VLAN(s) : 1 sh vlan id <NUMERO_DU_VLAN> Création d’un VLAN : 1 2 3 4 5 conf t vlan <INDIQUE_UN_NUMERO_DE_VLAN> name <NOM_DE_VLAN> no shut exit Supprimer un VLAN : 1 2 3 4 conf t vlan <NUMERO_DU_VLAN> no vlan <NUMERO_DU_VLAN> exit Création d’une interface pour un VLAN : 1 2 3 4 5 6 conf t interface vlan <NUMERO_DU_VLAN> description <UNE_DESCRIPTION> ip address <IP/CIDR> no shutdown exit Supprimer une interface d’un VLAN : 1 2 3 conf t no interface vlan <NUMERO_DU_VLAN> exit Supprimer un VLAN avec son interface : 1 2 3 4 5 conf t vlan <NUMERO_DU_VLAN> no interface vlan <NUMERO_DU_VLAN> no vlan <NUMERO_DU_VLAN> exit Assignation d’un VLAN à un port physique : 1 2 3 4 5 conf t interface <PORT_PHYSIQUE_EXEMPLE_e1/18> switchport access vlan <NUMERO_DU_VLAN> no shutdown exit Retirer un VLAN d’un port physique : 1 2 3 4 5 conf t interface <PORT_PHYSIQUE_EXEMPLE_e1/18> no switchport access vlan <NUMERO_DU_VLAN> no shutdown exit Voir les détails d’un port physique : 1 sh int <PORT_PHYSIQUE_EXEMPLE_e1/2> Voir l’IP d’une interface VLAN : 1 sh ip interface vlan <NUMERO_DU_VLAN> Voir l’historique des commandes de la session : 1 sh cli history Voir le statut des licences : 1 sh license usage Voir les services associés par licences : 1 sh license usage <NOM_DE_LA_LICENCE_EXEMPLE_LAN_BASE_SERVICES_PKG> Voir la liste des ACL (contrôle d’accès) : 1 sh access-lists Supprimer une ACL : 1 no ip access-list <NOM_DE_VOTRE_ACL> Voir la liste des routages par les ACL : 1 sh route-map Voir les services : 1 sh feature Voir les services activé : 1 sh feature | grep enabled Désactivé un service : 1 2 conf t no feature <NOM_DU_SERVICE> Activer un service : 1 2 conf t feature <NOM_DU_SERVICE> Sauvegarder la configuration du switch : 1 copy running-config startup-config ou cop run sta Redémarrer le switch : 1 reload Forcer un port Ethernet en 1Gb/s Full duplex : 1 2 3 4 5 conf t interface <PORT_PHYSIQUE_EXEMPLE_e1/18> duplex full speed 1000 exit Mise à niveau firmware Mise à niveau du firmware (vérification) : 1 show install all impact kickstart bootflash:///n6000-uk9-kickstart.