Content-type: text/html
learp - Displays the contents of a LAN-Emulation Address Resolution Protocol (LE-ARP) table.
/usr/sbin/learp [-u unit number] -a
Each LAN-Emulation Client interface (displayed as elann in netstat output) has an Address Resolution Protocol (LE-ARP) table that contains mappings of 6-byte medium access control (MAC) addresses to 20-byte Asynchronous Transfer Mode (ATM) addresses. The learp command displays the contents of the LE-ARP table.
Each LE-ARP table entry contains the following information: Each MAC address that has been or is being contacted through the ATM-emulated LAN. One of the following state values: AP - LE-ARP is pending. The ATM address associated with the MAC address is not known. VP - Virtual Channel (VC) setup is pending. The ATM address is known, but no VC is established with the remote node. FL - Flush is pending. A new VC has been established with the remote node and the broadcast channel is being flushed so packets flowing on the new VC will not arrive out of order. FD - Forward Direct. Packets flowing to the destination are using the data-direct VC. If known, the 20-byte ATM address associated with the MAC address. One of the following flags: R - Remote entry. The MAC address is on a legacy (i.e. ethernet) network on the back side of an ATM edge device. P - Permanent entry. The LE-ARP entry is permanent. If known, this is the Virtual Path Identifier (VPI) and the Virtual Channel Identifier (VCI) of the data-direct VC used by packets destined to the MAC address. Many MAC addresses may use the same VC.
The following example shows the output of a learp -a command in which the
LE-ARP cache contains five entries:
# learp -a
le-arp cache contains 5 entries.
MAC Address State ATM Address Flags VPI/VCI
08-00-2b-01-01-01 (AP) pending
08-00-2b-01-01-02 (VP) 39000000000000000000000000.08002b010102.00 pending
08-00-2b-01-02-02 (FL) 39000000000000000000000000.08002b010203.00 R 0/65
08-00-2b-01-02-03 (FD) 39000000000000000000000000.08002b010203.00 0/65
Commands: atmelan(8), atmconfig(8), atmsig(8). delim off