A class for performing SNMP V2 queries on generic devices

copyright | Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland
author | Barry O'Donovan

### Methods

## Get an array of device interface admin status (up / down)

    adminStates(boolean $translate = false) : array

E.g. the follow SNMP output yields the shown array: .1.3.6.1.2.1.2.2.1.7.10128 = INTEGER: up(1) .1.3.6.1.2.1.2.2.1.7.10129 = INTEGER: down(2) ... [10128] => 1 [10129] => 2

see |

### Parameters

#### $translate

`boolean`

If true, return the string representation

### Returns

`array`An array of interface admin states

## Get an array of device interface aliases (e.g. as set by the interface description / port-name parameter)

    aliases() : array

E.g. the followig SNMP output yields the shown array: .1.3.6.1.2.1.2.2.1.2.18.10128 = STRING: Connection to switch2 .1.3.6.1.2.1.2.2.1.2.18.10129 = STRING: Connection to switch3 ... [10128] => "Connection to switch2" [10129] => "Connection to switch3"

### Returns

`array`An array of interface aliases

## Returns an associate array of STP port IDs (key) to interface IDs (value)

    bridgeBasePortIfIndexes() : array

e.g. [22] => 10122

### Returns

`array`Associate array of STP port IDs (key) to interface IDs (value)

## Get an array of device interface descriptions

    descriptions() : array

E.g. the following SNMP output yields the shown array: .1.3.6.1.2.1.31.1.1.1.1.10128 = STRING: GigabitEthernet1/0/28 .1.3.6.1.2.1.31.1.1.1.1.10129 = STRING: GigabitEthernet1/0/29 ... [10128] => "GigabitEthernet1/0/28" [10129] => "GigabitEthernet1/0/29"

### Returns

`array`An array of interface descriptions

## Get the SNMP instance

    getSNMP() : \OSS_SNMP\SNMP

### Returns

`\OSS_SNMP\SNMP`Instance of the SNMP object

## Get an array of device interface (operating) speeds

    highSpeeds() : array

From Cisco: > "An estimate of the interface's current bandwidth in units > of 1,000,000 bits per second. If this object reports a > value of `n' then the speed of the interface is somewhere in > the range of `n-500,000' to `n+499,999'. For interfaces > which do not vary in bandwidth or for those where no > accurate estimation can be made, this object should contain > the nominal bandwidth. For a sub-layer which has no concept > of bandwidth, this object should be zero." E.g. the following SNMP output yields the shown array: .1.3.6.1.2.1.2.2.1.5.10127 = Gauge32: 10000 .1.3.6.1.2.1.2.2.1.5.10128 = Gauge32: 1000 .1.3.6.1.2.1.2.2.1.5.10129 = Gauge32: 100 ... [10127] => 10000000000 [10128] => 1000000000 [10129] => 100000000

### Returns

`array`An array of interface operating speeds

## Get an array of device interface inbound discarded packets

    inDiscards() : \OSS_SNMP\MIBS\arrary

"The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space."

### Returns

`\OSS_SNMP\MIBS\arrary`The total number of discarded inbound packets received on interfaces

## Get an array of device interface inbound error packets

    inErrors() : array

"The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol."

### Returns

`array`The total number of error inbound packets received on interfaces

## Get an array of device interface non-unicast packets in

    inNonUnicastPackets() : array

"The number of non-unicast (i.e., subnetwork- broadcast or subnetwork-multicast) packets delivered to a higher-layer protocol."

### Returns

`array`The total number of non-unicast packets received on interfaces

## Get an array of device interface in octets

    inOctets() : array

"The total number of octets received on the interface, including framing characters."

### Returns

`array`The total number of octets received on interfaces

## Get an array of device interface unicast packets in

    inUnicastPackets() : array

"The number of subnetwork-unicast packets delivered to a higher-layer protocol."

### Returns

`array`The total number of unicast packets received on interfaces

## Get an array of packets received on an interface of unknown protocol

    inUnknownProtocols() : array

"The number of packets received via the interface which were discarded because of an unknown or unsupported protocol."

### Returns

`array`The number of packets received on an interface of unknown protocol

## Get an array of device interface indexes

    indexes() : array

E.g. the following SNMP output yields the shown array: .1.3.6.1.2.1.2.2.1.1 = INTEGER: 1 .1.3.6.1.2.1.2.2.1.2 = INTEGER: 2 ... [1] => 1 [2] => 2

### Returns

`array`An array of interface indexes

## Get an array of device interface last change times

    lastChanges(bool $asUnixTimestamp = false) : array

Value returned is timeticks (one hundreds of a second) "The value of sysUpTime at the time the interface entered its current operational state. If the current state was entered prior to the last re- initialization of the local network management subsystem, then this object contains a zero value."

see |

### Parameters

#### $asUnixTimestamp

`bool`

Poll sysUpTime and use this to return a timestamp of the last change

### Returns

`array`Timeticks (or zero) since last change of the interfaces

## Get an array of device MTUs

    mtus() : array

### Returns

`array`An array of device MTUs

## Get an array of device interface names

    names() : array

E.g. the following SNMP output yields the shown array: .1.3.6.1.2.1.31.1.1.1.1.10128 = STRING: Gi1/0/28 .1.3.6.1.2.1.31.1.1.1.1.10129 = STRING: Gi1/0/29 ... [10128] => "Gi1/0/28" [10129] => "Gi1/0/29"

### Returns

`array`An array of interface names

## Get the number of network interfaces (regardless of their current state) present on this system.

    numberOfInterfaces() : int

### Returns

`int`The number of network interfaces on the system

## Get an array of device interface operating status (up / down)

    operationStates(boolean $translate = false) : array

E.g. the follow SNMP output yields the shown array: .1.3.6.1.2.1.2.2.1.8.10128 = INTEGER: up(1) .1.3.6.1.2.1.2.2.1.8.10129 = INTEGER: down(2) ... [10128] => 1 [10129] => 2

see |

### Parameters

#### $translate

`boolean`

If true, return the string representation

### Returns

`array`An array of interface states

## Get an array of device interface outbound discarded packets

    outDiscards() : \OSS_SNMP\MIBS\arrary

"The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space."

### Returns

`\OSS_SNMP\MIBS\arrary`The total number of discarded outbound packets

## Get an array of device interface outbound error packets

    outErrors() : array

"The number of outbound packets that could not be transmitted because of errors."

