Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

diagnose netlink neighbor/neighbor6

Use these commands to list the neighbor table (ARP cache), or to add or delete neighbors.

Syntax

diagnose netlink {neighbor|neighbor6} add <interface_name> <ipaddress> <macaddress>

diagnose netlink {neighbor|neighbor6} delete <interface_name> <ipaddress>

diagnose netlink {neighbor|neighbor6} flush

diagnose netlink {neighbor|neighbor6} list

<interface_name>

Name of the interface to add or delete from the neighbors table.

<ipaddress>

IP address of the network interface.

<macaddress>

MAC address.

Example

FortiADC-VM # diagnose netlink neighbor list

ifindex=1 ifname=lo 127.0.0.1 00:00:00:00:00:00 state=00000040 use=2255 confirm=8255 update=2255 ref=0

 

diagnose netlink neighbor/neighbor6

Use these commands to list the neighbor table (ARP cache), or to add or delete neighbors.

Syntax

diagnose netlink {neighbor|neighbor6} add <interface_name> <ipaddress> <macaddress>

diagnose netlink {neighbor|neighbor6} delete <interface_name> <ipaddress>

diagnose netlink {neighbor|neighbor6} flush

diagnose netlink {neighbor|neighbor6} list

<interface_name>

Name of the interface to add or delete from the neighbors table.

<ipaddress>

IP address of the network interface.

<macaddress>

MAC address.

Example

FortiADC-VM # diagnose netlink neighbor list

ifindex=1 ifname=lo 127.0.0.1 00:00:00:00:00:00 state=00000040 use=2255 confirm=8255 update=2255 ref=0