Dell Networking SONiC: IPv4 주소 해결 프로토콜
Summary: 이 문서에서는 Dell Networking SONiC의 IPv4 주소 확인 프로토콜에 대해 설명합니다. 이 문서에서는 Dell SONiC 4.1을 실행하는 스위치를 사용합니다.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
|
필수 구성 요소
표준 인터페이스 명명을 사용하여 개념을 시연하고 있습니다. Dell Networking S 시리즈 202172 Dell 문서를 참조하십시오. 기본 인터페이스 구성 - 인터페이스 명명에 대한 자세한 내용을 보려면 SONiC 4.0 |
인덱스
소개
IPv4 주소 해결 프로토콜 항목을 봅니다.
IPv4 항목 지우기
소개
ARP(Address Resolution Protocol)를 사용하면 IP 네트워크 주소를 MAC 하드웨어 주소로 변환하고 MAC 주소를 IP 주소로 변환하여 네트워크를 통해 IPv4 패킷을 전송할 수 있습니다. 대상 디바이스의 MAC 주소와 해당 IP 주소는 ARP 표에 유지됩니다. ARP 테이블을 사용하면 스위치가 IP 주소를 사용하여 연결된 MAC 주소를 빠르게 검색하고 L2 프레임에서 IP 패킷을 캡슐화한 다음 네트워크를 통해 대상으로 전송할 수 있습니다.IPv4 ARP 항목 보기
ARP 테이블 항목을 표시하려면 show ip arp 명령을 사용합니다. 출력을 필터링하려면 인터페이스, 포트 채널 또는 VLAN, x.x.x.x 형식의 IP 주소, MAC 주소 또는 일치하는 두 개 이상의 값 조합을 지정합니다. 또한 지정된 VRF에 요약 정보 및 IPv4 ARP 항목을 표시할 수도 있습니다.명령 구문
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 |
참고: 루프백 IP 주소 0.0.0.0의 마지막 ARP 항목은 APPL_DB SONiC NEIGH_TABLE 입력할 수 있습니다. 항목을 삭제하려면 redis-cli 또는 REDIS_DB 편집할 수 있는 다른 애플리케이션을 사용하여 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 항목 지우기
ARP 테이블에서 동적으로 학습된 IPv4 항목을 삭제하려면 clear ip arp 명령을 사용합니다. 삭제할 항목을 지정하려면 인터페이스, 포트 채널 또는 VLAN, IPv4 주소 또는 일치하는 조합을 입력합니다. 정적으로 구성된 ARP 항목을 삭제하려면 힘을 입력합니다. show ip arp 명령을 사용하여 IPv4 항목이 삭제되었는지 확인합니다. 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 |
Affected Products
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-ONArticle Properties
Article Number: 000218168
Article Type: How To
Last Modified: 16 Oct 2023
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.