rfc1066.txt
来自「RFC 的详细文档!」· 文本 代码 · 共 2,589 行 · 第 1/5 页
TXT
2,589 行
Syntax:
INTEGER
Definition:
The number of network interfaces (regardless of their
current state) on which this system can send/receive IP
datagrams.
Access:
read-only.
Status:
mandatory.
5.2.1. The Interfaces Table
OBJECT:
-------
ifTable { interfaces 2 }
Syntax:
SEQUENCE OF IfEntry
Definition:
A list of interface entries. The number of entries is
given by the value of ifNumber.
Access:
read-write.
Status:
mandatory.
OBJECT:
-------
ifEntry { ifTable 1 }
Syntax:
IfEntry ::= SEQUENCE {
McCloghrie & Rose [Page 10]
RFC 1066 MIB August 1988
ifIndex
INTEGER,
ifDescr
OCTET STRING,
ifType
INTEGER,
ifMtu
INTEGER,
ifSpeed
Gauge,
ifPhysAddress
OCTET STRING,
ifAdminStatus
INTEGER,
ifOperStatus
INTEGER,
ifLastChange
TimeTicks,
ifInOctets
Counter,
ifInUcastPkts
Counter,
ifInNUcastPkts
Counter,
ifInDiscards
Counter,
ifInErrors
Counter,
ifInUnknownProtos
Counter,
ifOutOctets
Counter,
ifOutUcastPkts
Counter,
ifOutNUcastPkts
Counter,
ifOutDiscards
Counter,
ifOutErrors
Counter,
ifOutQLen
Gauge
}
Definition:
An interface entry containing objects at the subnetwork
layer and below for a particular interface.
McCloghrie & Rose [Page 11]
RFC 1066 MIB August 1988
Access:
read-write.
Status:
mandatory.
We now consider the individual components of each interface
entry:
OBJECT:
-------
ifIndex { ifEntry 1 }
Syntax:
INTEGER
Definition:
A unique value for each interface. Its value ranges
between 1 and the value of ifNumber. The value for each
interface must remain constant at least from one re-
initialization of the entity's network management system
to the next re-initialization.
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifDescr { ifEntry 2 }
Syntax:
OCTET STRING
Definition:
A text string containing information about the interface.
This string should include the name of the manufacturer,
the product name and the version of the hardware
interface. The string is intended for presentation to a
human; it must not contain anything but printable ASCII
characters.
McCloghrie & Rose [Page 12]
RFC 1066 MIB August 1988
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifType { ifEntry 3 }
Syntax:
INTEGER {
other(1), -- none of the following
regular1822(2),
hdh1822(3),
ddn-x25(4),
rfc877-x25(5),
ethernet-csmacd(6),
iso88023-csmacd(7),
iso88024-tokenBus(8),
iso88025-tokenRing(9),
iso88026-man(10),
starLan(11),
proteon-10MBit(12),
proteon-80MBit(13),
hyperchannel(14),
fddi(15),
lapb(16),
sdlc(17),
t1-carrier(18),
cept(19), -- european equivalent of T-1
basicIsdn(20),
primaryIsdn(21),
-- proprietary serial
propPointToPointSerial(22)
}
Definition:
The type of interface, distinguished according to the
physical/link/network protocol(s) immediately "below" IP
in the protocol stack.
Access:
read-only.
Status:
mandatory.
McCloghrie & Rose [Page 13]
RFC 1066 MIB August 1988
OBJECT:
-------
ifMtu { ifEntry 4 }
Syntax:
INTEGER
Definition:
The size of the largest IP datagram which can be
sent/received on the interface, specified in octets.
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifSpeed { ifEntry 5 }
Syntax:
Gauge
Definition:
An estimate of the interface's current bandwidth in bits
per second. 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.
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifPhysAddress { ifEntry 6 }
Syntax:
OCTET STRING
Definition:
The interface's address at the protocol layer immediately
McCloghrie & Rose [Page 14]
RFC 1066 MIB August 1988
"below" IP 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.
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifAdminStatus { ifEntry 7 }
Syntax:
INTEGER {
up(1), -- ready to pass packets
down(2),
testing(3) -- in some test mode
}
Definition:
The desired state of the interface. The testing(3) state
indicates that no operational packets can be passed.
Access:
read-write.
Status:
mandatory.
OBJECT:
-------
ifOperStatus { ifEntry 8 }
Syntax:
INTEGER {
up(1), -- ready to pass packets
down(2),
testing(3) -- in some test mode
}
Definition:
The current operational state of the interface. The
testing(3) state indicates that no operational packets
can be passed.
McCloghrie & Rose [Page 15]
RFC 1066 MIB August 1988
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifLastChange { ifEntry 9 }
Syntax:
TimeTicks
Definition:
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.
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifInOctets { ifEntry 10 }
Syntax:
Counter
Definition:
The total number of octets received on the interface,
including framing characters.
Access:
read-only.
Status:
mandatory.
McCloghrie & Rose [Page 16]
RFC 1066 MIB August 1988
OBJECT:
-------
ifInUcastPkts { ifEntry 11 }
Syntax:
Counter
Definition:
The number of (subnet) unicast packets delivered to a
higher-layer protocol.
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifInNUcastPkts { ifEntry 12 }
Syntax:
Counter
Definition:
The number of non-unicast (i.e., subnet broadcast or
subnet multicast) packets delivered to a higher-layer
protocol.
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifInDiscards { ifEntry 13 }
Syntax:
Counter
Definition:
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
McCloghrie & Rose [Page 17]
RFC 1066 MIB August 1988
protocol. One possible reason for discarding such a
packet could be to free up buffer space.
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifInErrors { ifEntry 14 }
Syntax:
Counter
Definition:
The number of inbound packets that contained errors
preventing them from being deliverable to a higher-layer
protocol.
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifInUnknownProtos { ifEntry 15 }
Syntax:
Counter
Definition:
The number of packets received via the interface which
were discarded because of an unknown or unsupported
protocol.
Access:
read-only.
Status:
mandatory.
McCloghrie & Rose [Page 18]
RFC 1066 MIB August 1988
OBJECT:
-------
ifOutOctets { ifEntry 16 }
Syntax:
Counter
Definition:
The total number of octets transmitted out of the
interface, including framing characters.
Access:
read-only.
Status:
mandatory.
OBJECT:
-------
ifOutUcastPkts { ifEntry 17 }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?