Content-type: text/html Man page of learp

learp

Section: Maintenance Commands (8)
Index Return to Main Contents
 

NAME

learp - Displays the contents of a LAN-Emulation Address Resolution Protocol (LE-ARP) table.  

SYNOPSIS

/usr/sbin/learp [-u unit number] -a  

FLAGS

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 flag is not specified, the default unit number is 0. Displays all entries in the LAN-Emulation Address Resolution Protocol (LE-ARP) table.
 

DESCRIPTION

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.  

EXAMPLES

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
 

RELATED INFORMATION

Commands: atmelan(8), atmconfig(8), atmsig(8). delim off


 

Index

NAME
SYNOPSIS
FLAGS
DESCRIPTION
EXAMPLES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:27 GMT, October 02, 2010