### Returns

`array`The total number of error outbound packets received on interfaces

## Get an array of device interface non-unicast packets out

    outNonUnicastPackets() : array

"The total number of packets that higher-level protocols requested be transmitted to a non- unicast (i.e., a subnetwork-broadcast or subnetwork-multicast) address, including those that were discarded or not sent."

### Returns

`array`The total number of non-unicast packets requested sent interfaces

## Get an array of device interface out octets

    outOctets() : array

"The total number of octets transmitted out of the interface, including framing characters."

### Returns

`array`The total number of octets transmitted on interfaces

## Get an array of interface outbound queue lengths

    outQueueLength() : array

"The length of the output packet queue (in packets)"

### Returns

`array`The total number of packets in the outbound queues

## Get an array of device interface unicast packets out

    outUnicastPackets() : array

"The total number of packets that higher-level protocols requested be transmitted to a subnetwork-unicast address, including those that were discarded or not sent."

### Returns

`array`The total number of unicast packets transmitted on interfaces

## Get an array of the interfaces' physical addresses

    physAddresses() : array

"The interface's address at the protocol layer immediately `below' the network layer in the protocol stack. For interfaces which do not have such an address (e.g., a serial line), this object should contain an octet string of zero length."

### Returns

`array`An array of device physical addresses

## Set the SNMP instance

    setSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB

### Parameters

#### $snmp

`\OSS_SNMP\SNMP`

the SNMP instance

### Returns

`\OSS_SNMP\MIB`An instance of this class for fluent interfaces

## Get an array of device interface (operating) speeds

    speeds() : array

E.g. the following SNMP output yields the shown array: .1.3.6.1.2.1.2.2.1.5.10128 = Gauge32: 1000000000 .1.3.6.1.2.1.2.2.1.5.10129 = Gauge32: 100000000 ... [10128] => 1000000000 [10129] => 100000000 NB: operating speed as opposed to maximum speed **WARNING:** This is a 32 bit int so it cannot represent 10Gb links. These would show up as: [10127] => 4294967295 Instead, use highSpeeds() which will represent the speed as Mbps

see |

### Returns

`array`An array of interface operating speeds

## Get an array of device interface types

    types(boolean $translate = false) : array

see |

### Parameters

#### $translate

`boolean`

If true, return the string representation

### Returns

`array`An array of interface types

### Properties

## Text representation of interface admin status.

    $IF_ADMIN_STATES : array

### Default

`array(self::IF_ADMIN_STATUS_UP => 'up', self::IF_ADMIN_STATUS_DOWN => 'down', self::IF_ADMIN_STATUS_TESTING => 'testing')`
Static

see |

## Text representation of interface operating status.

    $IF_OPER_STATES : array

### Default

`array(self::IF_OPER_STATUS_UP => 'up', self::IF_OPER_STATUS_DOWN => 'down', self::IF_OPER_STATUS_TESTING => 'testing', self::IF_OPER_STATUS_UNKNOWN => 'unknown', self::IF_OPER_STATUS_DORMANT => 'dormant', self::IF_OPER_STATUS_NOT_PRESENT => 'notPresent', self::IF_OPER_STATUS_LOWER_LAYER_DOWN => 'lowerLayerDown')`
Static

see |

## Text representation of interface types.

    $IF_TYPES : array

### Default

