<html>
<head>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
</head>
<body>
<?php
$time1= date("Y-m-d H:i:s");
$ip='172.30.30.30';
$ro='public';
$session = new SNMP(SNMP::VERSION_2C, $ip, $ro);
$ifDescr = $session->walk(".1.3.6.1.2.1.2.2.1.2", TRUE);
$ifAlias = $session->walk("IF-MIB::ifAlias", TRUE);
$ifSpeed = $session->walk(".1.3.6.1.2.1.2.2