Cisco Layer 3 cihazlarda IP sorgulaması

<  Cisco Layer 3 cihazlarda IP sorgulaması

Diyelim ki network’unuzu Layer 3 bir Cisco switch ya da router ile yönlendiriyorsunuz. Bir de VLAN’lara ayrılmış bir network topolojiniz olsun. Bir IP adresinin MAC adresini, hangi portta olduğunu ve hangi VLAN’a ait olduğunu merak ediyorsunuz.

Aşağıdaki mucizevi komut size o IP adresi ile ilgili bilgiler verecektir.
Cisco3550-L3#sh ip arp 10.0.0.1
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 4 0000.0000.0000 ARPA Vlan3

Eğer araştırdığınız IP adresi kendi portlarından birinden bağlı ise size hangi port olduğunu gösterecektir.

1_A_1_3550_12#sh ip arp 20.20.20.1
Protocol Address Age (min) Hardware Addr Type Interface
Internet 20.20.20.1 4 0000.0000.0000 ARPA GigabitEthernet0/1

Ya da aşağıdaki komutla MAC adresinin hangi porttan geldiğini görebilirsiniz.
1_A_1_3550_12#sh mac-address-table address  0000.0000.0000
Mac Address Table
——————————————-

Vlan    Mac Address       Type        Ports
—-    ———–       ——–    —–
3    0000.0000.0000    DYNAMIC     Gi0/1
Total Mac Addresses for this criterion: 1

Posted in Cisco, ipucu ~ You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.

« Artık benim de bağlamam var :)

 
Powered by WordPress and Ad Infinitum