`array(self::IF_TYPE_OTHER => 'other', self::IF_TYPE_REGULAR1822 => 'regular1822', self::IF_TYPE_HDH1822 => 'hdh1822', self::IF_TYPE_DDNX25 => 'ddnX25', self::IF_TYPE_RFC877X25 => 'rfc877x25', self::IF_TYPE_ETHERNETCSMACD => 'ethernetCsmacd', self::IF_TYPE_ISO88023CSMACD => 'iso88023Csmacd', self::IF_TYPE_ISO88024TOKENBUS => 'iso88024TokenBus', self::IF_TYPE_ISO88025TOKENRING => 'iso88025TokenRing', self::IF_TYPE_ISO88026MAN => 'iso88026Man', self::IF_TYPE_STARLAN => 'starLan', self::IF_TYPE_PROTEON10MBIT => 'proteon10Mbit', self::IF_TYPE_PROTEON80MBIT => 'proteon80Mbit', self::IF_TYPE_HYPERCHANNEL => 'hyperchannel', self::IF_TYPE_FDDI => 'fddi', self::IF_TYPE_LAPB => 'lapb', self::IF_TYPE_SDLC => 'sdlc', self::IF_TYPE_DS1 => 'ds1', self::IF_TYPE_E1 => 'e1', self::IF_TYPE_BASICISDN => 'basicISDN', self::IF_TYPE_PRIMARYISDN => 'primaryISDN', self::IF_TYPE_PROPPOINTTOPOINTSERIAL => 'propPointToPointSerial', self::IF_TYPE_PPP => 'ppp', self::IF_TYPE_SOFTWARELOOPBACK => 'softwareLoopback', self::IF_TYPE_EON => 'eon', self::IF_TYPE_ETHERNET3MBIT => 'ethernet3Mbit', self::IF_TYPE_NSIP => 'nsip', self::IF_TYPE_SLIP => 'slip', self::IF_TYPE_ULTRA => 'ultra', self::IF_TYPE_DS3 => 'ds3', self::IF_TYPE_SIP => 'sip', self::IF_TYPE_FRAMERELAY => 'frameRelay', self::IF_TYPE_RS232 => 'rs232', self::IF_TYPE_PARA => 'para', self::IF_TYPE_ARCNET => 'arcnet', self::IF_TYPE_ARCNETPLUS => 'arcnetPlus', self::IF_TYPE_ATM => 'atm', self::IF_TYPE_MIOX25 => 'miox25', self::IF_TYPE_SONET => 'sonet', self::IF_TYPE_X25PLE => 'x25ple', self::IF_TYPE_ISO88022LLC => 'iso88022llc', self::IF_TYPE_LOCALTALK => 'localTalk', self::IF_TYPE_SMDSDXI => 'smdsDxi', self::IF_TYPE_FRAMERELAYSERVICE => 'frameRelayService', self::IF_TYPE_V35 => 'v35', self::IF_TYPE_HSSI => 'hssi', self::IF_TYPE_HIPPI => 'hippi', self::IF_TYPE_MODEM => 'modem', self::IF_TYPE_AAL5 => 'aal5', self::IF_TYPE_SONETPATH => 'sonetPath', self::IF_TYPE_SONETVT => 'sonetVT', self::IF_TYPE_SMDSICIP => 'smdsIcip', self::IF_TYPE_PROPVIRTUAL => 'propVirtual', self::IF_TYPE_PROPMULTIPLEXOR => 'propMultiplexor', self::IF_TYPE_IEEE80212 => 'ieee80212', self::IF_TYPE_FIBRECHANNEL => 'fibreChannel', self::IF_TYPE_HIPPIINTERFACE => 'hippiInterface', self::IF_TYPE_FRAMERELAYINTERCONNECT => 'frameRelayInterconnect', self::IF_TYPE_AFLANE8023 => 'aflane8023', self::IF_TYPE_AFLANE8025 => 'aflane8025', self::IF_TYPE_CCTEMUL => 'cctEmul', self::IF_TYPE_FASTETHER => 'fastEther', self::IF_TYPE_ISDN => 'isdn', self::IF_TYPE_V11 => 'v11', self::IF_TYPE_V36 => 'v36', self::IF_TYPE_G703AT64K => 'g703at64k', self::IF_TYPE_G703AT2MB => 'g703at2mb', self::IF_TYPE_QLLC => 'qllc', self::IF_TYPE_FASTETHERFX => 'fastEtherFX', self::IF_TYPE_CHANNEL => 'channel', self::IF_TYPE_IEEE80211 => 'ieee80211', self::IF_TYPE_IBM370PARCHAN => 'ibm370parChan', self::IF_TYPE_ESCON => 'escon', self::IF_TYPE_DLSW => 'dlsw', self::IF_TYPE_ISDNS => 'isdns', self::IF_TYPE_ISDNU => 'isdnu', self::IF_TYPE_LAPD => 'lapd', self::IF_TYPE_IPSWITCH => 'ipSwitch', self::IF_TYPE_RSRB => 'rsrb', self::IF_TYPE_ATMLOGICAL => 'atmLogical', self::IF_TYPE_DS0 => 'ds0', self::IF_TYPE_DS0BUNDLE => 'ds0Bundle', self::IF_TYPE_BSC => 'bsc', self::IF_TYPE_ASYNC => 'async', self::IF_TYPE_CNR => 'cnr', self::IF_TYPE_ISO88025DTR => 'iso88025Dtr', self::IF_TYPE_EPLRS => 'eplrs', self::IF_TYPE_ARAP => 'arap', self::IF_TYPE_PROPCNLS => 'propCnls', self::IF_TYPE_HOSTPAD => 'hostPad', self::IF_TYPE_TERMPAD => 'termPad', self::IF_TYPE_FRAMERELAYMPI => 'frameRelayMPI', self::IF_TYPE_X213 => 'x213', self::IF_TYPE_ADSL => 'adsl', self::IF_TYPE_RADSL => 'radsl', self::IF_TYPE_SDSL => 'sdsl', self::IF_TYPE_VDSL => 'vdsl', self::IF_TYPE_ISO88025CRFPINT => 'iso88025CRFPInt', self::IF_TYPE_MYRINET => 'myrinet', self::IF_TYPE_VOICEEM => 'voiceEM', self::IF_TYPE_VOICEFXO => 'voiceFXO', self::IF_TYPE_VOICEFXS => 'voiceFXS', self::IF_TYPE_VOICEENCAP => 'voiceEncap', self::IF_TYPE_VOICEOVERIP => 'voiceOverIp', self::IF_TYPE_ATMDXI => 'atmDxi', self::IF_TYPE_ATMFUNI => 'atmFuni', self::IF_TYPE_ATMIMA => 'atmIma', self::IF_TYPE_PPPMULTILINKBUNDLE => 'pppMultilinkBundle', self::IF_TYPE_IPOVERCDLC => 'ipOverCdlc', self::IF_TYPE_IPOVERCLAW => 'ipOverClaw', self::IF_TYPE_STACKTOSTACK => 'stackToStack', self::IF_TYPE_VIRTUALIPADDRESS => 'virtualIpAddress', self::IF_TYPE_MPC => 'mpc', self::IF_TYPE_IPOVERATM => 'ipOverAtm', self::IF_TYPE_ISO88025FIBER => 'iso88025Fiber', self::IF_TYPE_TDLC => 'tdlc', self::IF_TYPE_GIGABITETHERNET => 'gigabitEthernet', self::IF_TYPE_HDLC => 'hdlc', self::IF_TYPE_LAPF => 'lapf', self::IF_TYPE_V37 => 'v37', self::IF_TYPE_X25MLP => 'x25mlp', self::IF_TYPE_X25HUNTGROUP => 'x25huntGroup', self::IF_TYPE_TRASNPHDLC => 'trasnpHdlc', self::IF_TYPE_INTERLEAVE => 'interleave', self::IF_TYPE_FAST => 'fast', self::IF_TYPE_IP => 'ip', self::IF_TYPE_DOCSCABLEMACLAYER => 'docsCableMaclayer', self::IF_TYPE_DOCSCABLEDOWNSTREAM => 'docsCableDownstream', self::IF_TYPE_DOCSCABLEUPSTREAM => 'docsCableUpstream', self::IF_TYPE_A12MPPSWITCH => 'a12MppSwitch', self::IF_TYPE_TUNNEL => 'tunnel', self::IF_TYPE_COFFEE => 'coffee', self::IF_TYPE_CES => 'ces', self::IF_TYPE_ATMSUBINTERFACE => 'atmSubInterface', self::IF_TYPE_L2VLAN => 'l2vlan', self::IF_TYPE_L3IPVLAN => 'l3ipvlan', self::IF_TYPE_L3IPXVLAN => 'l3ipxvlan', self::IF_TYPE_DIGITALPOWERLINE => 'digitalPowerline', self::IF_TYPE_MEDIAMAILOVERIP => 'mediaMailOverIp', self::IF_TYPE_DTM => 'dtm', self::IF_TYPE_DCN => 'dcn', self::IF_TYPE_IPFORWARD => 'ipForward', self::IF_TYPE_MSDSL => 'msdsl', self::IF_TYPE_IEEE1394 => 'ieee1394', self::IF_TYPE_IF_GSN => 'if-gsn', self::IF_TYPE_DVBRCCMACLAYER => 'dvbRccMacLayer', self::IF_TYPE_DVBRCCDOWNSTREAM => 'dvbRccDownstream', self::IF_TYPE_DVBRCCUPSTREAM => 'dvbRccUpstream', self::IF_TYPE_ATMVIRTUAL => 'atmVirtual', self::IF_TYPE_MPLSTUNNEL => 'mplsTunnel', self::IF_TYPE_SRP => 'srp', self::IF_TYPE_VOICEOVERATM => 'voiceOverAtm', self::IF_TYPE_VOICEOVERFRAMERELAY => 'voiceOverFrameRelay', self::IF_TYPE_IDSL => 'idsl', self::IF_TYPE_COMPOSITELINK => 'compositeLink', self::IF_TYPE_SS7SIGLINK => 'ss7SigLink', self::IF_TYPE_PROPWIRELESSP2P => 'propWirelessP2P', self::IF_TYPE_FRFORWARD => 'frForward', self::IF_TYPE_RFC1483 => 'rfc1483', self::IF_TYPE_USB => 'usb', self::IF_TYPE_IEEE8023ADLAG => 'ieee8023adLag', self::IF_TYPE_BGPPOLICYACCOUNTING => 'bgppolicyaccounting', self::IF_TYPE_FRF16MFRBUNDLE => 'frf16MfrBundle', self::IF_TYPE_H323GATEKEEPER => 'h323Gatekeeper', self::IF_TYPE_H323PROXY => 'h323Proxy', self::IF_TYPE_MPLS => 'mpls', self::IF_TYPE_MFSIGLINK => 'mfSigLink', self::IF_TYPE_HDSL2 => 'hdsl2', self::IF_TYPE_SHDSL => 'shdsl', self::IF_TYPE_DS1FDL => 'ds1FDL', self::IF_TYPE_POS => 'pos', self::IF_TYPE_DVBASIIN => 'dvbAsiIn', self::IF_TYPE_DVBASIOUT => 'dvbAsiOut', self::IF_TYPE_PLC => 'plc', self::IF_TYPE_NFAS => 'nfas', self::IF_TYPE_TR008 => 'tr008', self::IF_TYPE_GR303RDT => 'gr303RDT', self::IF_TYPE_GR303IDT => 'gr303IDT', self::IF_TYPE_ISUP => 'isup', self::IF_TYPE_PROPDOCSWIRELESSMACLAYER => 'propDocsWirelessMaclayer', self::IF_TYPE_PROPDOCSWIRELESSDOWNSTREAM => 'propDocsWirelessDownstream', self::IF_TYPE_PROPDOCSWIRELESSUPSTREAM => 'propDocsWirelessUpstream', self::IF_TYPE_HIPERLAN2 => 'hiperlan2', self::IF_TYPE_PROPBWAP2MP => 'propBWAp2Mp', self::IF_TYPE_SONETOVERHEADCHANNEL => 'sonetOverheadChannel', self::IF_TYPE_DIGITALWRAPPEROVERHEADCHANNEL => 'digitalWrapperOverheadChannel', self::IF_TYPE_AAL2 => 'aal2', self::IF_TYPE_RADIOMAC => 'radioMAC', self::IF_TYPE_ATMRADIO => 'atmRadio', self::IF_TYPE_IMT => 'imt', self::IF_TYPE_MVL => 'mvl', self::IF_TYPE_REACHDSL => 'reachDSL', self::IF_TYPE_FRDLCIENDPT => 'frDlciEndPt', self::IF_TYPE_ATMVCIENDPT => 'atmVciEndPt', self::IF_TYPE_OPTICALCHANNEL => 'opticalChannel', self::IF_TYPE_OPTICALTRANSPORT => 'opticalTransport', self::IF_TYPE_PROPATM => 'propAtm', self::IF_TYPE_VOICEOVERCABLE => 'voiceOverCable', self::IF_TYPE_INFINIBAND => 'infiniband', self::IF_TYPE_TELINK => 'teLink', self::IF_TYPE_Q2931 => 'q2931', self::IF_TYPE_VIRTUALTG => 'virtualTg', self::IF_TYPE_SIPTG => 'sipTg', self::IF_TYPE_SIPSIG => 'sipSig', self::IF_TYPE_DOCSCABLEUPSTREAMCHANNEL => 'docsCableUpstreamChannel', self::IF_TYPE_ECONET => 'econet', self::IF_TYPE_PON155 => 'pon155', self::IF_TYPE_PON622 => 'pon622', self::IF_TYPE_BRIDGE => 'bridge', self::IF_TYPE_LINEGROUP => 'linegroup', self::IF_TYPE_VOICEEMFGD => 'voiceEMFGD', self::IF_TYPE_VOICEFGDEANA => 'voiceFGDEANA', self::IF_TYPE_VOICEDID => 'voiceDID', self::IF_TYPE_MPEGTRANSPORT => 'mpegTransport', self::IF_TYPE_SIXTOFOUR => 'sixToFour', self::IF_TYPE_GTP => 'gtp', self::IF_TYPE_PDNETHERLOOP1 => 'pdnEtherLoop1', self::IF_TYPE_PDNETHERLOOP2 => 'pdnEtherLoop2', self::IF_TYPE_OPTICALCHANNELGROUP => 'opticalChannelGroup', self::IF_TYPE_HOMEPNA => 'homepna', self::IF_TYPE_GFP => 'gfp', self::IF_TYPE_CISCOISLVLAN => 'ciscoISLvlan', self::IF_TYPE_ACTELISMETALOOP => 'actelisMetaLOOP', self::IF_TYPE_FCIPLINK => 'fcipLink', self::IF_TYPE_RPR => 'rpr', self::IF_TYPE_QAM => 'qam', self::IF_TYPE_LMP => 'lmp', self::IF_TYPE_CBLVECTASTAR => 'cblVectaStar', self::IF_TYPE_DOCSCABLEMCMTSDOWNSTREAM => 'docsCableMCmtsDownstream', self::IF_TYPE_ADSL2 => 'adsl2', self::IF_TYPE_MACSECCONTROLLEDIF => 'macSecControlledIF', self::IF_TYPE_MACSECUNCONTROLLEDIF => 'macSecUncontrolledIF', self::IF_TYPE_AVICIOPTICALETHER => 'aviciOpticalEther', self::IF_TYPE_ATMBOND => 'atmbond')`
Static

