Cara melihat IP neighbour perangkat kita

Published 8 November 2011 by manik0ask

Hmmm…
Biasanya sih kalo perangkanya Cisco semua paling mudah menggunakan command “show cdp neig”, tapi kalau perangkatnya bukan Cisco, gimana caranya men-searching IP neighbor kita?

Let’s start
1. Show mac address-table
misal hasilnya:
Mac Address Table
——————————————-

Vlan Mac Address Type Ports
—- ———– ——– —–
All 0180.c200.0006 STATIC CPU
All 0180.c200.0007 STATIC CPU
All 0180.c200.000b STATIC CPU
All ffff.ffff.ffff STATIC CPU
13 001e.f737.0a1a DYNAMIC Fa0/3
13 001f.6c3d.ede2 DYNAMIC Fa0/4
85 001e.f737.0a1b DYNAMIC Fa0/2
85 001f.6c3d.ede3 DYNAMIC Fa0/1
49 40f4.ecba.21c9 DYNAMIC Fa0/22
6 001e.c9db.8394 DYNAMIC Fa0/20
6 001e.c9f1.7764 DYNAMIC Fa0/20
6 14fe.b588.cf14 DYNAMIC Fa0/20
6 14fe.b588.cf21 DYNAMIC Fa0/20
12 001e.7a36.5804 DYNAMIC Fa0/18
12 0022.0c8f.7818 DYNAMIC Fa0/20
100 001b.5308.8498 DYNAMIC Fa0/24
100 001e.0bd7.1368 DYNAMIC Fa0/20
100 001e.68c5.b6d4 DYNAMIC Fa0/17
100 0022.195c.ae33 DYNAMIC Fa0/15
100 0022.195c.f332 DYNAMIC Fa0/10
100 0022.195c.f593 DYNAMIC Fa0/11
100 0022.195c.f87d DYNAMIC Fa0/5
100 0022.195d.d659 DYNAMIC Fa0/6
100 0022.19d6.512b DYNAMIC Fa0/13
100 0023.8bbd.a956 DYNAMIC Fa0/14
100 0023.8bbd.ab02 DYNAMIC Fa0/12
100 0060.1628.8963 DYNAMIC Fa0/7
100 0060.1629.17e6 DYNAMIC Fa0/8
232 0000.0c07.ac64 DYNAMIC Fa0/24
232 001f.6c3d.ede4 DYNAMIC Fa0/24
232 b8ac.6f99.ab72 DYNAMIC Fa0/24
1 40f4.ecba.2185 DYNAMIC Fa0/22
1 68bc.0c61.3998 DYNAMIC Fa0/18
9 1078.d2c3.440c DYNAMIC Fa0/18
9 14fe.b588.ced3 DYNAMIC Fa0/18
47 0000.0c07.ac68 DYNAMIC Fa0/22

2. Nanti kita bisa liat VLAN, mac-address, n interface nya..

Misalnya pengen tau port X connect kemana, bisa diliat dengan command di bawah ini.

Misal pengen tau port fa0/1 connect ke device dengan IP berapa. Tinggal di liat di mac-address table nya, mac-address yang connect ke port itu, mac-address nya berapa. Misal: port fa0/1 punya mac-address 001e.68c5.b6d4. jadi command nya:

Misal:

sh ip arp vlan 100 | i 001e.68c5.b6d4
Internet  172.25.100.11           0   001e.68c5.b6d4  ARPA   Vlan100

 

Nah.. ketauan kan berarti IP device neighbor nya itu 172.25.100.11

 

Semoga membantu yah…

 

2 comments on “Cara melihat IP neighbour perangkat kita

  • Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s

    %d bloggers like this: