ARP/ND Operational Commands

Show Commands

Neighbor Timer Show Commands

Syntax:

show neighbor <option>

Option Description

-

Without any option, the commands display the information for all neighbors.

instance <instance_name>

Displays summary of the specified neighbor instance

IPv4

Displays neighbor summary for the specified IPv4 address.

IPv6

Displays neighbor summary for the specified IPv6 address.

request <…​>

Displays information about GARP requests made.

Example 1: Summary of neighbor

supervisor@rtbrick>LEAF01: op> show neighbor
Instance                MAC Address          Interface             IP Address                Dynamic  Entry Time
default                 e4:ed:7a:8e:d5:9d    ifl-0/0/5/1           2001:db8:0:30::
true     Thu Feb 24 02:23:19

Example 2: Summary of neighbor instance

supervisor@rtbrick>LEAF01: op> show neighbor instance default
Instance                MAC Address          Interface             IP Address                Dynamic  Entry Time
default                 7a:01:bf:60:03:02    ifp-0/2/3/10        2001:db8:0:111::     true     Thu Feb 24 04:57:22
default                 7a:01:bf:60:03:02    ifp-0/2/3/20        2001:db8:0:19::      true     Thu Feb 24 04:57:22

Example 3: Summary of the neighbor for the specified address family

supervisor@rtbrick>LEAF01: op> show neighbor ipv4
  <cr>
  instance              Instance name
supervisor@rtbrick>LEAF01: op> show neighbor ipv6
Instance                MAC Address          Interface             IP Address                Dynamic  Entry Time
default                 7a:01:bf:60:03:02    ifp-0/2/3/10        2001:db8:0:111::    true     Thu Feb 24 04:57:22
default                 7a:01:bf:60:03:02    ifp-0/2/3/20        2001:db8:0:19::     true     Thu Feb 24 04:57:22

Example 4: Summary of the static IP neighbor

supervisor@rtbrick>LEAF01: op> show neighbor
Instance                MAC Address          Interface             IP Address                Dynamic  Entry Time
default                 11:11:11:11:11:11    ifl-0/1/5/1           198.51.100.10                  true     Fri Feb 25 10:13:04

Neighbor Address Resolution

Syntax:

show address resolution <request | response>

Option Description

Request

Displays the summary of the address resolution request

Response

Displays the summary of address resolution response

Example 1: Summary of the neighbor address resolution request

supervisor@rtbrick>LEAF01: op> show address-resolution request
TableName: global.static.1.address.resolution.request
Next Hop                    AFI         SAFI        Instance
2001:db8:0:30::            ipv6        labeled-un  default

Example 2: Summary of the neighbor address resolution response

supervisor@rtbrick>LEAF01: op> show address-resolution response
TableName: global.static.1.address.resolution.response
IP Address                  Covering Prefix            MAC Address         Interface
2001:db8:0:30::              2001:db8:0:30::/32        e4:ed:7a:8e:d5:9d   ifl-0/0/5/1

Neighbor Request

This command is used to display detailed information about various ARP neighbor requests.

Syntax:

show neighbor request <option>

Option Description

-

Without any option, the commands display the information about all ARP requests made.

type

This option allows you to specify the type of neighbor request.

arp-proxy

Displays information about ARP proxy requests.

arp-reply

Shows ARP reply messages.

arp-request

Displays ARP request messages.

arp-static

Shows static ARP entries.

garp

Displays Gratuitous ARP (GARP) messages.

Example 1: Summary of the request

supervisor@rtbrick: cfg> show neighbor request
Interface            IP Address                           Type              Entry Time
ifl-0/1/10/0         192.168.25.1                         garp              Thu Aug 22 09:16:12
ifl-0/1/61/10        63.1.1.1                             garp              Thu Aug 22 09:16:12
ifl-0/1/61/10        63.1.1.2                             arp-request       Thu Aug 22 09:18:04
ifl-0/1/61/10        63.1.1.2                             arp-static        Thu Aug 22 09:16:12
ifl-0/1/10/0         fe80::e8c5:7a00:b2:4aa               garp              Thu Aug 22 09:16:12
ifl-0/1/61/10        fe80::e8c5:7aff:feb2:4dd             garp              Thu Aug 22 09:16:12

Example 2: Summary of the request type GARP

supervisor@rtbrick: cfg> show neighbor request type garp
Interface            IP Address                          Type              Entry Time
ifl-0/1/10/0         192.168.25.1                        garp              Thu Aug 22 09:16:12
ifl-0/1/61/10        63.1.1.1                            garp              Thu Aug 22 09:16:12
ifl-0/1/10/0         fe80::e8c5:7a00:b2:4aa              garp              Thu Aug 22 09:16:12
ifl-0/1/61/10        fe80::e8c5:7aff:feb2:4dd            garp              Thu Aug 22 09:16:12
supervisor@rtbrick: cfg> show neighbor request type arp-static
Interface            IP Address                          Type              Entry Time
ifl-0/1/61/10        63.1.1.2                            arp-static        Thu Aug 22 09:16:12

Neighbor History

This command is used to display information for deleted or disconnected neighbors. It allows you to retrieve information for the latest 1,000 deleted neighbor entries.

Syntax:

show neighbor history <option>

Option Description

-

Without any option, the command displays the history of all neighbors.

interface

Displays history of a specified interface.

ipv4

Displays history of a specified IPv4 neighbor.

ipv6

Displays history of a specified IPv6 neighbor.

Example 1: Neighbor history

supervisor@rtbrick: cfg> show neighbor history
Instance    MAC Address       Interface         IP Address                   Dynamic     Entry Time         Delete Time
default     7a:26:ea:c0:00:00 ifl-0/0/2/10   172.10.16.2                  true  Tue Feb 11 06:06:02   Tue Feb 11 06:07:40
default     7a:26:ea:c0:00:00 ifl-0/0/2/10   2001:db8:3::2                true  Tue Feb 11 06:06:02   Tue Feb 11 06:07:40
default     7a:26:ea:c0:00:00 ifl-0/0/2/10   fe80::7826:eaff:fec0:0       true  Tue Feb 11 06:05:31   Tue Feb 11 06:07:40
default     7a:26:ea:c0:00:01 ifl-0/0/3/2    190.100.6.1                  true  Tue Feb 11 06:06:02   Tue Feb 11 06:07:46
default     7a:26:ea:c0:00:01 ifl-0/0/3/2    fe80::7826:eaff:fec0:1       true  Tue Feb 11 06:05:29   Tue Feb 11 06:07:46

Example 2: History of a specified nieghbor interface

supervisor@rtbrick: cfg> show neighbor history interface ifl-0/0/2/10
Instance     MAC Address        Interface           IP Address               Dynamic  Entry Time        Delete Time
default      7a:26:ea:c0:00:00  ifl-0/0/2/10    172.10.16.2              true   Tue Feb 11 06:06:02  Tue Feb 11 06:07:40
default      7a:26:ea:c0:00:00  ifl-0/0/2/10    2001:db8:3::2            true   Tue Feb 11 06:06:02  Tue Feb 11 06:07:40
default      7a:26:ea:c0:00:00  ifl-0/0/2/10    fe80::7826:eaff:fec0:0   true   Tue Feb 11 06:05:31  Tue Feb 11 06:07:40