Trouvez rapidement le port du commutateur principal et les informations sur le port où se trouve l'adresse IP.

 Trouver le port correspondant en fonction de l'IP

<main>display arp | include 192.168.10.3
IP ADDRESS      MAC ADDRESS     EXPIRE(M) TYPE        INTERFACE   VPN-INSTANCE
                                          VLAN/CEVLAN
------------------------------------------------------------------------------
192.168.10.3    0050-5688-6f66  17        D-0         GE1/0/34
------------------------------------------------------------------------------
Total:1390      Dynamic:1349    Static:1     Interface:40

Vérifiez quelles adresses mac correspondent à l'interface

<main>display mac-address g1/0/34
-------------------------------------------------------------------------------
MAC Address    VLAN/VSI                          Learned-From        Type
-------------------------------------------------------------------------------
0330-5699-18df 10/-                              GE1/0/34            dynamic
0350-5699-6f75 10/-                              GE1/0/34            dynamic
0350-56bb-0be3 10/-                              GE1/0/34            dynamic

Afficher les informations de configuration d'un port spécifié

<main>dis current-configuration interface g1/0/37
#
interface GigabitEthernet1/0/37
 port link-type access
 port default vlan 172
 port-mirroring to observe-port 1 inbound
#

Je suppose que tu aimes

Origine blog.csdn.net/weixin_42517271/article/details/130404841
conseillé
Classement