P_NDPRXTABLE#

code: 309

# set
<module-index>/<port-index> P_NDPRXTABLE <entries>

# get
<module-index>/<port-index> P_NDPRXTABLE ?

Description#

Port NDP table used to reply to incoming NDP Neighbor Solicitation.

Actions#

set, get

Parameters#

  1. entries: hex25 list, each hex25 value corresponds to an entry in the ARP table, which contains the following parameters

  • ipv6_address: hex16, IP address to match to the Target IP address in the NDP Neighbor Solicitation

  • prefix: hex2, The prefix used for address matching

  • patched_mac: hex, Whether the target MAC address will be patched with the part of the IP address that is not masked by the prefix

  • mac_address: hex6, The target MAC address to return in the NDP Neighbor Advertisement

Example#

# set
input:  0/1 P_NDPRXTABLE 0x00000000000000000000000000000123008001112233445566
output: <OK>

# get
input:  0/1 P_NDPRXTABLE ?
output: 0/1 P_NDPRXTABLE 0x00000000000000000000000000000123008001112233445566

0x00000000000000000000000000000123008001112233445566 corresponds to one entry in the NDP RX table:

===========   =======  ==================   ==============
IP Address    Prefix   MAC Address          Patch MAC
===========   =======  ==================   ==============
::123         128       11 22 33 44 55 66   Yes
===========   =======  ==================   ==============