1--------------------------------------------------------------------
2-- NMS-POE-MIB
3-- AUTHER : LIUQIANG
4-- OCT 2011
5--------------------------------------------------------------------
6
7            NMS-POE-MIB DEFINITIONS ::= BEGIN
8
9            IMPORTS
10                    TimeTicks
11            FROM RFC1155-SMI
12                    OBJECT-TYPE
13			FROM RFC-1212
14                    DisplayString
15			FROM RFC1213-MIB
16		    nmslocal
17			FROM NMS-SMI
18		    IpAddress     FROM  RFC1155-SMI
19		    TruthValue  	FROM SNMPv2-TC;
20
21               poe             OBJECT IDENTIFIER ::= { nmslocal 236 }
22
23
24               powerEtherTable OBJECT-TYPE
25                   SYNTAX  SEQUENCE OF PowerEtherTableEntry
26                   ACCESS  not-accessible
27                   STATUS  mandatory
28                   DESCRIPTION
29                            "A table of power ehternet mib."
30                   ::= { poe 1 }
31
32               powerEtherTableEntry OBJECT-TYPE
33                   SYNTAX  PowerEtherTableEntry
34                   ACCESS  not-accessible
35                   STATUS  mandatory
36                   DESCRIPTION
37                            "A collection of power ethernet interface."
38                   INDEX { ifIndex }
39               ::= { powerEtherTable 1 }
40
41               PowerEtherTableEntry ::=
42                   SEQUENCE {
43                       ifIndex
44                           INTEGER,
45                       ifDescr
46                           DisplayString,
47                       ifPethPortControlAbility
48                       	   TruthValue,
49                       ifPethPortMaxPower
50                           INTEGER,
51                       ifPethPortConsumptionPower
52                           INTEGER
53                          }
54
55               ifIndex OBJECT-TYPE
56                   SYNTAX  INTEGER
57                   ACCESS  read-only
58                   STATUS  mandatory
59                   DESCRIPTION
60                           "Interface index of device. The same value as ifIndex in ifTable. "
61                   ::= { powerEtherTableEntry 1 }
62
63               ifDescr OBJECT-TYPE
64                   SYNTAX  DisplayString (SIZE (0..255))
65                   ACCESS  read-only
66                   STATUS  mandatory
67                   DESCRIPTION
68                           "Interface description of device. The same value as ifDescr in ifTable. "
69                   ::= { powerEtherTableEntry 2 }
70
71               ifPethPortControlAbility OBJECT-TYPE
72                   SYNTAX  TruthValue
73                   ACCESS  read-only
74                   STATUS  mandatory
75                   DESCRIPTION
76                           "Describes the capability of controlling the PSE functions."
77                   ::= { powerEtherTableEntry 3 }
78
79               ifPethPortMaxPower OBJECT-TYPE
80                   SYNTAX  INTEGER(1..30)
81                   ACCESS  read-write
82                   STATUS  mandatory
83                   DESCRIPTION
84                           "Limit the maximal available power on a port. The maximal value is 30, unit is Watts."
85                   ::= { powerEtherTableEntry 4 }
86
87               ifPethPortConsumptionPower OBJECT-TYPE
88                   SYNTAX  INTEGER
89                   ACCESS  read-only
90                   STATUS  mandatory
91                   DESCRIPTION
92                           "Measured usage power expressed in Watts. Unit is Watts."
93                   ::= { powerEtherTableEntry 5 }
94
95
96
97
98END
99