see |

## Instance for the SNMP object

    $_snmp

### Default

`null`

### Constants

## Constant for possible value of interface admin status.

    IF_ADMIN_STATUS_DOWN = 2

see |

## Constant for possible value of interface admin status.

    IF_ADMIN_STATUS_TESTING = 3

see |

## Constant for possible value of interface admin status.

    IF_ADMIN_STATUS_UP = 1

see |

## Constant for possible value of interface operation status.

    IF_OPER_STATUS_DORMANT = 5

see |

## Constant for possible value of interface operation status.

    IF_OPER_STATUS_DOWN = 2

see |

## Constant for possible value of interface operation status.

    IF_OPER_STATUS_LOWER_LAYER_DOWN = 7

see |

## Constant for possible value of interface operation status.

    IF_OPER_STATUS_NOT_PRESENT = 6

see |

## Constant for possible value of interface operation status.

    IF_OPER_STATUS_TESTING = 3

see |

## Constant for possible value of interface operation status.

    IF_OPER_STATUS_UNKNOWN = 4

see |

## Constant for possible value of interface operation status.

    IF_OPER_STATUS_UP = 1

see |

## Constant for possible type of an interface

    IF_TYPE_A12MPPSWITCH = 130

see |

## Constant for possible type of an interface

    IF_TYPE_AAL2 = 187

