summaryrefslogtreecommitdiff
path: root/MIBS/comware/HH3C-DHCP6-SERVER-MIB
blob: 67cf81dd4e4b14d92cc2ace080e24d5164930729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
-- =================================================================
-- Copyright (c) 2004-2014 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description:  The Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
-- provides a framework to assign IPv6 prefixes, IPv6 addresses,
-- and other configuration parameters to hosts.
-- Reference:
-- Version: V1.0
-- History:
-- V1.0 2014-10-30 Initial version Created by c09672
-- =================================================================
HH3C-DHCP6-SERVER-MIB DEFINITIONS ::= BEGIN
IMPORTS
    hh3cCommon
        FROM HH3C-OID-MIB
    OBJECT-TYPE, MODULE-IDENTITY, Integer32, TimeTicks
        FROM SNMPv2-SMI
    RowStatus
        FROM SNMPv2-TC
    InetAddressIPv6
        FROM INET-ADDRESS-MIB;

hh3cDHCP6Server MODULE-IDENTITY
    LAST-UPDATED "201410300000Z"            -- Oct 30th, 2014 at 00:00 GMT
    ORGANIZATION
        "New H3C Technologies Co., Ltd."
    CONTACT-INFO
        "Platform Team New H3C Technologies Co., Ltd.
         Hai-Dian District Beijing P.R. China
         http://www.h3c.com
         Zip: 100085"
    DESCRIPTION
        "The MIB module is used for DHCPv6 server."
    REVISION    "201410300000Z"
    DESCRIPTION
        "Initial version"
    ::= { hh3cCommon 159 }

--
-- Define the DHCPv6 Server Tables.
--
    hh3cDHCP6ServerTables OBJECT IDENTIFIER ::= { hh3cDHCP6Server 1 }

-- =================================================================
-- 1st Table of hh3cDHCP6ServerTables: hh3cDHCP6PoolTable
-- =================================================================
hh3cDHCPS6PoolTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cDHCPS6PoolEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A table for creating DHCPv6 address pools."
    ::= { hh3cDHCP6ServerTables 1 }

hh3cDHCPS6PoolEntry OBJECT-TYPE
    SYNTAX      Hh3cDHCPS6PoolEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry containing objects for creating or
        deleting a DHCPv6 address pool."
    INDEX { hh3cDHCPS6PoolName }
    ::= { hh3cDHCPS6PoolTable 1 }

Hh3cDHCPS6PoolEntry ::=
    SEQUENCE
        {
            hh3cDHCPS6PoolName      OCTET STRING,
            hh3cDHCPS6PoolRowStatus RowStatus
        }

hh3cDHCPS6PoolName OBJECT-TYPE
    SYNTAX      OCTET STRING(SIZE(0..10))
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "DHCPv6 address pool name.  The name must be integer."
    ::= { hh3cDHCPS6PoolEntry 1 }

hh3cDHCPS6PoolRowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "RowStatus.  Three actions are used: active,
        createAndGo, destroy."
    ::= { hh3cDHCPS6PoolEntry 2 }

-- =================================================================
-- 2nd Table of hh3cDHCP6ServerTables: hh3cDHCPS6PoolConfigTable
-- =================================================================
hh3cDHCPS6PoolConfigTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cDHCPS6PoolConfigEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A table for configuring parameters for DHCPv6 address pools."
    ::= { hh3cDHCP6ServerTables 2 }

hh3cDHCPS6PoolConfigEntry OBJECT-TYPE
    SYNTAX      Hh3cDHCPS6PoolConfigEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry containing the objects for the parameter
        configurations of DHCPv6 address pools."
    INDEX { hh3cDHCPS6PoolName }
    ::= { hh3cDHCPS6PoolConfigTable 1 }

Hh3cDHCPS6PoolConfigEntry ::=
    SEQUENCE
        {
            hh3cDHCPS6PoolPrimaryDNSIP InetAddressIPv6,
            hh3cDHCPS6PoolSecondDNSIP  InetAddressIPv6
        }

