media="all">
"; for ($i = 0; $i < count($nav); $i++){ if ($dirMax >= $pthSize){ if(($nav[$i][2] != 1) && (getfilepath($nav[$i][1]) == $parsedpath)) echo "Help : ".$nav[$i][0]; if (parsefilepath($nav[$i][1]) == $dirs[$pthSize]){ if ((getfilepath($nav[$i][1]) != $pth) || getfilepath($nav[$i][1]) != $pth."index.php") echo "Help : "; if (getfilepath($nav[$i][1]) == $parsedpath) echo $nav[$i][0]; else { echo "".$nav[$i][0]." : "; for ($j = 0; $j < count($nav[$i][3]); $j++){ if(getfilepath($nav[$i][3][$j][1]) == $parsedpath) echo $nav[$i][3][$j][0]; if(parsefilepath($nav[$i][3][$j][1]) == $dirs[$pthSize + 1]) { if ((getfilepath($nav[$i][3][$j][1]) == $parsedpath));// echo $nav[$i][3][$j][0]; else { echo "".$nav[$i][3][$j][0]." : "; for($k = 0; $k < count($nav[$i][3][$j][3]); $k++) { if(getfilepath($nav[$i][3][$j][3][$k][1]) == $parsedpath) echo $nav[$i][3][$j][3][$k][0]; if (parsefilepath($nav[$i][3][$j][3][$k][1]) == $dirs[$pthSize+2] && getfilebase($nav[$i][3][$j][3][$k][1]) == $path_parts["basename"]) { if (getfilepath($nav[$i][3][$j][3][$k][1]) == $parsedpath) ; //echo $nav[$i][3][$j][3][$k][0]; else if (parsefilepath($nav[$i][3][$j][3][$k][1]) == $dirs[$pthSize+3] && $nav[$i][3][$j][3][$k][2] == 1) { for ($l = 0; $l < count($nav[$i][3][$j][3][$k][3]); $l++){ if (getfilepath($nav[$i][3][$j][3][$k][3][$l][1]) == $parsedpath) echo "".$nav[$i][3][$j][3][$k][0]." : "; echo $nav[$i][3][$j][3][$k][3][$l][0]; } } } } } } } } } } } echo ""; ?>

The form is accessed from the Query>Other>Address Location menu. The address location query accessing tables that map MAC addresses to switch ports using the URL /its/query/AddressLocation. The following arguments are recognized:

The result is always a table of the form:

<Agent> <ifIndex> <Address>


addressType

The address type is used to specify the format of addresses that will be used in the request. Currently the following address types are supported:

  • IP
  • IP6
  • IPX
  • DEC
  • APPLETALK
  • MAC
  • DLCI
  • ASPATH

address

The format of an address depends on the type of address being specified. The following table gives examples of addresses of each type:

IP 10.8.56.128
IPX 51.28.45.50:0x0060B0ED45EB
DEC 32.12
APPLETALK 23.10
MAC 0x080009F2C59A
ASPATH 1-3-7-10

Note: Partial ASPATH addresses can be used to match ASPATHs in queries. For example,

-12 Destination AS must be 12.
12- Peer AS must be 12.
-12-15- Path must pass through AS 12 and AS 15.


agent

The IP address or domain name of the switch or router.


interface

The interface index (ifIndex) of the interface.


resultFormat

The following result formats are recognized:

  • csv Returns a plain text table of results with each field separated by a comma.
  • html Returns a formatted html table of results.
  • debug Returns an html table containing the argument list, as well as a separate result table. Also provides a means of viewing error messages relating to improperly constructed queries.