see |

## Constant for possible type of an interface

    IF_TYPE_AAL5 = 49

see |

## Constant for possible type of an interface

    IF_TYPE_ACTELISMETALOOP = 223

see |

## Constant for possible type of an interface

    IF_TYPE_ADSL = 94

see |

## Constant for possible type of an interface

    IF_TYPE_ADSL2 = 230

see |

## Constant for possible type of an interface

    IF_TYPE_AFLANE8023 = 59

see |

## Constant for possible type of an interface

    IF_TYPE_AFLANE8025 = 60

see |

## Constant for possible type of an interface

    IF_TYPE_ARAP = 88

see |

## Constant for possible type of an interface

    IF_TYPE_ARCNET = 35

see |

## Constant for possible type of an interface

    IF_TYPE_ARCNETPLUS = 36

see |

## Constant for possible type of an interface

    IF_TYPE_ASYNC = 84

see |

## Constant for possible type of an interface

    IF_TYPE_ATM = 37

see |

## Constant for possible type of an interface

    IF_TYPE_ATMBOND = 234

see |

## Constant for possible type of an interface

    IF_TYPE_ATMDXI = 105

see |

## Constant for possible type of an interface

    IF_TYPE_ATMFUNI = 106

see |

## Constant for possible type of an interface

    IF_TYPE_ATMIMA = 107

see |

## Constant for possible type of an interface

    IF_TYPE_ATMLOGICAL = 80

see |

## Constant for possible type of an interface

    IF_TYPE_ATMRADIO = 189

see |

## Constant for possible type of an interface

    IF_TYPE_ATMSUBINTERFACE = 134

see |

## Constant for possible type of an interface

    IF_TYPE_ATMVCIENDPT = 194

see |

## Constant for possible type of an interface

    IF_TYPE_ATMVIRTUAL = 149

see |

## Constant for possible type of an interface

    IF_TYPE_AVICIOPTICALETHER = 233

see |

## Constant for possible type of an interface

    IF_TYPE_BASICISDN = 20

see |

## Constant for possible type of an interface

    IF_TYPE_BGPPOLICYACCOUNTING = 162

see |

## Constant for possible type of an interface

    IF_TYPE_BRIDGE = 209

see |

## Constant for possible type of an interface

    IF_TYPE_BSC = 83

see |

## Constant for possible type of an interface

    IF_TYPE_CBLVECTASTAR = 228

see |

## Constant for possible type of an interface

    IF_TYPE_CCTEMUL = 61

see |

## Constant for possible type of an interface

    IF_TYPE_CES = 133

see |

## Constant for possible type of an interface

    IF_TYPE_CHANNEL = 70

see |

## Constant for possible type of an interface

    IF_TYPE_CISCOISLVLAN = 222

see |

## Constant for possible type of an interface

    IF_TYPE_CNR = 85

see |

## Constant for possible type of an interface

    IF_TYPE_COFFEE = 132

see |

## Constant for possible type of an interface

    IF_TYPE_COMPOSITELINK = 155

see |

## Constant for possible type of an interface

    IF_TYPE_DCN = 141

see |

## Constant for possible type of an interface

    IF_TYPE_DDNX25 = 4

see |

## Constant for possible type of an interface

    IF_TYPE_DIGITALPOWERLINE = 138

see |

## Constant for possible type of an interface

    IF_TYPE_DIGITALWRAPPEROVERHEADCHANNEL = 186

see |

## Constant for possible type of an interface

    IF_TYPE_DLSW = 74

see |

## Constant for possible type of an interface

    IF_TYPE_DOCSCABLEDOWNSTREAM = 128

see |

## Constant for possible type of an interface

    IF_TYPE_DOCSCABLEMACLAYER = 127

see |

## Constant for possible type of an interface

    IF_TYPE_DOCSCABLEMCMTSDOWNSTREAM = 229

see |

## Constant for possible type of an interface

    IF_TYPE_DOCSCABLEUPSTREAM = 129

see |

## Constant for possible type of an interface

    IF_TYPE_DOCSCABLEUPSTREAMCHANNEL = 205

see |

## Constant for possible type of an interface

    IF_TYPE_DS0 = 81

see |

## Constant for possible type of an interface

    IF_TYPE_DS0BUNDLE = 82

see |

## Constant for possible type of an interface

    IF_TYPE_DS1 = 18

see |

## Constant for possible type of an interface

    IF_TYPE_DS1FDL = 170

see |

## Constant for possible type of an interface

    IF_TYPE_DS3 = 30

see |

## Constant for possible type of an interface

    IF_TYPE_DTM = 140

see |

## Constant for possible type of an interface

    IF_TYPE_DVBASIIN = 172

see |

## Constant for possible type of an interface

    IF_TYPE_DVBASIOUT = 173

see |

## Constant for possible type of an interface

    IF_TYPE_DVBRCCDOWNSTREAM = 147

see |

## Constant for possible type of an interface

    IF_TYPE_DVBRCCMACLAYER = 146

see |

## Constant for possible type of an interface

    IF_TYPE_DVBRCCUPSTREAM = 148

see |