hh3cDHCPS6PoolPrimaryDNSIP OBJECT-TYPE
    SYNTAX      InetAddressIPv6
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "The Primary DNS server IPv6 address to be assigned to the
        client.  To delete a configured Primary DNS server IP, please
        set hh3cDHCP6ServerPoolPrimaryDNSIP to '0x00 0x00 0x00 0x00
        0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00'."
    ::= { hh3cDHCPS6PoolConfigEntry 1 }

hh3cDHCPS6PoolSecondDNSIP OBJECT-TYPE
    SYNTAX      InetAddressIPv6
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "The Secondary DNS server IPv6 address to be assigned to the
        client.  To delete a configured Secondary DNS server IP, please
        set hh3cDHCP6ServerPoolSecondDNSIP to '0x00 0x00 0x00 0x00 0x00
        0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00'."
    ::= { hh3cDHCPS6PoolConfigEntry 2 }

-- =================================================================
-- 3rd Table of hh3cDHCP6ServerTables: hh3cDHCPS6PoolNetworkTable
-- =================================================================
hh3cDHCPS6PoolNetworkTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cDHCPS6PoolNetworkEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A table containing the network configurations of DHCPv6
        address pools."
    ::= { hh3cDHCP6ServerTables 3 }

hh3cDHCPS6PoolNetworkEntry OBJECT-TYPE
    SYNTAX      Hh3cDHCPS6PoolNetworkEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry containing the objects for configuring
        the network ip or host ip etc. to pools for
        DHCPv6 server.  Hh3cDHCPS6PoolStartAddr and hh3cDHCPS6PoolStopAddr
        must be set with hh3cDHCPS6PoolNetPrefixLen, and must be on the
        same network."
    INDEX { hh3cDHCPS6PoolName }
    ::= { hh3cDHCPS6PoolNetworkTable 1 }

Hh3cDHCPS6PoolNetworkEntry ::=
    SEQUENCE
        {
            hh3cDHCPS6PoolStartAddr      InetAddressIPv6,
            hh3cDHCPS6PoolStopAddr       InetAddressIPv6,
            hh3cDHCPS6PoolNetPrefixLen   Integer32,
            hh3cDHCPS6PoolLeaseTime      TimeTicks
        }

hh3cDHCPS6PoolStartAddr OBJECT-TYPE
    SYNTAX      InetAddressIPv6
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Start IP of a DHCPv6 address pool.
        To delete a configured start IP, please set
        hh3cDHCP6ServerPoolStartAddr to '0x00 0x00 0x00 0x00 0x00
        0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00'."
    ::= { hh3cDHCPS6PoolNetworkEntry 1 }

hh3cDHCPS6PoolStopAddr OBJECT-TYPE
    SYNTAX      InetAddressIPv6
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "End IP of a DHCPv6 address pool."
    ::= { hh3cDHCPS6PoolNetworkEntry 2 }

hh3cDHCPS6PoolNetPrefixLen OBJECT-TYPE
    SYNTAX      Integer32(1..128)
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "A prefix length of DHCPv6 address pool."
    ::= { hh3cDHCPS6PoolNetworkEntry 3 }

hh3cDHCPS6PoolLeaseTime OBJECT-TYPE
    SYNTAX      TimeTicks
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Number of time ticks of the lease."
    ::= { hh3cDHCPS6PoolNetworkEntry 4 }

-- =================================================================
-- 4th Table of hh3cDHCP6ServerTables: hh3cDHCPS6PoolStatTable
-- =================================================================
hh3cDHCPS6PoolStatTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cDHCPS6PoolStatEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The statistics of each DHCPv6 address pool."
    ::= { hh3cDHCP6ServerTables 4 }

hh3cDHCPS6PoolStatEntry OBJECT-TYPE
    SYNTAX      Hh3cDHCPS6PoolStatEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry containing the statistics of each DHCPv6 address pool."
    INDEX { hh3cDHCPS6PoolName }
    ::= { hh3cDHCPS6PoolStatTable 1 }

Hh3cDHCPS6PoolStatEntry ::=
    SEQUENCE
        {
            hh3cDHCPS6PoolIPPoolUsage     Integer32
        }

hh3cDHCPS6PoolIPPoolUsage OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Utilization rate of IPv6 addresses in each DHCPv6 address pool, in percentage."
    ::= { hh3cDHCPS6PoolStatEntry 1 }

END