ANNEX 1
Page 76
DOC_DEV_XS_Setup guide_C
2.2
Network interface indexes
All the SNNP tables that deal with network interfaces are indexed with the network interface index. In the XS
software versions greater or equal to 2.0.0, the indexes are :
Interface name
Internal name
Index
LAN1
lan1
11
LAN2
lan2
10
LAN3
lan3
9
LAN4
lan4
8
SHDSL1
sh1
15
SHDSL2
sh2
12
SHDSL3
sh3
14
SHDSL4
sh4
13
The interface index will not change for a given software version even after configuration changes and reboots.
However, they are subject to change after changing the firmware.
2.3
Querying the MIB
To query the MIB of the device and see what OID can be useful, the tools from the Net-SNMP project can be
used. They can be installed on an Unix like operating system such as Linux or a BSD variant. They can also be
installed on Windows using Cygwin.
To use them, start a shell in a terminal window and test these commands :
# This command will return all OIDs supported by the device.
mc@ubuntu:~$ snmpwalk -v1 -c public 192.168.0.128
SNMPv2-MIB::sysDescr.0 = STRING: ETIC Telecom XSLAN+4400 SHDSL switch, firmware
version v2.1.0-b2
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (26205510) 3 days, 0:47:35.10
SNMPv2-MIB::sysContact.0 = STRING: www.etictelecom.com
SNMPv2-MIB::sysName.0 = STRING: XS+
…
# This command queries one OID.
mc@ubuntu:~$ snmpget -v1 -c public 192.168.0.201 IF-MIB::ifName.8
IF-MIB::ifName.8 = STRING: lan4
# This command translates the name of an OID to its numeric representation.
# Note that the MIB file must be installed somewhere where Net-SNMP can find it.
mc@ubuntu:~$ snmptranslate IF-MIB::ifName.8 -On
.1.3.6.1.2.1.31.1.1.1.1.8
# Table display : SNMP tables can be displayed with this command :
mc@ubuntu:~$ snmptable -v1 -c public 192.168.0.201 IF-MIB::ifTable
SNMP table: IF-MIB::ifTable
…
Summary of Contents for XLAN+ Series
Page 6: ......
Page 49: ...SETUP DOC_DEV_XS_Setup guide_C page 49 ...
Page 74: ......
Page 82: ......