discoveredList
discoveredList - access discovered neighbors and interface addresses.
SYNOPSIS
discoveredList sub-command options
DESCRIPTION
The discoveredList command must be preceded with use of three commands in the interfaceTable command: sendRouterSolicitation, requestDiscoveredTable and getDiscoveredList. The discoveredList command is used to look through two lists associated with an interface:
- Neighbor list: contains a list of discovered neighbors, each of which contains a MAC address and a list of IP addresses.
- Address list: contains the list of IP addresses associated with the interface.
STANDARD OPTIONS
none
COMMANDS
The discoveredList command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
discoveredList getFirstAddress
Gets the first address associated with the interface, which can be accessed with the discoveredAddress command. Specific errors are:
- Required commands have not been called.
- The list is empty.
discoveredList getFirstNeighbor
Gets the data concerning the first discovered neighbor in the list, which can be accessed with the discoveredNeighbor command. Specific errors are:
- Required commands have not been called.
- The list is empty.
discoveredList getNextAddress
Gets the next address associated with the interface, which can be accessed with the discoveredAddress command. Specific errors are:
- getFirstAddress has not been called.
- There are no more objects in the list.
discoveredList getNextNeighbor
Gets the data concerning the next discovered neighbor in the list, which can be accessed with the discoveredNeighbor command. Specific errors are:
- getFirstNeighbor has not been called.
discoveredListgetNeighbor ipAddress
Gets the data concerning the discovered neighbor in the list which has an interface address that matches ipAddress. The neighbor can be accessed with the command. Specific errors are:
- There is no object with this ID.
- Required commands have not been called.
EXAMPLES
See examples under interfaceTable