## Constant for possible type of an interface

    IF_TYPE_E1 = 19

see |

## Constant for possible type of an interface

    IF_TYPE_ECONET = 206

see |

## Constant for possible type of an interface

    IF_TYPE_EON = 25

see |

## Constant for possible type of an interface

    IF_TYPE_EPLRS = 87

see |

## Constant for possible type of an interface

    IF_TYPE_ESCON = 73

see |

## Constant for possible type of an interface

    IF_TYPE_ETHERNET3MBIT = 26

see |

## Constant for possible type of an interface

    IF_TYPE_ETHERNETCSMACD = 6

see |

## Constant for possible type of an interface

    IF_TYPE_FAST = 125

see |

## Constant for possible type of an interface

    IF_TYPE_FASTETHER = 62

see |

## Constant for possible type of an interface

    IF_TYPE_FASTETHERFX = 69

see |

## Constant for possible type of an interface

    IF_TYPE_FCIPLINK = 224

see |

## Constant for possible type of an interface

    IF_TYPE_FDDI = 15

see |

## Constant for possible type of an interface

    IF_TYPE_FIBRECHANNEL = 56

see |

## Constant for possible type of an interface

    IF_TYPE_FRAMERELAY = 32

see |

## Constant for possible type of an interface

    IF_TYPE_FRAMERELAYINTERCONNECT = 58

see |

## Constant for possible type of an interface

    IF_TYPE_FRAMERELAYMPI = 92

see |

## Constant for possible type of an interface

    IF_TYPE_FRAMERELAYSERVICE = 44

see |

## Constant for possible type of an interface

    IF_TYPE_FRDLCIENDPT = 193

see |

## Constant for possible type of an interface

    IF_TYPE_FRF16MFRBUNDLE = 163

see |

## Constant for possible type of an interface

    IF_TYPE_FRFORWARD = 158

see |

## Constant for possible type of an interface

    IF_TYPE_G703AT2MB = 67

see |

## Constant for possible type of an interface

    IF_TYPE_G703AT64K = 66

see |

## Constant for possible type of an interface

    IF_TYPE_GFP = 221

see |

## Constant for possible type of an interface

    IF_TYPE_GIGABITETHERNET = 117

see |

## Constant for possible type of an interface

    IF_TYPE_GR303IDT = 178

see |

## Constant for possible type of an interface

    IF_TYPE_GR303RDT = 177

see |

## Constant for possible type of an interface

    IF_TYPE_GTP = 216

see |

## Constant for possible type of an interface

    IF_TYPE_H323GATEKEEPER = 164

see |

## Constant for possible type of an interface

    IF_TYPE_H323PROXY = 165

see |

## Constant for possible type of an interface

    IF_TYPE_HDH1822 = 3

see |

## Constant for possible type of an interface

    IF_TYPE_HDLC = 118

see |

## Constant for possible type of an interface

    IF_TYPE_HDSL2 = 168

see |

## Constant for possible type of an interface

    IF_TYPE_HIPERLAN2 = 183

see |

## Constant for possible type of an interface

    IF_TYPE_HIPPI = 47

see |

## Constant for possible type of an interface

    IF_TYPE_HIPPIINTERFACE = 57

see |

## Constant for possible type of an interface

    IF_TYPE_HOMEPNA = 220

see |

## Constant for possible type of an interface

    IF_TYPE_HOSTPAD = 90

see |

## Constant for possible type of an interface

    IF_TYPE_HSSI = 46

see |

## Constant for possible type of an interface

    IF_TYPE_HYPERCHANNEL = 14

see |

## Constant for possible type of an interface

    IF_TYPE_IBM370PARCHAN = 72

see |

## Constant for possible type of an interface

    IF_TYPE_IDSL = 154

see |

## Constant for possible type of an interface

    IF_TYPE_IEEE1394 = 144

see |

## Constant for possible type of an interface

    IF_TYPE_IEEE80211 = 71

see |

## Constant for possible type of an interface

    IF_TYPE_IEEE80212 = 55

see |

## Constant for possible type of an interface

    IF_TYPE_IEEE8023ADLAG = 161

see |

## Constant for possible type of an interface

    IF_TYPE_IF_GSN = 145

see |

## Constant for possible type of an interface

    IF_TYPE_IMT = 190

see |

## Constant for possible type of an interface

    IF_TYPE_INFINIBAND = 199

see |

## Constant for possible type of an interface

    IF_TYPE_INTERLEAVE = 124

see |

## Constant for possible type of an interface

    IF_TYPE_IP = 126

see |

## Constant for possible type of an interface

    IF_TYPE_IPFORWARD = 142

see |

## Constant for possible type of an interface

    IF_TYPE_IPOVERATM = 114

see |

## Constant for possible type of an interface

    IF_TYPE_IPOVERCDLC = 109

see |

## Constant for possible type of an interface

    IF_TYPE_IPOVERCLAW = 110

see |

## Constant for possible type of an interface

    IF_TYPE_IPSWITCH = 78

see |

## Constant for possible type of an interface

    IF_TYPE_ISDN = 63

see |

## Constant for possible type of an interface

    IF_TYPE_ISDNS = 75

see |

## Constant for possible type of an interface

    IF_TYPE_ISDNU = 76

see |

## Constant for possible type of an interface

    IF_TYPE_ISO88022LLC = 41

see |

## Constant for possible type of an interface

    IF_TYPE_ISO88023CSMACD = 7

see |

## Constant for possible type of an interface

    IF_TYPE_ISO88024TOKENBUS = 8

see |

## Constant for possible type of an interface

    IF_TYPE_ISO88025CRFPINT = 98

see |

## Constant for possible type of an interface

    IF_TYPE_ISO88025DTR = 86

see |

## Constant for possible type of an interface

    IF_TYPE_ISO88025FIBER = 115

see |

## Constant for possible type of an interface

    IF_TYPE_ISO88025TOKENRING = 9

see |

## Constant for possible type of an interface

    IF_TYPE_ISO88026MAN = 10

see |

## Constant for possible type of an interface

    IF_TYPE_ISUP = 179

see |

## Constant for possible type of an interface

    IF_TYPE_L2VLAN = 135

see |

## Constant for possible type of an interface

    IF_TYPE_L3IPVLAN = 136

see |

## Constant for possible type of an interface

    IF_TYPE_L3IPXVLAN = 137

see |

