Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
52
2.1.4 Network to Media Resolution (ARP & NDP)
IPv4 network use Address Resolution Protocol (ARP) to resolve IP address to MAC address,
while IPv6 network uses Network Discovery Protocol (NDP) that performs basically the same as
ARP.
show ip/ipv6 default-gateway
show {ip | ipv6} default-gateway [static]
Displays the default gateway.
Syntax Description static Displays the static configuration of the default gateway.
Default N/A
Modes/Context Any Command Mode
History 3.1.0000
Role admin
Example
switch (config) # ip default-gateway 10.10.10.10
switch (config) # show ip default-gateway
Active default gateways:
172.30.0.1 (interface: mgmt0)
switch (config) # show ip default-gateway static
Configured default gateway: 10.10.10.10
Related Commands show ip default-gateway
Note The configured IPv4 default gateway will not be used if DHCP is enabled.
ip arp
ip arp <IP address> <MAC address>
no ip arp <IP address> <MAC address>
Sets a static ARP entry.
The no form of the command deletes the static ARP.
Syntax Description IP address IPv4 address.
MAC address MAC address.
Default N/A
Modes/Context Config Interface Management
History 3.2.0500
Role admin