如何在网络中查找一个IP的具体位置

 

User Access Verification

Username: admin
Password:
NzbCore_MDF_5#show ip arp | in 10.20.10.23
Internet  10.20.10.23             0   0050.8bb2.f1b3  ARPA   Vlan10
Internet  10.20.10.233            1   0006.29dc.e66b  ARPA   Vlan10
NzbCore_MDF_5#show mac-add add 0050.8bb2.f1b3
Legend: * - primary entry
        age - seconds since last seen
        n/a - not available

  vlan   mac address     type    learn     age              ports
------+----------------+--------+-----+----------+--------------------------
Supervisor:
*   10  0050.8bb2.f1b3   dynamic  Yes         10   Gi3/2

NzbCore_MDF_5#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
NzbCore_MDF_6    Gig 1/48           177         R S I     WS-C6509  Gig 1/48
NzbCore_MDF_6    Gig 1/47           177         R S I     WS-C6509  Gig 1/47
NzbCore_MDF_6    Gig 5/2            124         R S I     WS-C6509  Gig 5/2
NzbCore_MDF_6    Gig 5/1            124         R S I     WS-C6509  Gig 5/1
Nzb_XJW_36       Gig 3/12           138          S I      WS-C3750-4Gig 1/0/1
Nzb_MNJ5_38      Gig 3/14           126         R S I     WS-C3750-4Gig 2/0/1
NzbCALL_KQ5      Gig 3/3            135         R S I     WS-C4506  Gig 1/1
Nzb_ZDS8_15      Gig 2/7            176          S I      WS-C2950G-Gig 0/1
NzbAOC_KQ1_91    Gig 3/24           165         R S I     WS-C3750-4Gig 1/0/1
NzbAOC_KQ2_39    Gig 3/15           174          S I      WS-C3750-4Gig 2/0/1
Nzb_SSc_29       Gig 3/9            140          S I      WS-C3750G-Gig 1/0/25
Nzb_PC_12        Gig 2/10           170          S I      Cisco WS-CGig 0/2
Nzb_ZH_19        Gig 3/5            122          S I      Cisco WS-CGig 0/10
Nzb302_KQ2_20    Gig 3/4            126          S I      Cisco WS-CGig 0/1
NzbSVR_MDF_11    Gig 2/8            167         R S I     WS-C4507R Gig 1/1
NzbSVR_MDF_11    Gig 2/9            167         R S I     WS-C4507R Gig 3/1
NzbOut_MDF_14    Gig 2/3            169          S I      WS-C3750-4Gig 1/0/1
FszZb_Airp_35    Gig 3/10           130          S I      WS-C3560G-Gig 0/26
Nzb_LB4_81       Gig 3/6            151          S I      WS-C3750-4Gig 1/0/1
Nzb_LB1_13       Gig 2/5            177          S I      Cisco WS-CGig 0/1
Nzb_XB4_18       Gig 3/1            141          S I      WS-C3750-4Gig 1/0/3

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
Nzb_XB2_17       Gig 3/2            126          S I      WS-C3750-4Gig 1/0/3
Nzb_KQ2_25       Gig 3/11           161         R S I     WS-C3750-4Gig 1/0/1
Nzb_KQ5_26       Gig 3/8            124          S I      WS-C3750-4Gig 4/0/1
NzbCore_MDF_5#10.0.1.17
Trying 10.0.1.17 ... Open

Username: chengang
Password:

Nzb_XB2_17#en
Password:
Nzb_XB2_17#show mac-add add 0050.8bb2.f1b3
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
  10    0050.8bb2.f1b3    DYNAMIC     Fa5/0/47
Total Mac Addresses for this criterion: 1
Nzb_XB2_17#

 

 

 

 

 

 

 

 

show mac-add int F0/33确认f0/33底下是否有一个或者几个MAC地址。

do show run int f0/33

你可能感兴趣的:(网络,职场,位置,休闲)