## Constant for possible type of an interface

    IF_TYPE_LAPB = 16

see |

## Constant for possible type of an interface

    IF_TYPE_LAPD = 77

see |

## Constant for possible type of an interface

    IF_TYPE_LAPF = 119

see |

## Constant for possible type of an interface

    IF_TYPE_LINEGROUP = 210

see |

## Constant for possible type of an interface

    IF_TYPE_LMP = 227

see |

## Constant for possible type of an interface

    IF_TYPE_LOCALTALK = 42

see |

## Constant for possible type of an interface

    IF_TYPE_MACSECCONTROLLEDIF = 231

see |

## Constant for possible type of an interface

    IF_TYPE_MACSECUNCONTROLLEDIF = 232

see |

## Constant for possible type of an interface

    IF_TYPE_MEDIAMAILOVERIP = 139

see |

## Constant for possible type of an interface

    IF_TYPE_MFSIGLINK = 167

see |

## Constant for possible type of an interface

    IF_TYPE_MIOX25 = 38

see |

## Constant for possible type of an interface

    IF_TYPE_MODEM = 48

see |

## Constant for possible type of an interface

    IF_TYPE_MPC = 113

see |

## Constant for possible type of an interface

    IF_TYPE_MPEGTRANSPORT = 214

see |

## Constant for possible type of an interface

    IF_TYPE_MPLS = 166

see |

## Constant for possible type of an interface

    IF_TYPE_MPLSTUNNEL = 150

see |

## Constant for possible type of an interface

    IF_TYPE_MSDSL = 143

see |

## Constant for possible type of an interface

    IF_TYPE_MVL = 191

see |

## Constant for possible type of an interface

    IF_TYPE_MYRINET = 99

see |

## Constant for possible type of an interface

    IF_TYPE_NFAS = 175

see |

## Constant for possible type of an interface

    IF_TYPE_NSIP = 27

see |

## Constant for possible type of an interface

    IF_TYPE_OPTICALCHANNEL = 195

see |

## Constant for possible type of an interface

    IF_TYPE_OPTICALCHANNELGROUP = 219

see |

## Constant for possible type of an interface

    IF_TYPE_OPTICALTRANSPORT = 196

see |

## Constant for possible type of an interface

    IF_TYPE_OTHER = 1

see |

## Constant for possible type of an interface

    IF_TYPE_PARA = 34

see |

## Constant for possible type of an interface

    IF_TYPE_PDNETHERLOOP1 = 217

see |

## Constant for possible type of an interface

    IF_TYPE_PDNETHERLOOP2 = 218

see |

## Constant for possible type of an interface

    IF_TYPE_PLC = 174

see |

## Constant for possible type of an interface

    IF_TYPE_PON155 = 207

see |

## Constant for possible type of an interface

    IF_TYPE_PON622 = 208

see |

## Constant for possible type of an interface

    IF_TYPE_POS = 171

see |

## Constant for possible type of an interface

    IF_TYPE_PPP = 23

see |

## Constant for possible type of an interface

    IF_TYPE_PPPMULTILINKBUNDLE = 108

see |

## Constant for possible type of an interface

    IF_TYPE_PRIMARYISDN = 21

see |

## Constant for possible type of an interface

    IF_TYPE_PROPATM = 197

see |

## Constant for possible type of an interface

    IF_TYPE_PROPBWAP2MP = 184

see |

## Constant for possible type of an interface

    IF_TYPE_PROPCNLS = 89

see |

## Constant for possible type of an interface

    IF_TYPE_PROPDOCSWIRELESSDOWNSTREAM = 181

see |

## Constant for possible type of an interface

    IF_TYPE_PROPDOCSWIRELESSMACLAYER = 180

see |

## Constant for possible type of an interface

    IF_TYPE_PROPDOCSWIRELESSUPSTREAM = 182

see |

## Constant for possible type of an interface

    IF_TYPE_PROPMULTIPLEXOR = 54

see |

## Constant for possible type of an interface

    IF_TYPE_PROPPOINTTOPOINTSERIAL = 22

see |

## Constant for possible type of an interface

    IF_TYPE_PROPVIRTUAL = 53

see |

## Constant for possible type of an interface

    IF_TYPE_PROPWIRELESSP2P = 157

see |

## Constant for possible type of an interface

    IF_TYPE_PROTEON10MBIT = 12

see |

## Constant for possible type of an interface

    IF_TYPE_PROTEON80MBIT = 13

see |

## Constant for possible type of an interface

    IF_TYPE_Q2931 = 201

see |

## Constant for possible type of an interface

    IF_TYPE_QAM = 226

see |

## Constant for possible type of an interface

    IF_TYPE_QLLC = 68

see |

## Constant for possible type of an interface

    IF_TYPE_RADIOMAC = 188

see |

## Constant for possible type of an interface

    IF_TYPE_RADSL = 95

see |

## Constant for possible type of an interface

    IF_TYPE_REACHDSL = 192

see |

## Constant for possible type of an interface

    IF_TYPE_REGULAR1822 = 2

see |

## Constant for possible type of an interface

    IF_TYPE_RFC1483 = 159

see |

## Constant for possible type of an interface

    IF_TYPE_RFC877X25 = 5

see |

## Constant for possible type of an interface

    IF_TYPE_RPR = 225

see |

## Constant for possible type of an interface

    IF_TYPE_RS232 = 33

see |

## Constant for possible type of an interface

    IF_TYPE_RSRB = 79

see |

## Constant for possible type of an interface

    IF_TYPE_SDLC = 17

see |

## Constant for possible type of an interface

    IF_TYPE_SDSL = 96

see |

## Constant for possible type of an interface

    IF_TYPE_SHDSL = 169

see |

## Constant for possible type of an interface

    IF_TYPE_SIP = 31

see |

## Constant for possible type of an interface

    IF_TYPE_SIPSIG = 204

see |

## Constant for possible type of an interface

    IF_TYPE_SIPTG = 203

see |

## Constant for possible type of an interface

    IF_TYPE_SIXTOFOUR = 215

see |

## Constant for possible type of an interface

    IF_TYPE_SLIP = 28

see |

## Constant for possible type of an interface

    IF_TYPE_SMDSDXI = 43

see |

## Constant for possible type of an interface

    IF_TYPE_SMDSICIP = 52

see |

## Constant for possible type of an interface

    IF_TYPE_SOFTWARELOOPBACK = 24

