_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW6600 Series User manual
Issue: 1.7
Page 437 of 519
39.4.4
SNMP interface alias MIBS
OID Name
OID
interface alias table
.1.3.6.1.2.1.2.2.1.1.
snmp_alias_ifindex
.1.3.6.1.2.1.2.2.1.1.<snmp_alias_1000>
snmp_alias_ifdescr
1.3.6.1.4.1.2078.3.2.66.1.1.<index>.{5,6}
39.5
SNMP diagnostics
39.5.1
SNMP process
To check the SNMP process is running correctly, enter
pgrep -fl snmpd
.
root@VA_router:~# pgrep -fl snmpd
6970 /usr/sbin/snmpd -Lsd0-6 -p /var/run/snmpd.pid -m -c
/var/conf/snmpd.conf
39.5.2
SNMP port
To check that SNMP service is listening on the configured port, enter
netstat -pantu |
grep snmp
root@VA_router:~# netstat -pantu | grep snmp
udp
0 0 0.0.0.0:161 0.0.0.0:*
6970/snmpd
39.5.3
Retrieving SNMP values
SNMP values can be queried by an snmpwalk or snmpget either locally or remotely.
39.5.3.1
snmpwalk
To do an snmpwalk locally, enter
snmpwalk
. An example snmpwalk is shown below:
root@VA_router:~# snmpwalk -c public -v 1 localhost .1.3.6.1.2.1.1
iso.3.6.1.2.1.1.1.0 = STRING: "Virtual Access GWXXXX, SN# 00E0C812D1A0,
EDG-21.00.07.008"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.2078
iso.3.6.1.2.1.1.3.0 = Timeticks: (71816) 0:11:58.16
iso.3.6.1.2.1.1.4.0 = STRING: "[email protected]"
iso.3.6.1.2.1.1.5.0 = STRING: "GWXXXX"
iso.3.6.1.2.1.1.6.0 = STRING: "UK"
iso.3.6.1.2.1.1.7.0 = INTEGER: 79
iso.3.6.1.2.1.1.8.0 = Timeticks: (60) 0:00:00.60
iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.2.1.4
iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.1