Dell Networking SONiC: IPv4 Adres Çözümleme Protokolü

Zusammenfassung: Bu makalede, Dell Networking SONiC'deki IPv4 Adres Çözümleme Protokolü açıklanmaktadır. Bu makale, Dell SONiC 4.1 çalıştıran bir anahtar kullanır.

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Weisungen

 
Önkoşullar
Kavramları göstermek için standart arabirim adlandırması kullanıyoruz. Dell Networking S Serisi 202172 Dell makalesine bakın: Temel Arabirim Yapılandırması - Arayüz adlandırması ile ilgili daha fazla bilgi için SONiC 4.0


Dizin

Giriş
IPv4 Adres Çözümleme Protokolü girişlerini görüntüleme.
IPv4 girişlerini temizleme

Giriş

Adres Çözümleme Protokolü (ARP), IP ağ adreslerini MAC donanım adreslerine, MAC adreslerini ise IP adreslerine aktararak IPv4 paketlerinin ağlara gönderilmesine olanak tanır. Hedef aygıtların MAC adresi ve ilgili IP adresi ARP tablosunda korunur. ARP tablosu, IP adresini kullanarak anahtarın ilişkili MAC adresini hızlı bir şekilde almalarını, IP paketi bir L2 çerçevesi içinde kapsüllemelerini ve ağ üzerinden bir hedefe iletmesini sağlar.

IPv4 ARP girişlerini görüntüleme

ARP tablosu girişlerini görüntülemek için show ip arp komutunu kullanın. Çıktıyı filtrelemek için bir arabirim, bağlantı noktası kanalı veya VLAN, x.x.x.x biçiminde bir IP adresi, MAC adresi veya eşleşmesi gereken birden fazla değer kombinasyonu belirtin. Ayrıca, özet bilgilerini ve IPv4 ARP girişlerini belirli bir VRF'de görüntü bulabilirsiniz.

Komut Söz Dizimi
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure
DELLSONiC(config)#show ip arp 
 
DELLSONiC# show ip arp
Type: R - Remote Neighbor entries (EVPN or MCLAG Separate IP)
-------------------------------------------------------------------------------------
Address      Hardware address   Interface      Egress Interface   Type   Action
-------------------------------------------------------------------------------------
192.1xx.1.4  00:01:02:03:44:55  Eth1/3              -            Dynamic   Fwd
192.1xx.2.4  00:01:02:03:ab:cd  PortChannel200      -            Dynamic   Fwd
192.1xx.3.6  00:01:02:03:04:05  Vlan100             Eth1/2       Dynamic   Fwd
10.11.48.2xx 00:01:e8:8b:44:71  Management0         -            Dynamic   Fwd
0.0.0.0      00:00:00:00:00:00  lo                  -            Dynamic   Fwd
 
NOT: Geri döngü IP adresi 0.0.0.0 için son ARP girişi, APPL_DB'nin SONiC NEIGH_TABLE girilebilir. Girişi silmek için redis-cli'yi veya REDIS_DB başka bir uygulamayı kullanarak girişten manuel olarak silmeniz REDIS_DB.
 
DELLSONiC# show ip arp interface Vlan 20
Type: R - Remote Neighbor entries (EVPN or MCLAG Separate IP)
-----------------------------------------------------------------------
Address Hardware address Interface Egress Interface Type Action 
-----------------------------------------------------------------------
20.0.0.2 90:b1:1c:f4:9d:ba Vlan20   Eth1/1         Dynamic Fwd
20.0.0.5 00:11:22:33:44:55 Vlan20   Eth1/1         Dynamic Fwd
 
DELLSONiC# show ip arp 20.0.0.2
Type: R - Remote Neighbor entries (EVPN or MCLAG Separate IP)
-----------------------------------------------------------------------
Address Hardware address Interface Egress Interface Type Action 
-----------------------------------------------------------------------
20.0.0.2 90:b1:1c:f4:9d:ba Vlan20   Eth1/1         Dynamic Fwd
 
DELLSONiC# show ip arp mac-address 90:b1:1c:f4:9d:ba
Type: R - Remote Neighbor entries (EVPN or MCLAG Separate IP)
-----------------------------------------------------------------------
Address Hardware address Interface Egress Interface Type Action 
-----------------------------------------------------------------------
20.0.0.2 90:b1:1c:f4:9d:ba Vlan20       Eth1/1      Dynamic Fwd
 
DELLSONiC# show ip arp summary
Total Entries
-------------
 2
 
DELLSONiC# show ip arp vrf Vrf_1
Type: R - Remote Neighbor entries (EVPN or MCLAG Separate IP)
-----------------------------------------------------------------------
Address Hardware address Interface Egress Interface Type Action 
-----------------------------------------------------------------------
20.0.0.2 90:b1:1c:f4:9d:ba Vlan20      Eth1/1       Dynamic Fwd
20.0.0.5 00:11:22:33:44:55 Vlan20      Eth1/1       Dynamic Fwd

IPv4 girişlerini temizleme

ARP tablosundan dinamik olarak öğrenilen IPv4 girişlerini silmek için clear ip arp komutunu kullanın. Silinecek girişleri belirtmek için bir arabirim, bağlantı noktası kanalı veya VLAN, bir IPv4 adresi veya eşleşmesi için bir kombinasyon girin. Statik olarak yapılandırılmış ARP girişlerini silmek için zorla girin. IPv4 girişlerinin silindığını doğrulamak için show ip arp komutunu kullanın.
 
DELLSONiC# clear ip arp < [interface {Eth slot/port[/breakout-port] | PortChannel number | Vlan vlanid | Management port-number}] [ip-address] [vrf vrf-name]>
 
DELLSONiC# show ip arp
Type: R - Remote Neighbor entries (EVPN or MCLAG Separate IP)
-------------------------------------------------------------------------------------
Address      Hardware address   Interface       Egress Interface Type Action
-------------------------------------------------------------------------------------
192.168.2.4  00:01:02:03:ab:cd  PortChannel200       -           Dynamic Fwd
192.168.3.6  00:01:02:03:04:05  Vlan100            Eth1/2        Dynamic Fwd
10.11.48.254  00:01:e8:8b:44:71  Management0         -           Dynamic Fwd


sonic# clear ip arp interface Vlan 100

sonic# show ip arp
Type: R - Remote Neighbor entries (EVPN or MCLAG Separate IP)
-------------------------------------------------------------------------------------
Address      Hardware address    Interface         Egress Interface Type Action
-------------------------------------------------------------------------------------
192.168.2.4  00:01:02:03:ab:cd   PortChannel200      -              Dynamic Fwd
10.11.48.254 00:01:e8:8b:44:71   Management0         -              Dynamic Fwd

Betroffene Produkte

PowerSwitch E3200-ON Series, Dell EMC Networking N3200-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9332F-ON, PowerSwitch Z9432F-ON
Artikeleigenschaften
Artikelnummer: 000218168
Artikeltyp: How To
Zuletzt geändert: 16 Okt. 2023
Version:  3
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.