TCP/IP MIB-II
ctIfPortPortNumber
ctIfPortPortNumber | {ctIfPortEntry 1} |
This defines the port that is being described.
SYNTAX INTEGER
ACCESS
STATUS mandatory
OBJECT IDENTIFIER: 1.3.6.1.4.1.52.4.3.3.3.1.1.1
The OID will actually be 1.3.6.1.4.1.52.4.3.3.3.1.1.1.X.Y where X is the interface number and Y is the port requested. X will increment from 1 to 28 (25 Ethernet, 2 Fast Ethernet, and the LCM port). Y will always be 1 because there is only one port per interface. We will always return a value of 1, because there is only one port on the interface.
ctIfPortIfNumber | {ctIfPortEntry 2} |
This defines the interface on which the port is being defined.
SYNTAX INTEGER
ACCESS
STATUS mandatory
OBJECT IDENTIFIER: 1.3.6.1.4.1.52.4.3.3.3.1.1.2
The OID will actually be 1.3.6.1.4.1.52.4.3.3.3.1.1.1.X.Y where X is the interface number and Y is the port requested. X will increment from 1 to 28 (25 Ethernet, 2 Fast Ethernet, and the LCM port). Y will always be 1 because there is only one port per interface. We will return our port number, which will actually be the same as X.