see |

## Constant for possible type of an interface

    IF_TYPE_SONET = 39

see |

## Constant for possible type of an interface

    IF_TYPE_SONETOVERHEADCHANNEL = 185

see |

## Constant for possible type of an interface

    IF_TYPE_SONETPATH = 50

see |

## Constant for possible type of an interface

    IF_TYPE_SONETVT = 51

see |

## Constant for possible type of an interface

    IF_TYPE_SRP = 151

see |

## Constant for possible type of an interface

    IF_TYPE_SS7SIGLINK = 156

see |

## Constant for possible type of an interface

    IF_TYPE_STACKTOSTACK = 111

see |

## Constant for possible type of an interface

    IF_TYPE_STARLAN = 11

see |

## Constant for possible type of an interface

    IF_TYPE_TDLC = 116

see |

## Constant for possible type of an interface

    IF_TYPE_TELINK = 200

see |

## Constant for possible type of an interface

    IF_TYPE_TERMPAD = 91

see |

## Constant for possible type of an interface

    IF_TYPE_TR008 = 176

see |

## Constant for possible type of an interface

    IF_TYPE_TRASNPHDLC = 123

see |

## Constant for possible type of an interface

    IF_TYPE_TUNNEL = 131

see |

## Constant for possible type of an interface

    IF_TYPE_ULTRA = 29

see |

## Constant for possible type of an interface

    IF_TYPE_USB = 160

see |

## Constant for possible type of an interface

    IF_TYPE_V11 = 64

see |

## Constant for possible type of an interface

    IF_TYPE_V35 = 45

see |

## Constant for possible type of an interface

    IF_TYPE_V36 = 65

see |

## Constant for possible type of an interface

    IF_TYPE_V37 = 120

see |

## Constant for possible type of an interface

    IF_TYPE_VDSL = 97

see |

## Constant for possible type of an interface

    IF_TYPE_VIRTUALIPADDRESS = 112

see |

## Constant for possible type of an interface

    IF_TYPE_VIRTUALTG = 202

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEDID = 213

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEEM = 100

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEEMFGD = 211

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEENCAP = 103

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEFGDEANA = 212

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEFXO = 101

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEFXS = 102

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEOVERATM = 152

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEOVERCABLE = 198

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEOVERFRAMERELAY = 153

see |

## Constant for possible type of an interface

    IF_TYPE_VOICEOVERIP = 104

see |

## Constant for possible type of an interface

    IF_TYPE_X213 = 93

see |

## Constant for possible type of an interface

    IF_TYPE_X25HUNTGROUP = 122

see |

## Constant for possible type of an interface

    IF_TYPE_X25MLP = 121

see |

## Constant for possible type of an interface

    IF_TYPE_X25PLE = 40

see |

## OID_IF_ADMIN_STATUS

    OID_IF_ADMIN_STATUS = '.1.3.6.1.2.1.2.2.1.7'

## OID_IF_ALIAS

    OID_IF_ALIAS = '.1.3.6.1.2.1.31.1.1.1.18'

## OID_IF_DESCRIPTION

    OID_IF_DESCRIPTION = '.1.3.6.1.2.1.2.2.1.2'

## OID_IF_HIGH_SPEED

    OID_IF_HIGH_SPEED = '.1.3.6.1.2.1.31.1.1.1.15'

## OID_IF_INDEX

    OID_IF_INDEX = '.1.3.6.1.2.1.2.2.1.1'

## OID_IF_IN_DISCARDS

    OID_IF_IN_DISCARDS = '.1.3.6.1.2.1.2.2.1.13'

## OID_IF_IN_ERRORS

    OID_IF_IN_ERRORS = '.1.3.6.1.2.1.2.2.1.14'

## OID_IF_IN_NON_UNICAST_PACKETS

    OID_IF_IN_NON_UNICAST_PACKETS = '.1.3.6.1.2.1.2.2.1.12'

## OID_IF_IN_OCTETS

    OID_IF_IN_OCTETS = '.1.3.6.1.2.1.2.2.1.10'

## OID_IF_IN_UNICAST_PACKETS

    OID_IF_IN_UNICAST_PACKETS = '.1.3.6.1.2.1.2.2.1.11'

## OID_IF_IN_UNKNOWN_PROTOCOLS

    OID_IF_IN_UNKNOWN_PROTOCOLS = '.1.3.6.1.2.1.2.2.1.15'

## OID_IF_LAST_CHANGE

    OID_IF_LAST_CHANGE = '.1.3.6.1.2.1.2.2.1.9'

## OID_IF_MTU

    OID_IF_MTU = '.1.3.6.1.2.1.2.2.1.4'

## OID_IF_NAME

    OID_IF_NAME = '.1.3.6.1.2.1.31.1.1.1.1'

## OID_IF_NUMBER

    OID_IF_NUMBER = '.1.3.6.1.2.1.2.1.0'

## OID_IF_OPER_STATUS

    OID_IF_OPER_STATUS = '.1.3.6.1.2.1.2.2.1.8'

## OID_IF_OUT_DISCARDS

    OID_IF_OUT_DISCARDS = '.1.3.6.1.2.1.2.2.1.19'

## OID_IF_OUT_ERRORS

    OID_IF_OUT_ERRORS = '.1.3.6.1.2.1.2.2.1.20'

## OID_IF_OUT_NON_UNICAST_PACKETS

    OID_IF_OUT_NON_UNICAST_PACKETS = '.1.3.6.1.2.1.2.2.1.18'

## OID_IF_OUT_OCTETS

    OID_IF_OUT_OCTETS = '.1.3.6.1.2.1.2.2.1.16'

## OID_IF_OUT_QUEUE_LENGTH

    OID_IF_OUT_QUEUE_LENGTH = '.1.3.6.1.2.1.2.2.1.21'

## OID_IF_OUT_UNICAST_PACKETS

    OID_IF_OUT_UNICAST_PACKETS = '.1.3.6.1.2.1.2.2.1.17'

## OID_IF_PHYS_ADDRESS

    OID_IF_PHYS_ADDRESS = '.1.3.6.1.2.1.2.2.1.6'

## OID_IF_SPEED

    OID_IF_SPEED = '.1.3.6.1.2.1.2.2.1.5'

## OID_IF_TYPE

    OID_IF_TYPE = '.1.3.6.1.2.1.2.2.1.3'