learp - Displays the contents of a LAN-Emulation Address
Resolution Protocol (LE-ARP) table
/usr/sbin/learp [-u unit_number] -a
Specifies a LE-ARP cache. The unit number is the same as
is displayed by the netstat -i command. For example:
elan0 is unit 0, elan1 is unit 1, and so on.
If the -u option is not specified, the default unit
number is 0. Displays all entries in the LAN-Emulation
Address Resolution Protocol (LE-ARP) table.
Each LAN-Emulation Client interface (displayed as elann in
netstat output) has an Address Resolution Protocol (LEARP)
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. DE -- Delete of
the LE-ARP cache entry is pending. When there are no more
VCs for a LE-ARP entry, it is marked for deletion. After
there is no activity for 5 minutes (age periond), the
entry is removed for the cache. FD -- Forward Direct.
Packets flowing to the destination are using the datadirect
VC. 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. VP -- Virtual Channel (VC) setup is
pending. The ATM address is known, but no VC is established
with the remote node. 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 (that is, 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
39000000000000000000000000.08002b010203.00 R 0/65
Commands: atmconfig(8), atmelan(8), atmsig(8)
[ Back ]