All Ports
Errored ('.$ports['errored'].')');
}
if ($ports['ignored'])
{
echo(' Ignored ('.$ports['ignored'].') ');
}
if ($config['enable_billing']) { echo(' Traffic Bills '); $ifbreak = 1; }
if ($config['enable_pseudowires']) { echo(' Pseudowires '); $ifbreak = 1; }
if ($config['enable_vrfs']) { echo(' VRFs '); $ifbreak = 1; }
?>
IPv4 Search
IPv6 Search
= '5')
{
echo('
');
if ($config['int_customers']) { echo(' Customers '); $ifbreak = 1; }
if ($config['int_l2tp']) { echo(' L2TP '); $ifbreak = 1; }
if ($config['int_transit']) { echo(' Transit '); $ifbreak = 1; }
if ($config['int_peering']) { echo(' Peering '); $ifbreak = 1; }
if ($config['int_peering'] && $config['int_transit']) { echo(' Peering + Transit '); $ifbreak = 1; }
if ($config['int_core']) { echo(' Core '); $ifbreak = 1; }
}
if ($ifbreak) { echo('
'); }
if (isset($interface_alerts))
{
echo(' Alerts ('.$interface_alerts.') ');
}
$sql = "SELECT * FROM `ports` AS P, `devices` as D WHERE P.`deleted` = '1' AND D.device_id = P.device_id";
$query = mysql_query($sql);
$deleted_ports = 0;
while ($interface = mysql_fetch_assoc($query))
{
if (port_permitted($interface['interface_id'], $interface['device_id']))
{
$deleted_ports++;
}
}
?>
Down
Disabled
Deleted ('.$deleted_ports.')'); }
?>
|