CISCO-CDP-MIB_my.txt
上传用户:hbytqc8
上传日期:2014-07-31
资源大小:527k
文件大小:30k
源码类别:

SNMP编程

开发平台:

Visual C++

  1. -- *****************************************************************
  2. -- CISCO-CDP-MIB.my:  CDP MIB file
  3. --
  4. -- Oct 1994, Arun Sastry
  5. -- November 2001, Edward Pham
  6. --
  7. -- Copyright (c) 1994-1998, 1999, 2001 by cisco Systems, Inc.
  8. -- All rights reserved.
  9. -- *****************************************************************
  10. --
  11. CISCO-CDP-MIB DEFINITIONS ::= BEGIN
  12. IMPORTS
  13. MODULE-IDENTITY, OBJECT-TYPE,
  14.         Integer32
  15. FROM SNMPv2-SMI
  16. MODULE-COMPLIANCE, OBJECT-GROUP
  17. FROM SNMPv2-CONF
  18.         TruthValue, DisplayString, TimeStamp
  19. FROM SNMPv2-TC
  20. ciscoMgmt
  21. FROM CISCO-SMI
  22. CiscoNetworkProtocol, CiscoNetworkAddress, Unsigned32
  23.                 FROM CISCO-TC 
  24.         VlanIndex
  25.                 FROM CISCO-VTP-MIB
  26.         ifIndex
  27.                 FROM IF-MIB
  28.         ;
  29. ciscoCdpMIB   MODULE-IDENTITY
  30. LAST-UPDATED "200111230000Z"
  31. ORGANIZATION "Cisco System Inc."
  32. CONTACT-INFO
  33. " Cisco Systems
  34. Customer Service
  35. Postal: 170 West Tasman Drive,
  36. San Jose CA 95134-1706.
  37. USA
  38.    Tel: +1 800 553-NETS
  39. E-mail: cs-snmp@cisco.com"
  40. DESCRIPTION
  41. "The MIB module for management of the Cisco Discovery
  42. Protocol in Cisco devices."
  43.         REVISION        "200111230000Z"
  44.         DESCRIPTION
  45.                 "Added cdpInterfaceExtTable which contains the following
  46.                  objects:
  47.                  cdpInterfaceExtendedTrust, 
  48.                  cdpInterfaceCosForUntrustedPort." 
  49.         REVISION        "200104230000Z"
  50.         DESCRIPTION
  51.                 "Added the following objects:
  52.                  cdpGlobalDeviceIdFormatCpb, 
  53.                  cdpGlobalDeviceIdFormat." 
  54.         REVISION        "200011220000Z"
  55.         DESCRIPTION
  56.                 "Added the following objects: 
  57.                  cdpCacheApplianceID,
  58.                  cdpCacheVlanID, 
  59.                  cdpCachePowerConsumption,
  60.                  cdpCacheMTU,
  61.                  cdpCachePrimaryMgmtAddrType,
  62.                  cdpCachePrimaryMgmtAddr,
  63.                  cdpCacheSecondaryMgmtAddrType,
  64.                  cdpCacheSecondaryMgmtAddr,
  65.                  cdpCacheLastChange,
  66.                  cdpCachePhysLocation,
  67.                  cdpCacheSysName, 
  68.                  cdpCacheSysObjectID,
  69.                  cdpGlobalLastChange"
  70.         REVISION        "9812100000Z"
  71.         DESCRIPTION
  72.                 "Added cdpGlobalDeviceId object."
  73.         REVISION        "9809160000Z"
  74.         DESCRIPTION
  75.                 "added these objects to cdpCacheTable:  
  76.                 cdpCacheVTPMgmtDomain, 
  77.                 cdpCacheNativeVLAN, 
  78.                 cdpCacheDuplex.
  79.                 "
  80. REVISION        "9607080000Z"
  81. DESCRIPTION
  82. "Obsolete cdpInterfaceMessageInterval and newly
  83. define cdpGlobal object."
  84. REVISION        "9508150000Z"
  85. DESCRIPTION
  86. "Specify a correct (non-negative) range for several
  87. index objects."
  88. REVISION        "9507270000Z"
  89. DESCRIPTION
  90. "Correct range of cdpInterfaceMessageInterval."
  91. REVISION        "9501250000Z"
  92. DESCRIPTION
  93. "Move from ciscoExperiment to ciscoMgmt oid subtree."
  94. ::= { ciscoMgmt 23 }
  95. ciscoCdpMIBObjects OBJECT IDENTIFIER ::= { ciscoCdpMIB 1 }
  96. cdpInterface   OBJECT IDENTIFIER ::= { ciscoCdpMIBObjects 1 }
  97. cdpCache       OBJECT IDENTIFIER ::= { ciscoCdpMIBObjects 2 }
  98. cdpGlobal      OBJECT IDENTIFIER ::= { ciscoCdpMIBObjects 3 }
  99. --
  100. -- The CDP Interface Group
  101. --
  102. cdpInterfaceTable OBJECT-TYPE
  103.     SYNTAX     SEQUENCE OF CdpInterfaceEntry
  104.     MAX-ACCESS not-accessible
  105.     STATUS     current
  106.     DESCRIPTION
  107.             "The (conceptual) table containing the status of CDP on
  108.             the device's interfaces."
  109.     ::= { cdpInterface 1 }
  110. cdpInterfaceEntry OBJECT-TYPE
  111.     SYNTAX     CdpInterfaceEntry
  112.     MAX-ACCESS not-accessible
  113.     STATUS     current
  114.     DESCRIPTION
  115.             "An entry (conceptual row) in the cdpInterfaceTable,
  116.             containing the status of CDP on an interface."
  117.     INDEX      { cdpInterfaceIfIndex }
  118.     ::= { cdpInterfaceTable 1 }
  119. CdpInterfaceEntry ::= SEQUENCE {
  120.     cdpInterfaceIfIndex           Integer32, 
  121.     cdpInterfaceEnable            TruthValue,
  122.     cdpInterfaceMessageInterval   INTEGER,
  123.     cdpInterfaceGroup             Integer32,
  124.     cdpInterfacePort              Integer32
  125. }
  126. cdpInterfaceIfIndex OBJECT-TYPE
  127.     SYNTAX     Integer32 (0..2147483647)
  128.     MAX-ACCESS not-accessible
  129.     STATUS     current
  130.     DESCRIPTION
  131.             "The ifIndex value of the local interface.
  132.             For 802.3 Repeaters on which the repeater ports do not
  133.             have ifIndex values assigned, this value is a unique
  134.             value for the port, and greater than any ifIndex value
  135.             supported by the repeater; in this case, the specific
  136.             port is indicated by corresponding values of
  137.             cdpInterfaceGroup and cdpInterfacePort, where these
  138.             values correspond to the group number and port number
  139.             values of RFC 1516."
  140.     ::= { cdpInterfaceEntry 1 }
  141. cdpInterfaceEnable OBJECT-TYPE
  142.     SYNTAX     TruthValue
  143.     MAX-ACCESS read-write
  144.     STATUS     current
  145.     DESCRIPTION
  146.             "An indication of whether the Cisco Discovery Protocol
  147.             is currently running on this interface.  This variable
  148.             has no effect when CDP is disabled (cdpGlobalRun = FALSE)."
  149.     ::= { cdpInterfaceEntry 2 }
  150. cdpInterfaceMessageInterval OBJECT-TYPE
  151.     SYNTAX     INTEGER (5..254)
  152.     UNITS      "seconds"
  153.     MAX-ACCESS read-write
  154.     STATUS     obsolete   -- replaced by cdpGlobalMessageInterval
  155.                           --  this object should be applied to the
  156.                           --  whole system instead of per interface
  157.     DESCRIPTION
  158.             "The interval at which CDP messages are to be generated
  159.             on this interface.  The default value is 60 seconds."
  160.     ::= { cdpInterfaceEntry 3 }
  161. cdpInterfaceGroup OBJECT-TYPE
  162.     SYNTAX     Integer32
  163.     MAX-ACCESS read-only
  164.     STATUS     current
  165.     DESCRIPTION
  166.             "This object is only relevant to interfaces which are
  167.             repeater ports on 802.3 repeaters.  In this situation,
  168.             it indicates the RFC1516 group number of the repeater
  169.             port which corresponds to this interface."
  170.     ::= { cdpInterfaceEntry 4 }
  171. cdpInterfacePort OBJECT-TYPE
  172.     SYNTAX     Integer32
  173.     MAX-ACCESS read-only
  174.     STATUS     current
  175.     DESCRIPTION
  176.             "This object is only relevant to interfaces which are
  177.             repeater ports on 802.3 repeaters.  In this situation,
  178.             it indicates the RFC1516 port number of the repeater
  179.             port which corresponds to this interface."
  180.     ::= { cdpInterfaceEntry 5 }
  181. cdpInterfaceExtTable OBJECT-TYPE
  182.     SYNTAX     SEQUENCE OF CdpInterfaceExtEntry
  183.     MAX-ACCESS not-accessible
  184.     STATUS     current
  185.     DESCRIPTION
  186.         "This table contains the additional CDP configuration on
  187.          the device's interfaces."
  188.     ::= { cdpInterface 2 }
  189. cdpInterfaceExtEntry OBJECT-TYPE
  190.     SYNTAX     CdpInterfaceExtEntry
  191.     MAX-ACCESS not-accessible
  192.     STATUS     current
  193.     DESCRIPTION
  194.         "An entry in the cdpInterfaceExtTable contains the values
  195.          configured for Extented Trust TLV and COS (Class of Service)
  196.          for Untrusted Ports TLV on an interface which supports the
  197.          sending of these TLVs."
  198.     INDEX      { ifIndex }
  199.     ::= { cdpInterfaceExtTable 1 }
  200. CdpInterfaceExtEntry ::= SEQUENCE {
  201.     cdpInterfaceExtendedTrust        INTEGER,
  202.     cdpInterfaceCosForUntrustedPort  Unsigned32 
  203. }
  204. cdpInterfaceExtendedTrust OBJECT-TYPE
  205.     SYNTAX     INTEGER {
  206.                    trusted(1),
  207.                    noTrust(2) 
  208.                }
  209.     MAX-ACCESS read-write
  210.     STATUS     current
  211.     DESCRIPTION
  212.         "Indicates the value to be sent by Extended Trust TLV.
  213.          If trusted(1) is configured, the value of Extended Trust TLV
  214.          is one byte in length with its least significant bit equal to
  215.          1 to indicate extended trust. All other bits are 0.
  216.          If noTrust(2) is configured, the value of Extended Trust TLV
  217.          is one byte in length with its least significant bit equal to
  218.          0 to indicate no extended trust. All other bits are 0."
  219.     ::= { cdpInterfaceExtEntry 1 }
  220. cdpInterfaceCosForUntrustedPort OBJECT-TYPE
  221.     SYNTAX     Unsigned32 (0..7)
  222.     MAX-ACCESS read-write
  223.     STATUS     current 
  224.     DESCRIPTION
  225.         "Indicates the value to be sent by COS for Untrusted Ports TLV."
  226.     ::= { cdpInterfaceExtEntry 2 }
  227. --
  228. -- The CDP Address Cache Group
  229. --
  230. cdpCacheTable OBJECT-TYPE
  231.     SYNTAX     SEQUENCE OF CdpCacheEntry
  232.     MAX-ACCESS not-accessible
  233.     STATUS     current
  234.     DESCRIPTION
  235.             "The (conceptual) table containing the cached
  236.             information obtained via receiving CDP messages."
  237.     ::= { cdpCache 1 }
  238. cdpCacheEntry OBJECT-TYPE
  239.     SYNTAX     CdpCacheEntry
  240.     MAX-ACCESS not-accessible
  241.     STATUS     current
  242.     DESCRIPTION
  243.             "An entry (conceptual row) in the cdpCacheTable,
  244.             containing the information received via CDP on one
  245.             interface from one device.  Entries appear when
  246.             a CDP advertisement is received from a neighbor
  247.             device.  Entries disappear when CDP is disabled
  248.             on the interface, or globally."
  249.     INDEX      { cdpCacheIfIndex, cdpCacheDeviceIndex }
  250.     ::= { cdpCacheTable 1 }
  251. CdpCacheEntry ::= SEQUENCE {
  252.     cdpCacheIfIndex                 Integer32,
  253.     cdpCacheDeviceIndex             Integer32,
  254.     cdpCacheAddressType             CiscoNetworkProtocol,
  255.     cdpCacheAddress                 CiscoNetworkAddress,
  256.     cdpCacheVersion                 DisplayString,
  257.     cdpCacheDeviceId                DisplayString,
  258.     cdpCacheDevicePort              DisplayString,
  259.     cdpCachePlatform                DisplayString,
  260.     cdpCacheCapabilities            OCTET STRING, 
  261.     cdpCacheVTPMgmtDomain           DisplayString,
  262.     cdpCacheNativeVLAN              VlanIndex, 
  263.     cdpCacheDuplex                  INTEGER,
  264.     cdpCacheApplianceID             Unsigned32,
  265.     cdpCacheVlanID                  Unsigned32,
  266.     cdpCachePowerConsumption        Unsigned32,
  267.     cdpCacheMTU                     Unsigned32,
  268.     cdpCacheSysName                 DisplayString,
  269.     cdpCacheSysObjectID             OBJECT IDENTIFIER,
  270.     cdpCachePrimaryMgmtAddrType     CiscoNetworkProtocol,
  271.     cdpCachePrimaryMgmtAddr         CiscoNetworkAddress,
  272.     cdpCacheSecondaryMgmtAddrType   CiscoNetworkProtocol,
  273.     cdpCacheSecondaryMgmtAddr       CiscoNetworkAddress,
  274.     cdpCachePhysLocation            DisplayString,
  275.     cdpCacheLastChange               TimeStamp
  276. }
  277. cdpCacheIfIndex OBJECT-TYPE
  278.     SYNTAX     Integer32 (0..2147483647)
  279.     MAX-ACCESS not-accessible
  280.     STATUS     current
  281.     DESCRIPTION
  282.             "Normally, the ifIndex value of the local interface.
  283.             For 802.3 Repeaters for which the repeater ports do not
  284.             have ifIndex values assigned, this value is a unique
  285.             value for the port, and greater than any ifIndex value
  286.             supported by the repeater; the specific port number in
  287.             this case, is given by the corresponding value of
  288.             cdpInterfacePort."
  289.     ::= { cdpCacheEntry 1 }
  290. cdpCacheDeviceIndex OBJECT-TYPE
  291.     SYNTAX     Integer32 (0..2147483647)
  292.     MAX-ACCESS not-accessible
  293.     STATUS     current
  294.     DESCRIPTION
  295.             "A unique value for each device from which CDP messages
  296.             are being received."
  297.     ::= { cdpCacheEntry 2 }
  298. cdpCacheAddressType OBJECT-TYPE
  299.     SYNTAX     CiscoNetworkProtocol
  300.     MAX-ACCESS read-only
  301.     STATUS     current
  302.     DESCRIPTION
  303.             "An indication of the type of address contained in the
  304.             corresponding instance of cdpCacheAddress."
  305.     ::= { cdpCacheEntry 3 }
  306. cdpCacheAddress OBJECT-TYPE
  307.     SYNTAX     CiscoNetworkAddress
  308.     MAX-ACCESS read-only
  309.     STATUS     current
  310.     DESCRIPTION
  311.         "The (first) network-layer address of the device's
  312.         SNMP-agent as reported in the Address TLV of the most recently
  313.         received CDP message.  For example, if the corresponding
  314.         instance of cacheAddressType had the value 'ip(1)', then
  315.         this object would be an IP-address."
  316.     ::= { cdpCacheEntry 4 }
  317. cdpCacheVersion OBJECT-TYPE
  318.     SYNTAX     DisplayString
  319.     MAX-ACCESS read-only
  320.     STATUS     current
  321.     DESCRIPTION
  322.             "The Version string as reported in the most recent CDP
  323.             message.  The zero-length string indicates no Version
  324.             field (TLV) was reported in the most recent CDP
  325.             message."
  326.     ::= { cdpCacheEntry 5 }
  327. cdpCacheDeviceId OBJECT-TYPE
  328.     SYNTAX     DisplayString
  329.     MAX-ACCESS read-only
  330.     STATUS     current
  331.     DESCRIPTION
  332.             "The Device-ID string as reported in the most recent CDP
  333.             message.  The zero-length string indicates no Device-ID
  334.             field (TLV) was reported in the most recent CDP
  335.             message."
  336.     ::= { cdpCacheEntry 6 }
  337. cdpCacheDevicePort OBJECT-TYPE
  338.     SYNTAX     DisplayString
  339.     MAX-ACCESS read-only
  340.     STATUS     current
  341.     DESCRIPTION
  342.             "The Port-ID string as reported in the most recent CDP
  343.             message.  This will typically be the value of the ifName
  344.             object (e.g., 'Ethernet0').  The zero-length string
  345.             indicates no Port-ID field (TLV) was reported in the
  346.             most recent CDP message."
  347.     ::= { cdpCacheEntry 7 }
  348. cdpCachePlatform OBJECT-TYPE
  349.     SYNTAX     DisplayString
  350.     MAX-ACCESS read-only
  351.     STATUS     current
  352.     DESCRIPTION
  353.             "The Device's Hardware Platform as reported in the most
  354.             recent CDP message.  The zero-length string indicates
  355.             that no Platform field (TLV) was reported in the most
  356.             recent CDP message."
  357.     ::= { cdpCacheEntry 8 }
  358. cdpCacheCapabilities OBJECT-TYPE
  359.     SYNTAX     OCTET STRING (SIZE (0..4))
  360.     MAX-ACCESS read-only
  361.     STATUS     current
  362.     DESCRIPTION
  363.             "The Device's Functional Capabilities as reported in the
  364.             most recent CDP message.  For latest set of specific
  365.             values, see the latest version of the CDP specification.
  366.             The zero-length string indicates no Capabilities field
  367.             (TLV) was reported in the most recent CDP message."
  368.     REFERENCE "Cisco Discovery Protocol Specification, 10/19/94."
  369.     ::= { cdpCacheEntry 9 }
  370. cdpCacheVTPMgmtDomain   OBJECT-TYPE
  371.     SYNTAX    DisplayString (SIZE (0..32))
  372.     MAX-ACCESS read-only
  373.     STATUS     current
  374.     DESCRIPTION
  375.         "The VTP Management Domain for the remote device's interface, 
  376.         as reported in the most recently received CDP message.
  377.         This object is not instantiated if no VTP Management Domain field
  378.         (TLV) was reported in the most recently received CDP message."
  379.     REFERENCE "managementDomainName in CISCO-VTP-MIB"
  380.     ::= { cdpCacheEntry 10 }
  381.  
  382. cdpCacheNativeVLAN OBJECT-TYPE
  383.     SYNTAX    VlanIndex
  384.     MAX-ACCESS read-only
  385.     STATUS     current
  386.     DESCRIPTION
  387.         "The remote device's interface's native VLAN, as reported in the 
  388.         most recent CDP message.  The value 0 indicates
  389.         no native VLAN field (TLV) was reported in the most
  390.         recent CDP message."
  391.     ::= { cdpCacheEntry 11 }
  392. cdpCacheDuplex OBJECT-TYPE
  393.     SYNTAX    INTEGER {
  394.                   unknown(1),
  395.                   halfduplex(2),
  396.                   fullduplex(3)
  397.               }
  398.     MAX-ACCESS read-only
  399.     STATUS     current
  400.     DESCRIPTION
  401.         "The remote device's interface's duplex mode, as reported in the 
  402.         most recent CDP message.  The value unknown(1) indicates
  403.         no duplex mode field (TLV) was reported in the most
  404.         recent CDP message."
  405.     ::= { cdpCacheEntry 12 }
  406. cdpCacheApplianceID OBJECT-TYPE
  407.     SYNTAX     Unsigned32 (0..255)
  408.     MAX-ACCESS read-only
  409.     STATUS     current
  410.     DESCRIPTION
  411.         "The remote device's Appliance ID, as reported in the 
  412.         most recent CDP message. This object is not instantiated if
  413.         no Appliance VLAN-ID field (TLV) was reported in the most
  414.         recently received CDP message."
  415.     ::= { cdpCacheEntry 13 }
  416. cdpCacheVlanID OBJECT-TYPE
  417.     SYNTAX     Unsigned32 (0..4095)
  418.     MAX-ACCESS read-only
  419.     STATUS     current
  420.     DESCRIPTION
  421.         "The remote device's VoIP VLAN ID, as reported in the 
  422.         most recent CDP message. This object is not instantiated if
  423.         no Appliance VLAN-ID field (TLV) was reported in the most
  424.         recently received CDP message."
  425.     ::= { cdpCacheEntry 14 }
  426. cdpCachePowerConsumption OBJECT-TYPE
  427.     SYNTAX     Unsigned32
  428.     UNITS      "milliwatts"
  429.     MAX-ACCESS read-only
  430.     STATUS     current
  431.     DESCRIPTION
  432.         "The amount of power consumed by remote device, as reported
  433.         in the most recent CDP message. This object is not instantiated
  434.         if no Power Consumption field (TLV) was reported in the most
  435.         recently received CDP message."
  436.     ::= { cdpCacheEntry 15 }
  437. cdpCacheMTU OBJECT-TYPE
  438.     SYNTAX     Unsigned32
  439.     MAX-ACCESS read-only
  440.     STATUS     current
  441.     DESCRIPTION
  442.         "Indicates the size of the largest datagram that can be
  443.         sent/received by remote device, as reported in the most recent
  444.         CDP message. This object is not instantiated if no MTU field
  445.         (TLV) was reported in the most recently received CDP message."
  446.     ::= { cdpCacheEntry 16 }
  447. cdpCacheSysName OBJECT-TYPE
  448.     SYNTAX     DisplayString (SIZE (0..255))
  449.     MAX-ACCESS read-only
  450.     STATUS     current
  451.     DESCRIPTION
  452.         "Indicates the value of the remote device's sysName MIB object.
  453.         By convention, it is the device's fully qualified domain name.
  454.         This object is not instantiated if no sysName field (TLV) was
  455.         reported in the most recently received CDP message."
  456.     ::= { cdpCacheEntry 17 }
  457. cdpCacheSysObjectID OBJECT-TYPE
  458.     SYNTAX     OBJECT IDENTIFIER
  459.     MAX-ACCESS read-only
  460.     STATUS     current
  461.     DESCRIPTION
  462.         "Indicates the value of the remote device's sysObjectID MIB
  463.         object. This object is not instantiated if no sysObjectID field
  464.         (TLV) was reported in the most recently received CDP message."
  465.     ::= { cdpCacheEntry 18 }
  466. cdpCachePrimaryMgmtAddrType OBJECT-TYPE
  467.     SYNTAX     CiscoNetworkProtocol
  468.     MAX-ACCESS read-only
  469.     STATUS     current
  470.     DESCRIPTION
  471.             "An indication of the type of address contained in the
  472.             corresponding instance of cdpCachePrimaryMgmtAddress."
  473.     ::= { cdpCacheEntry 19 }
  474. cdpCachePrimaryMgmtAddr OBJECT-TYPE
  475.     SYNTAX     CiscoNetworkAddress 
  476.     MAX-ACCESS read-only
  477.     STATUS     current
  478.     DESCRIPTION
  479.         "This object indicates the (first) network layer address at
  480.         which the device will accept SNMP messages as reported in the
  481.         most recently received CDP message. If the corresponding
  482.         instance of cdpCachePrimaryMgmtAddrType has the value 'ip(1)',
  483.         then this object would be an IP-address. If the remote device
  484.         is not currently manageable via any network protocol, this
  485.         object has the special value of the IPv4 address 0.0.0.0.
  486.         If the most recently received CDP message did not contain any
  487.         primary address at which the device prefers to receive
  488.         SNMP messages, then this object is not instanstiated."
  489.     ::= { cdpCacheEntry 20 }
  490. cdpCacheSecondaryMgmtAddrType OBJECT-TYPE
  491.     SYNTAX     CiscoNetworkProtocol
  492.     MAX-ACCESS read-only
  493.     STATUS     current
  494.     DESCRIPTION
  495.             "An indication of the type of address contained in the
  496.             corresponding instance of cdpCacheSecondaryMgmtAddress."
  497.     ::= { cdpCacheEntry 21 }
  498. cdpCacheSecondaryMgmtAddr OBJECT-TYPE
  499.     SYNTAX     CiscoNetworkAddress 
  500.     MAX-ACCESS read-only
  501.     STATUS     current
  502.     DESCRIPTION
  503.         "This object indicates the alternate network layer address
  504.         (other than the one indicated by cdpCachePrimaryMgmtAddr) at
  505.         which the device will accept SNMP messages as reported in the
  506.         most recently received CDP message. If the corresponding
  507.         instance of cdpCacheSecondaryMgmtAddrType has the value 'ip(1)',
  508.         then this object would be an IP-address. If the most recently
  509.         received CDP message did not contain such an alternate network
  510.         layer address, then this object is not instanstiated."
  511.     ::= { cdpCacheEntry 22 }
  512. cdpCachePhysLocation OBJECT-TYPE
  513.     SYNTAX     DisplayString
  514.     MAX-ACCESS read-only
  515.     STATUS     current
  516.     DESCRIPTION
  517.         "Indicates the physical location, as reported by the most recent
  518.         CDP message, of a connector which is on, or physically connected
  519.         to, the remote device's interface over which the CDP packet is
  520.         sent. This object is not instantiated if no Physical Location
  521.         field (TLV) was reported by the most recently received CDP
  522.         message." 
  523.     ::= { cdpCacheEntry 23 }
  524. cdpCacheLastChange OBJECT-TYPE
  525.     SYNTAX     TimeStamp
  526.     MAX-ACCESS read-only
  527.     STATUS     current
  528.     DESCRIPTION
  529.         "Indicates the time when this cache entry was last changed.
  530.         This object is initialised to the current time when the entry
  531.         gets created and updated to the current time whenever the value
  532.         of any (other) object instance in the corresponding row is
  533.         modified."
  534.     ::= { cdpCacheEntry 24 }
  535. --
  536. -- The CDP Global Group
  537. --
  538. cdpGlobalRun OBJECT-TYPE
  539.     SYNTAX     TruthValue
  540.     MAX-ACCESS read-write
  541.     STATUS     current
  542.     DESCRIPTION
  543.             "An indication of whether the Cisco Discovery Protocol
  544.             is currently running.  Entries in cdpCacheTable are
  545.             deleted when CDP is disabled."
  546.     DEFVAL     { true }
  547.     ::= { cdpGlobal 1 }
  548. cdpGlobalMessageInterval OBJECT-TYPE
  549.     SYNTAX     INTEGER (5..254)
  550.     UNITS      "seconds"
  551.     MAX-ACCESS read-write
  552.     STATUS     current
  553.     DESCRIPTION
  554.             "The interval at which CDP messages are to be generated.
  555.             The default value is 60 seconds."
  556.     DEFVAL     { 60 }
  557.     ::= { cdpGlobal 2 }
  558. cdpGlobalHoldTime OBJECT-TYPE
  559.     SYNTAX     INTEGER (10..255)
  560.     UNITS      "seconds"
  561.     MAX-ACCESS read-write
  562.     STATUS     current
  563.     DESCRIPTION
  564.             "The time for the receiving device holds CDP message.
  565.             The default value is 180 seconds."
  566.     DEFVAL     { 180 }
  567.     ::= { cdpGlobal 3 }
  568. cdpGlobalDeviceId OBJECT-TYPE
  569.     SYNTAX     DisplayString
  570.     MAX-ACCESS read-only
  571.     STATUS     current
  572.     DESCRIPTION
  573.         "The device ID advertised by this device. The format of this
  574.          device id is characterized by the value of 
  575.          cdpGlobalDeviceIdFormat object."
  576.     ::= { cdpGlobal 4 }
  577. cdpGlobalLastChange  OBJECT-TYPE
  578.     SYNTAX     TimeStamp
  579.     MAX-ACCESS read-only
  580.     STATUS     current
  581.     DESCRIPTION
  582.         "Indicates the time when the cache table was last changed. It
  583.         is the most recent time at which any row was last created,
  584.         modified or deleted."
  585.     ::= { cdpGlobal 5 }
  586. cdpGlobalDeviceIdFormatCpb  OBJECT-TYPE
  587.     SYNTAX     BITS { 
  588.                  serialNumber(0), 
  589.                  macAddress(1),
  590.                  other (2) 
  591.                } 
  592.     MAX-ACCESS read-only
  593.     STATUS     current
  594.     DESCRIPTION
  595.         "Indicate the Device-Id format capability of the device.
  596.          serialNumber(0) indicates that the device supports using
  597.          serial number as the format for its DeviceId.
  598.          macAddress(1) indicates that the device supports using
  599.          layer 2 MAC address as the format for its DeviceId.
  600.          other(2) indicates that the device supports using its
  601.          platform specific format as the format for its DeviceId."
  602.     ::= { cdpGlobal 6 }
  603. cdpGlobalDeviceIdFormat  OBJECT-TYPE
  604.     SYNTAX     INTEGER { 
  605.                  serialNumber(1), 
  606.                  macAddress(2),
  607.                  other(3) 
  608.                } 
  609.     MAX-ACCESS read-write
  610.     STATUS     current
  611.     DESCRIPTION
  612.         "An indication of the format of Device-Id contained in the
  613.         corresponding instance of cdpGlobalDeviceId. User can only
  614.         specify the formats that the device is capable of as
  615.         denoted in cdpGlobalDeviceIdFormatCpb object.
  616.         
  617.         serialNumber(1) indicates that the value of cdpGlobalDeviceId 
  618.         object is in the form of an ASCII string contain the device
  619.         serial number. 
  620.         
  621.         macAddress(2) indicates that the value of cdpGlobalDeviceId 
  622.         object is in the form of Layer 2 MAC address.
  623.         other(3) indicates that the value of cdpGlobalDeviceId object
  624.         is in the form of a platform specific ASCII string contain
  625.         info that identifies the device. For example: ASCII string
  626.         contains serialNumber appended/prepened with system name." 
  627.     ::= { cdpGlobal 7 }
  628. -- conformance information
  629. ciscoCdpMIBConformance
  630.               OBJECT IDENTIFIER ::= { ciscoCdpMIB 2 }
  631. ciscoCdpMIBCompliances
  632.               OBJECT IDENTIFIER ::= { ciscoCdpMIBConformance 1 }
  633. ciscoCdpMIBGroups
  634.               OBJECT IDENTIFIER ::= { ciscoCdpMIBConformance 2 }
  635. -- compliance statements
  636. ciscoCdpMIBCompliance MODULE-COMPLIANCE
  637.     STATUS  obsolete  -- superseded by ciscoCdpMIBComplianceV11R01
  638.     DESCRIPTION
  639.             "The compliance statement for the CDP MIB."
  640.     MODULE  -- this module
  641.         MANDATORY-GROUPS { ciscoCdpMIBGroup }
  642.     ::= { ciscoCdpMIBCompliances 1 }
  643. ciscoCdpMIBComplianceV11R01 MODULE-COMPLIANCE
  644.     STATUS  obsolete -- superseded by ciscoCdpMIBComplianceV11R02
  645.     DESCRIPTION
  646.             "The compliance statement for the CDP MIB."
  647.     MODULE  -- this module
  648.         MANDATORY-GROUPS { ciscoCdpMIBGroupV11R01 }
  649.     ::= { ciscoCdpMIBCompliances 2 }
  650. ciscoCdpMIBComplianceV11R02 MODULE-COMPLIANCE
  651.     STATUS  obsolete -- superseded by ciscoCdpMIBComplianceV12R02
  652.     DESCRIPTION
  653.             "The compliance statement for the CDP MIB."
  654.     MODULE  -- this module
  655.         MANDATORY-GROUPS { ciscoCdpMIBGroupV11R02 }
  656.     ::= { ciscoCdpMIBCompliances 3 }
  657. ciscoCdpMIBComplianceV12R02 MODULE-COMPLIANCE
  658.     STATUS  current 
  659.     DESCRIPTION
  660.             "The compliance statement for the CDP MIB."
  661.     MODULE  -- this module
  662.         MANDATORY-GROUPS { ciscoCdpMIBGroupV12R02 }
  663.  
  664.     ::= { ciscoCdpMIBCompliances 4 }
  665. -- units of conformance
  666. ciscoCdpMIBGroup  OBJECT-GROUP
  667.     OBJECTS { cdpInterfaceEnable, cdpInterfaceMessageInterval,
  668.               cdpCacheAddressType, cdpCacheAddress, cdpCacheVersion,
  669.               cdpCacheDeviceId, cdpCacheDevicePort,
  670.               cdpCacheCapabilities, cdpCachePlatform
  671.             }
  672.     STATUS  obsolete -- superseded by ciscoCdpMIBGroupV11R01
  673.     DESCRIPTION
  674.             "A collection of objects for use with the Cisco
  675.             Discovery Protocol."
  676.     ::= { ciscoCdpMIBGroups 1 }
  677. ciscoCdpMIBGroupV11R01  OBJECT-GROUP
  678.     OBJECTS { cdpInterfaceEnable, cdpInterfaceMessageInterval,
  679.               cdpInterfaceGroup, cdpInterfacePort,
  680.               cdpCacheAddressType, cdpCacheAddress, cdpCacheVersion,
  681.               cdpCacheDeviceId, cdpCacheDevicePort,
  682.               cdpCacheCapabilities, cdpCachePlatform
  683.             }
  684.     STATUS  obsolete -- superseded by ciscoCdpMIBGroupV11R02
  685.     DESCRIPTION
  686.             "A collection of objects for use with the Cisco
  687.             Discovery Protocol."
  688.     ::= { ciscoCdpMIBGroups 2 }
  689. ciscoCdpMIBGroupV11R02  OBJECT-GROUP
  690.     OBJECTS { cdpInterfaceEnable,
  691.               cdpInterfaceGroup, cdpInterfacePort,
  692.               cdpCacheAddressType, cdpCacheAddress, cdpCacheVersion,
  693.               cdpCacheDeviceId, cdpCacheDevicePort,
  694.               cdpCacheCapabilities, cdpCachePlatform,
  695.               cdpGlobalRun, cdpGlobalMessageInterval, cdpGlobalHoldTime
  696.             }
  697.     STATUS  obsolete -- superseded by ciscoCdpMIBGroupV12R02
  698.     DESCRIPTION
  699.             "A collection of objects for use with the Cisco
  700.             Discovery Protocol."
  701.     ::= { ciscoCdpMIBGroups 3 }
  702. ciscoCdpMIBGroupV12R02 OBJECT-GROUP
  703.     OBJECTS { cdpInterfaceEnable,
  704.               cdpInterfaceGroup, cdpInterfacePort,
  705.               cdpCacheAddressType, cdpCacheAddress, cdpCacheVersion,
  706.               cdpCacheDeviceId, cdpCacheDevicePort,
  707.               cdpCacheCapabilities, cdpCachePlatform,
  708.               cdpCacheVTPMgmtDomain, cdpCacheNativeVLAN, cdpCacheDuplex,
  709.               cdpGlobalRun, cdpGlobalMessageInterval, cdpGlobalHoldTime,
  710.               cdpGlobalDeviceId
  711.             }
  712.     STATUS  current
  713.     DESCRIPTION
  714.             "A collection of objects for use with the Cisco
  715.             Discovery Protocol."
  716.     ::= { ciscoCdpMIBGroups 5 }
  717. ciscoCdpV2MIBGroup OBJECT-GROUP
  718.     OBJECTS { 
  719.               cdpCacheApplianceID, cdpCacheVlanID,
  720.               cdpCachePowerConsumption, cdpCacheMTU,
  721.               cdpCacheSysName, cdpCacheSysObjectID,
  722.               cdpCacheLastChange, cdpCachePhysLocation,
  723.               cdpCachePrimaryMgmtAddrType,
  724.               cdpCachePrimaryMgmtAddr,
  725.               cdpCacheSecondaryMgmtAddrType,
  726.               cdpCacheSecondaryMgmtAddr,
  727.               cdpGlobalLastChange, cdpGlobalDeviceIdFormatCpb,
  728.               cdpGlobalDeviceIdFormat
  729.             }
  730.     STATUS  current
  731.     DESCRIPTION
  732.             "A collection of objects for use with the Cisco
  733.             Discovery Protocol version 2."
  734.     ::= { ciscoCdpMIBGroups 6 }
  735. ciscoCdpV2IfExtGroup OBJECT-GROUP
  736.     OBJECTS { 
  737.               cdpInterfaceExtendedTrust,
  738.               cdpInterfaceCosForUntrustedPort
  739.             }
  740.     STATUS  current
  741.     DESCRIPTION
  742.             "A collection of objects for use with the Cisco
  743.             Discovery Protocol version 2 to configure the value
  744.             for Extended Trust TLV and COS for Untrusted Port TLV."
  745.     ::= { ciscoCdpMIBGroups 7 }
  746. END