Remplacer "show interfaces" par "show interface"
This commit is contained in:
parent
c1ca4c0cfa
commit
7d2c3d0df1
|
@ -84,19 +84,21 @@ Switch# show clock
|
|||
Switch# show history
|
||||
Switch# show logging
|
||||
Switch# show inventory
|
||||
Switch# show interfaces
|
||||
Switch# show interfaces status
|
||||
Switch# show interfaces st
|
||||
Switch# show interfaces counter
|
||||
Switch# show interfaces counter errors
|
||||
Switch# show interfaces Gi0/11
|
||||
Switch# show interfaces Gi0/11 status
|
||||
Switch# show interfaces Gi0/11 counter
|
||||
Switch# show interfaces Gi0/11 counter errors
|
||||
Switch# show interfaces trunk
|
||||
Switch# show interfaces description
|
||||
Switch# show interface
|
||||
Switch# show interface status
|
||||
Switch# show interface st
|
||||
Switch# show interface counter
|
||||
Switch# show interface counter errors
|
||||
Switch# show interface Gi0/11
|
||||
Switch# show interface Gi0/11 status
|
||||
Switch# show interface Gi0/11 counter
|
||||
Switch# show interface Gi0/11 counter errors
|
||||
Switch# show interface trunk
|
||||
Switch# show interface description
|
||||
~~~
|
||||
|
||||
Note : Pour les Catalyst, la commande d'origine est `show interfaces` avec un *s* et non `show interface`. Mais étant donné que la commande pour les Nexus est `show interface` sans *s* et que la commande sans *s* est comprise par les Catalyst, on la documente ainsi pour simplifier le copié/collé.
|
||||
|
||||
#### Gestion de base de la configuration
|
||||
|
||||
|
||||
|
@ -218,19 +220,19 @@ Avec `login local`, on utilisera un compte local créé par la commande `usernam
|
|||
Voir l'état et la vitesse de tous les ports :
|
||||
|
||||
~~~
|
||||
Switch# show interfaces status
|
||||
Switch# show interface status
|
||||
~~~
|
||||
|
||||
Statut d'une interface :
|
||||
|
||||
~~~
|
||||
Switch# show interfaces GigabitEthernet1/0/48
|
||||
Switch# show interface GigabitEthernet1/0/48
|
||||
~~~
|
||||
|
||||
Infos détaillées sur la config d'un port :
|
||||
|
||||
~~~
|
||||
Switch# show interfaces GigabitEthernet1/0/48 switchport
|
||||
Switch# show interface GigabitEthernet1/0/48 switchport
|
||||
~~~
|
||||
|
||||
Désactiver/activer une interface :
|
||||
|
@ -760,7 +762,7 @@ Attention : on ne peut pas spécifier plus de 5 groupes de range séparés par d
|
|||
|
||||
~~~
|
||||
Switch# show vlan <ID>
|
||||
Switch# show interfaces vlan <ID>
|
||||
Switch# show interface vlan <ID>
|
||||
~~~
|
||||
|
||||
##### De tous les VLAN
|
||||
|
@ -816,18 +818,18 @@ Pour le supprimer :
|
|||
Switch(config-if)# switchport trunk allowed vlan remove 42
|
||||
~~~
|
||||
|
||||
Une façon de contrôler si le trunk est bien mis en place des 2 côtés est de consulter la sortie de la commande `show vlan brief`. Si le port est toujours dans le vlan 1, c'est que le trunk n'est pas opérationnel (interface non montée, ou port distant non configuré en trunk). Si tout fonctionne bien, on ne doit le voir dans aucun vlan, mais on le verra en trunk dans un `show interfaces status`.
|
||||
Une façon de contrôler si le trunk est bien mis en place des 2 côtés est de consulter la sortie de la commande `show vlan brief`. Si le port est toujours dans le vlan 1, c'est que le trunk n'est pas opérationnel (interface non montée, ou port distant non configuré en trunk). Si tout fonctionne bien, on ne doit le voir dans aucun vlan, mais on le verra en trunk dans un `show interface status`.
|
||||
|
||||
Pour afficher les VLAN autorisés sur un trunk :
|
||||
|
||||
~~~
|
||||
Switch# show interfaces Gi1/0/50 trunk
|
||||
Switch# show interface Gi1/0/50 trunk
|
||||
~~~
|
||||
|
||||
Pour afficher la configuration de tous les trunks :
|
||||
|
||||
~~~
|
||||
Switch# show interfaces trunk
|
||||
Switch# show interface trunk
|
||||
~~~
|
||||
|
||||
ATTENTION : si l'on configure un port trunk, il est indispensable de créer le VLAN sur le switch, sinon cela ne marche pas !
|
||||
|
@ -1997,7 +1999,7 @@ Commandes similaires aux Catalyst :
|
|||
Switch# copy running-config startup-config
|
||||
Switch# sh vlan
|
||||
Switch# sh interface gi1
|
||||
Switch# sh interfaces status gi1
|
||||
Switch# sh interface status gi1
|
||||
Switch# show interface switchport gi1
|
||||
|
||||
Switch# show fiber-ports optical-transceiver
|
||||
|
|
Loading…
Reference in a new issue