1-- 2-- comPtp.mib 3-- MIB generated by MG-SOFT Visual MIB Builder Version 3.0 Build 285 4-- Thursday, May 16, 2013 at 13:21:18 5-- 6 7 Zhone-PTP-MIB DEFINITIONS ::= BEGIN 8 9 IMPORTS 10 InterfaceIndex 11 FROM IF-MIB 12 OBJECT-GROUP 13 FROM SNMPv2-CONF 14 IpAddress, Integer32, Unsigned32, OBJECT-TYPE, MODULE-IDENTITY 15 FROM SNMPv2-SMI 16 MacAddress 17 FROM SNMPv2-TC 18 zhonePtp, zhoneModules, zhoneGroups, zhoneShelfSlotGroup 19 FROM Zhone 20 ZhoneRowStatus 21 FROM Zhone-TC; 22 23 24-- /vob/zhonetools/bin/pahrser.pl rfc2233.mib Zhone.mib Zhone-TC.mib comPtp.mib 25-- 26-- /vob/EPILOGUE/binaries/emissary/solaris/mibcomp rfc1907.mib iftype.mib 27-- rfc2233.mib Zhone.mib Zhone-TC.mib -stub -o ptpHdlrs.c comPtp.mib 28-- 29-- 30 -- 1.3.6.1.4.1.5504.6.119 31 zhonePtpModule MODULE-IDENTITY 32 LAST-UPDATED "201205091450Z" -- May 09, 2012 at 14:50 GMT 33 ORGANIZATION 34 "Zhone Technologies." 35 CONTACT-INFO 36 "Contact-info." 37 DESCRIPTION 38 "Managed data objects for Zhone's 1588 Precision Timing Protocol." 39 REVISION "201305091515Z" -- May 09, 2013 at 15:15 GMT 40 DESCRIPTION 41 "Add ipIfindex & acceptable master fields to ptp" 42 REVISION "201201131450Z" -- January 13, 2012 at 14:50 GMT 43 DESCRIPTION 44 "Initial Revision." 45 ::= { zhoneModules 119 } 46 47 48 49 50-- 51-- Node definitions 52-- 53 54 -- 1.3.6.1.4.1.5504.4.17.1 55 zhonePtpObjectID OBJECT IDENTIFIER ::= { zhonePtp 1 } 56 57 58 -- 1.3.6.1.4.1.5504.4.17.1.1 59 zhonePtpConfigTable OBJECT-TYPE 60 SYNTAX SEQUENCE OF ZhonePtpConfigEntry 61 MAX-ACCESS not-accessible 62 STATUS current 63 DESCRIPTION 64 "Table of configuration values for the Precision Timing Protocol." 65 ::= { zhonePtpObjectID 1 } 66 67 68 -- 1.3.6.1.4.1.5504.4.17.1.1.1 69 zhonePtpConfigEntry OBJECT-TYPE 70 SYNTAX ZhonePtpConfigEntry 71 MAX-ACCESS not-accessible 72 STATUS current 73 DESCRIPTION 74 "Row in the PtpConfigTable" 75 INDEX { zhonePtpConfigIfIndex } 76 ::= { zhonePtpConfigTable 1 } 77 78 79 ZhonePtpConfigEntry ::= 80 SEQUENCE { 81 zhonePtpConfigIfIndex 82 InterfaceIndex, 83 zhonePtpConfigClockMode 84 INTEGER, 85 zhonePtpConfigSyncMsgInterval 86 Integer32, 87 zhonePtpConfigAnnounceInterval 88 Integer32, 89 zhonePtpConfigDelayReqInterval 90 Integer32, 91 zhonePtpConfigDomain1MS 92 Unsigned32, 93 zhonePtpConfigVariance 94 Unsigned32, 95 zhonePtpConfigPriority1 96 Unsigned32, 97 zhonePtpConfigPriority2 98 Unsigned32, 99 zhonePtpConfigDomain2M 100 Integer32, 101 zhonePtpConfigRowStatus 102 ZhoneRowStatus, 103 zhonePtpConfigIpIfIndex 104 InterfaceIndex, 105 zhonePtpConfigAcceptableMaster1 106 IpAddress, 107 zhonePtpConfigAcceptableMaster2 108 IpAddress 109 } 110 111 -- 1.3.6.1.4.1.5504.4.17.1.1.1.1 112 zhonePtpConfigIfIndex OBJECT-TYPE 113 SYNTAX InterfaceIndex 114 MAX-ACCESS not-accessible 115 STATUS current 116 DESCRIPTION 117 "Index for this table." 118 ::= { zhonePtpConfigEntry 1 } 119 120 121 -- 1.3.6.1.4.1.5504.4.17.1.1.1.2 122 zhonePtpConfigClockMode OBJECT-TYPE 123 SYNTAX INTEGER 124 { 125 master(1), 126 slave(2), 127 boundary(3), 128 transparent(4), 129 forward(5) 130 } 131 MAX-ACCESS read-create 132 STATUS current 133 DESCRIPTION 134 "Describes the mode and function of this clock." 135 DEFVAL { slave } 136 ::= { zhonePtpConfigEntry 2 } 137 138 139 -- 1.3.6.1.4.1.5504.4.17.1.1.1.3 140 zhonePtpConfigSyncMsgInterval OBJECT-TYPE 141 SYNTAX Integer32 (-128..127) 142 MAX-ACCESS read-create 143 STATUS current 144 DESCRIPTION 145 "Log of mean time interval between successive Sync 146 messages when transmitted as multicast messages." 147 DEFVAL { -5 } 148 ::= { zhonePtpConfigEntry 3 } 149 150 151 -- 1.3.6.1.4.1.5504.4.17.1.1.1.4 152 zhonePtpConfigAnnounceInterval OBJECT-TYPE 153 SYNTAX Integer32 (-128..127) 154 MAX-ACCESS read-create 155 STATUS current 156 DESCRIPTION 157 "Log of time, in seconds, to send announce messages." 158 DEFVAL { 1 } 159 ::= { zhonePtpConfigEntry 4 } 160 161 162 -- 1.3.6.1.4.1.5504.4.17.1.1.1.5 163 zhonePtpConfigDelayReqInterval OBJECT-TYPE 164 SYNTAX Integer32 (-128..127) 165 MAX-ACCESS read-create 166 STATUS current 167 DESCRIPTION 168 "Log of minimum permitted mean time between successive 169 Delay_Req messages sent by a slave to a specific port 170 on the master." 171 ::= { zhonePtpConfigEntry 5 } 172 173 174 -- 1.3.6.1.4.1.5504.4.17.1.1.1.6 175 zhonePtpConfigDomain1MS OBJECT-TYPE 176 SYNTAX Unsigned32 (0..255) 177 MAX-ACCESS read-create 178 STATUS current 179 DESCRIPTION 180 "The domain for this PTP. If clockMode is boundary, then this 181 is the domain for the slave port." 182 DEFVAL { 0 } 183 ::= { zhonePtpConfigEntry 6 } 184 185 186 -- 1.3.6.1.4.1.5504.4.17.1.1.1.7 187 zhonePtpConfigVariance OBJECT-TYPE 188 SYNTAX Unsigned32 (0..65535) 189 MAX-ACCESS read-create 190 STATUS current 191 DESCRIPTION 192 "Log of variance used in determination of the best master clock." 193 DEFVAL { 32767 } 194 ::= { zhonePtpConfigEntry 7 } 195 196 197 -- 1.3.6.1.4.1.5504.4.17.1.1.1.8 198 zhonePtpConfigPriority1 OBJECT-TYPE 199 SYNTAX Unsigned32 (0..255) 200 MAX-ACCESS read-create 201 STATUS current 202 DESCRIPTION 203 "Precedence value used in best master algorithm, if master." 204 DEFVAL { 128 } 205 ::= { zhonePtpConfigEntry 8 } 206 207 208 -- 1.3.6.1.4.1.5504.4.17.1.1.1.9 209 zhonePtpConfigPriority2 OBJECT-TYPE 210 SYNTAX Unsigned32 (0..255) 211 MAX-ACCESS read-create 212 STATUS current 213 DESCRIPTION 214 "Precedence used in best master determination, if master" 215 DEFVAL { 128 } 216 ::= { zhonePtpConfigEntry 9 } 217 218 219 -- 1.3.6.1.4.1.5504.4.17.1.1.1.10 220 zhonePtpConfigDomain2M OBJECT-TYPE 221 SYNTAX Integer32 (0..255) 222 MAX-ACCESS read-create 223 STATUS current 224 DESCRIPTION 225 "If clockMode is boundary, then this is the domain for the 226 master port. Otherwise, it is unused." 227 DEFVAL { 0 } 228 ::= { zhonePtpConfigEntry 10 } 229 230 231 -- 1.3.6.1.4.1.5504.4.17.1.1.1.11 232 zhonePtpConfigRowStatus OBJECT-TYPE 233 SYNTAX ZhoneRowStatus 234 MAX-ACCESS read-create 235 STATUS current 236 DESCRIPTION 237 "Row status for this table." 238 ::= { zhonePtpConfigEntry 11 } 239 240 241 -- 1.3.6.1.4.1.5504.4.17.1.1.1.12 242 zhonePtpConfigIpIfIndex OBJECT-TYPE 243 SYNTAX InterfaceIndex 244 MAX-ACCESS read-create 245 STATUS current 246 DESCRIPTION 247 "The management ip index on this system." 248 ::= { zhonePtpConfigEntry 12 } 249 250 251 -- 1.3.6.1.4.1.5504.4.17.1.1.1.13 252 zhonePtpConfigAcceptableMaster1 OBJECT-TYPE 253 SYNTAX IpAddress 254 MAX-ACCESS read-create 255 STATUS current 256 DESCRIPTION 257 "First acceptable PTP master." 258 DEFVAL { '00000000'h } 259 ::= { zhonePtpConfigEntry 13 } 260 261 262 -- 1.3.6.1.4.1.5504.4.17.1.1.1.14 263 zhonePtpConfigAcceptableMaster2 OBJECT-TYPE 264 SYNTAX IpAddress 265 MAX-ACCESS read-create 266 STATUS current 267 DESCRIPTION 268 "Second acceptable PTP master." 269 DEFVAL { '00000000'h } 270 ::= { zhonePtpConfigEntry 14 } 271 272 273 -- 1.3.6.1.4.1.5504.4.17.1.2 274 zhonePtpStatusTable OBJECT-TYPE 275 SYNTAX SEQUENCE OF ZhonePtpStatusEntry 276 MAX-ACCESS not-accessible 277 STATUS current 278 DESCRIPTION 279 "The read-only attributes associated with the 1588 module." 280 ::= { zhonePtpObjectID 2 } 281 282 283 -- 1.3.6.1.4.1.5504.4.17.1.2.1 284 zhonePtpStatusEntry OBJECT-TYPE 285 SYNTAX ZhonePtpStatusEntry 286 MAX-ACCESS not-accessible 287 STATUS current 288 DESCRIPTION 289 "A row in the zhonePtpStatusTable" 290 INDEX { zhonePtpConfigIfIndex } 291 ::= { zhonePtpStatusTable 1 } 292 293 294 ZhonePtpStatusEntry ::= 295 SEQUENCE { 296 zhonePtpStatusMacAddress 297 MacAddress, 298 zhonePtpConfigTimeSource 299 INTEGER, 300 zhonePtpConfigClockStratum 301 INTEGER, 302 zhonePtpConfigClockAccuracy 303 INTEGER, 304 zhonePtpStatusTxMode 305 INTEGER 306 } 307 308 -- 1.3.6.1.4.1.5504.4.17.1.2.1.1 309 zhonePtpStatusMacAddress OBJECT-TYPE 310 SYNTAX MacAddress 311 MAX-ACCESS read-only 312 STATUS current 313 DESCRIPTION 314 "The ptpMacAddr is used to set the PTP ClockIdentifier defined 315 in the PTP standard. It identifies the clock in the PTP network 316 and as such should be unique within the PTP network. 317 " 318 ::= { zhonePtpStatusEntry 1 } 319 320 321 -- 1.3.6.1.4.1.5504.4.17.1.2.1.2 322 zhonePtpConfigTimeSource OBJECT-TYPE 323 SYNTAX INTEGER 324 { 325 atom(1), 326 gps(2), 327 radio(3), 328 ptp(4), 329 ntp(5), 330 handSet(6), 331 other(7), 332 internalOscillator(8) 333 } 334 MAX-ACCESS read-only 335 STATUS current 336 DESCRIPTION 337 "Time source for the PTP." 338 DEFVAL { internalOscillator } 339 ::= { zhonePtpStatusEntry 2 } 340 341 342 -- 1.3.6.1.4.1.5504.4.17.1.2.1.3 343 zhonePtpConfigClockStratum OBJECT-TYPE 344 SYNTAX INTEGER 345 { 346 force(1), 347 primaryReference(2), 348 secondaryReference(3), 349 bestClockStratumThatCanBeSlave(4), 350 stratum3(5), 351 stratum4(6), 352 defaultStratum(7) 353 } 354 MAX-ACCESS read-only 355 STATUS current 356 DESCRIPTION 357 "Indicates the stratum level of the local clock." 358 DEFVAL { defaultStratum } 359 ::= { zhonePtpStatusEntry 3 } 360 361 362 -- 1.3.6.1.4.1.5504.4.17.1.2.1.4 363 zhonePtpConfigClockAccuracy OBJECT-TYPE 364 SYNTAX INTEGER 365 { 366 nSec25(1), 367 nSec100(2), 368 nSec250(3), 369 uSec1(4), 370 uSec2point5(5), 371 uSec10(6), 372 uSec25(7), 373 uSec100(8), 374 uSec250(9), 375 mSec1(10), 376 mSec2point5(11), 377 mSec10(12), 378 mSec25(13), 379 mSec100(14), 380 mSec250(15), 381 sec1(16), 382 sec10(17), 383 gT10S(18), 384 accUnknown(19) 385 } 386 MAX-ACCESS read-only 387 STATUS current 388 DESCRIPTION 389 "Accuracy of this clock. Used in determining best master clock." 390 DEFVAL { accUnknown } 391 ::= { zhonePtpStatusEntry 4 } 392 393 394 -- 1.3.6.1.4.1.5504.4.17.1.2.1.5 395 zhonePtpStatusTxMode OBJECT-TYPE 396 SYNTAX INTEGER 397 { 398 standard(1), 399 uniOnly(2), 400 multiOnly(3) 401 } 402 MAX-ACCESS read-only 403 STATUS current 404 DESCRIPTION 405 "By default, Semtech sends multicast messages (e.g. Announce Messages) if they 406 are meant for more than one node. Messages destined to a single node are sent 407 as unicast messages. If we want to support Acceptable Master and Slave tables, 408 we need the uniOnly option." 409 DEFVAL { standard } 410 ::= { zhonePtpStatusEntry 5 } 411 412 413 -- 1.3.6.1.4.1.5504.9.1.52 414 zhonePtpGroup OBJECT-GROUP 415 OBJECTS { zhonePtpConfigClockMode, zhonePtpConfigIpIfIndex, zhonePtpConfigSyncMsgInterval, zhonePtpConfigAnnounceInterval, zhonePtpConfigDelayReqInterval, 416 zhonePtpConfigTimeSource, zhonePtpConfigClockStratum, zhonePtpConfigClockAccuracy, zhonePtpConfigVariance, zhonePtpConfigPriority1, 417 zhonePtpConfigPriority2, zhonePtpConfigRowStatus, zhonePtpStatusTxMode, zhonePtpStatusMacAddress, zhonePtpConfigDomain2M, 418 zhonePtpConfigDomain1MS, zhonePtpConfigAcceptableMaster1, zhonePtpConfigAcceptableMaster2 } 419 STATUS current 420 DESCRIPTION 421 "Object groups for ptp objects." 422 ::= { zhoneGroups 52 } 423 424 425 426 END 427 428-- 429-- comPtp.mib 430-- 431