CTRON-DHCP-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-TYPE
FROM RFC-1212
DisplayString, PhysAddress
FROM RFC1213-MIB
nwRtrProtoSuites
FROM ROUTER-OIDS
nwIpRouter, nwIpMibs, nwIpComponents, nwIpClientServices
FROM CTRON-IP-ROUTER-MIB
IpAddress, Counter
FROM RFC1155-SMI;
ctDhcp OBJECT IDENTIFIER ::= { nwIpClientServices 2 }
ctDhcpServerStats OBJECT IDENTIFIER ::= { ctDhcp 1 }
ctDhcpInterfaceConfig OBJECT IDENTIFIER ::= { ctDhcp 2 }
ctDhcpClientStatusTable OBJECT IDENTIFIER ::= { ctDhcp 3 }
ctDhcpAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
enabled(2)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This object is used to enable or disable the DHCP
server function for the entire device. This object
must be set to enabled for the server to function on
this device."
::= { ctDhcpServerStats 1}
ctDhcpOperStatus OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
enabled(2)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Indicates the current operating status of the DHCP
server function on this device. The value of
ctDhcpIfOperStatus for at least one interface must be
set to enabled for this object to be enabled."
::= { ctDhcpServerStats 2}
ctDhcpDiscovers OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of discover messages
received by the DHCP server since the last reset."
::= { ctDhcpServerStats 3}
ctDhcpOffers OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of offer messages
sent by the DHCP server since the last reset."
::= { ctDhcpServerStats 4}
ctDhcpRequests OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of request messages
received by the DHCP server since the last reset."
::= { ctDhcpServerStats 5}
ctDhcpDeclines OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of decline messages
received by the DHCP server since the last reset."
::= { ctDhcpServerStats 6}
ctDhcpReleases OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of release messages
received by the DHCP server since the last reset."
::= { ctDhcpServerStats 7}
ctDhcpAcks OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of ack messages
sent by the DHCP server since the last reset."
::= { ctDhcpServerStats 8}
ctDhcpNaks OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of nak messages
sent by the DHCP server since the last reset."
::= { ctDhcpServerStats 9}
ctDhcpOtherServers OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of messages
received by the DHCP server since the last reset
which were directed to other servers."
::= { ctDhcpServerStats 10}
ctDhcpProtocolErrors OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of protocol errors detected
by the DHCP server since the last reset."
::= { ctDhcpServerStats 11}
ctDhcpServerTime OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of seconds that this DHCP
server has been in operation since its non-volatile
memory was last cleared."
::= { ctDhcpServerStats 12}
ctDhcpNoOfActiveClients OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of clients who currently
have network addresses assigned by this DHCP server."
::= { ctDhcpServerStats 13}
ctDhcpReclaimIP OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This object is a method of reclaiming abandoned IP
addresses. The value reads as 0.0.0.0. Writing to
it with an IP address of a client on the active list
will remove the entry from the list. It is used to
recover addresses with long leases from clients who
have left the network without sending a release notice."
::= { ctDhcpServerStats 14 }
ctDhcpServerIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF CtDhcpServerIfEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"This table contains an entry for each port of a
DHCP server which is eligible to perform DHCP functions.
The table is indexed by ctDhcpIfIndex, which indicates
the value of the MIB 2 ifindex which identifies the
device's interface for which the entry exists."
::= { ctDhcpInterfaceConfig 1 }
ctDhcpServerIfEntry OBJECT-TYPE
SYNTAX CtDhcpServerIfEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A description of the configuration parameters for a
single interface on the DHCP server."
INDEX { ctDhcpIfIndex }
::= { ctDhcpServerIfTable 1 }
CtDhcpServerIfEntry ::=
SEQUENCE {
ctDhcpIfIndex
INTEGER,
ctDhcpIfAdminStatus
INTEGER,
ctDhcpIfOperStatus
INTEGER,
ctDhcpIfServerAddress
IpAddress,
ctDhcpIfNetworkAddress
IpAddress,
ctDhcpIfSubnetMask
IpAddress,
ctDhcpIfLowestaddress
IpAddress,
ctDhcpIfHighestAddress
IpAddress,
ctDhcpIfAddressesUsed
INTEGER,
ctDhcpIfAddressesFree
INTEGER,
ctDhcpIfLeasePeriod
INTEGER,
ctDhcpIfDefaultGateway
IpAddress,
ctDhcpIfDomainNameServer
IpAddress,
ctDhcpIfDomainName
OCTET STRING,
ctDhcpIfWINServer
IpAddress
}
ctDhcpIfIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique value identifying an element in a sequence of
entries which belong to the DHCP server interface list.
This value ranges from 1 to 2."
::= { ctDhcpServerIfEntry 1 }
ctDhcpIfAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
enabled(2)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Used to enable and disable the DHCP functions on this
interface only. This object must be set to enabled for
the DHCP functions to occur on this interface."
::= { ctDhcpServerIfEntry 2 }
ctDhcpIfOperStatus OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
enabled(2),
invalid-config(3)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Indicates the current operating status of the DHCP
server function on this interface."
::= { ctDhcpServerIfEntry 3 }
ctDhcpIfServerAddress OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This is the IP address of the interface which
is providing access to the DHCP server for clients
which are connected to this network."
::= { ctDhcpServerIfEntry 4 }
ctDhcpIfNetworkAddress OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This is the IP subnet which is being served by
this interface of the DHCP server."
::= { ctDhcpServerIfEntry 5 }
ctDhcpIfSubnetMask OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This is the subnet mask of the IP subnet which is
being served by this interface of the DHCP server."
::= { ctDhcpServerIfEntry 6 }
ctDhcpIfLowestaddress OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This is the lowest numerical value of the IP address
range that will be assigned to clients by this interface
of the DHCP server. Its value must be greater or equal
to ctDhcpIfNetworkAddress and less than or equal to
ctDhcpIfHighestAddress."
::= { ctDhcpServerIfEntry 7 }
ctDhcpIfHighestAddress OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This is the highest numerical value of the IP address
range that will be assigned to clients by this interface
of the DHCP server. Its value must be greater or equal
to ctDhcpIfLowestaddress but remain within
ctDhcpIfNetworkAddress."
::= { ctDhcpServerIfEntry 8 }
ctDhcpIfAddressesUsed OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of clients which are currently
using IP addresses assigned by this interface of the
DHCP server."
::= { ctDhcpServerIfEntry 9 }
ctDhcpIfAddressesFree OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the number of IP addresses that are
currently available for distribution by this interface
of the DHCP server."
::= { ctDhcpServerIfEntry 10 }
ctDhcpIfLeasePeriod OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This value is the time period for which an IP address
assigned by this interface is valid. The units are
seconds. A value of 0 signifys that the lease will
never expire."
::= { ctDhcpServerIfEntry 11 }
ctDhcpIfDefaultGateway OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This value is an DHCP option that can be passed to a
client by this interface if it is requested as part
of the DHCP process. This value is the IP address of
the default gateway to be used by the client."
::= { ctDhcpServerIfEntry 12 }
ctDhcpIfDomainNameServer OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This value is an DHCP option that can be passed to a
client by this interface if it is requested as part
of the DHCP process. This value is the IP address of
the domain name server to be used by the client."
::= { ctDhcpServerIfEntry 13 }
ctDhcpIfDomainName OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This value is an DHCP option that can be passed to a
client by this interface if it is requested as part
of the DHCP process. This value is the domain name
to be used by the client."
::= { ctDhcpServerIfEntry 14 }
ctDhcpIfWINServer OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This value is an DHCP option that can be passed to a
client by this interface if it is requested as part
of the DHCP process. This value is the IP address of
the NetBIOS overTCP/IP name server to be used by the
client."
::= { ctDhcpServerIfEntry 15 }
ctDhcpClientStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF CtDhcpClientStatsEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"This table contains an entry for each DHCP client. The
table is indexed by ctDhcpClientStatsID, which indicates
an arbitrary order of entries."
::= { ctDhcpClientStatusTable 1 }
ctDhcpClientStatsEntry OBJECT-TYPE
SYNTAX CtDhcpClientStatsEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A description of a single client, which could be on any
of the subnets being served by participating interfaces."
INDEX { ctDhcpClientStatsID }
::= { ctDhcpClientStatsTable 1 }
CtDhcpClientStatsEntry ::=
SEQUENCE {
ctDhcpClientStatsID
INTEGER,
ctDhcpClientName
OCTET STRING,
ctDhcpClientIP
IpAddress,
ctDhcpClientID
OCTET STRING,
ctDhcpEndOfLease
INTEGER
}
ctDhcpClientStatsID OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique value identifying an element in a sequence of
active clients which have been given network addresses
by this DHCP server."
::= { ctDhcpClientStatsEntry 1 }
ctDhcpClientName OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This is the name of the client as listed by the client
in a DHCP request packet."
::= { ctDhcpClientStatsEntry 2}
ctDhcpClientIP OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This is the assigned IP address of the client during
this active connection."
::= { ctDhcpClientStatsEntry 3}
ctDhcpClientID OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This is the ID of the client as listed by the client
in a DHCP request packet. It is normally the client's
Ethernet MAC address."
::= { ctDhcpClientStatsEntry 4}
ctDhcpEndOfLease OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This value is the time at which the lease of the IP
address will expire. The units are seconds and the
value is relative to the same starting point as
ctDhcpIfServerTime."
::= { ctDhcpClientStatsEntry 5}
END