📄 cisco-cdp-mib_my.txt
字号:
-- *****************************************************************
-- CISCO-CDP-MIB.my: CDP MIB file
--
-- Oct 1994, Arun Sastry
-- November 2001, Edward Pham
--
-- Copyright (c) 1994-1998, 1999, 2001 by cisco Systems, Inc.
-- All rights reserved.
-- *****************************************************************
--
CISCO-CDP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
TruthValue, DisplayString, TimeStamp
FROM SNMPv2-TC
ciscoMgmt
FROM CISCO-SMI
CiscoNetworkProtocol, CiscoNetworkAddress, Unsigned32
FROM CISCO-TC
VlanIndex
FROM CISCO-VTP-MIB
ifIndex
FROM IF-MIB
;
ciscoCdpMIB MODULE-IDENTITY
LAST-UPDATED "200111230000Z"
ORGANIZATION "Cisco System Inc."
CONTACT-INFO
" Cisco Systems
Customer Service
Postal: 170 West Tasman Drive,
San Jose CA 95134-1706.
USA
Tel: +1 800 553-NETS
E-mail: cs-snmp@cisco.com"
DESCRIPTION
"The MIB module for management of the Cisco Discovery
Protocol in Cisco devices."
REVISION "200111230000Z"
DESCRIPTION
"Added cdpInterfaceExtTable which contains the following
objects:
cdpInterfaceExtendedTrust,
cdpInterfaceCosForUntrustedPort."
REVISION "200104230000Z"
DESCRIPTION
"Added the following objects:
cdpGlobalDeviceIdFormatCpb,
cdpGlobalDeviceIdFormat."
REVISION "200011220000Z"
DESCRIPTION
"Added the following objects:
cdpCacheApplianceID,
cdpCacheVlanID,
cdpCachePowerConsumption,
cdpCacheMTU,
cdpCachePrimaryMgmtAddrType,
cdpCachePrimaryMgmtAddr,
cdpCacheSecondaryMgmtAddrType,
cdpCacheSecondaryMgmtAddr,
cdpCacheLastChange,
cdpCachePhysLocation,
cdpCacheSysName,
cdpCacheSysObjectID,
cdpGlobalLastChange"
REVISION "9812100000Z"
DESCRIPTION
"Added cdpGlobalDeviceId object."
REVISION "9809160000Z"
DESCRIPTION
"added these objects to cdpCacheTable:
cdpCacheVTPMgmtDomain,
cdpCacheNativeVLAN,
cdpCacheDuplex.
"
REVISION "9607080000Z"
DESCRIPTION
"Obsolete cdpInterfaceMessageInterval and newly
define cdpGlobal object."
REVISION "9508150000Z"
DESCRIPTION
"Specify a correct (non-negative) range for several
index objects."
REVISION "9507270000Z"
DESCRIPTION
"Correct range of cdpInterfaceMessageInterval."
REVISION "9501250000Z"
DESCRIPTION
"Move from ciscoExperiment to ciscoMgmt oid subtree."
::= { ciscoMgmt 23 }
ciscoCdpMIBObjects OBJECT IDENTIFIER ::= { ciscoCdpMIB 1 }
cdpInterface OBJECT IDENTIFIER ::= { ciscoCdpMIBObjects 1 }
cdpCache OBJECT IDENTIFIER ::= { ciscoCdpMIBObjects 2 }
cdpGlobal OBJECT IDENTIFIER ::= { ciscoCdpMIBObjects 3 }
--
-- The CDP Interface Group
--
cdpInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF CdpInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (conceptual) table containing the status of CDP on
the device's interfaces."
::= { cdpInterface 1 }
cdpInterfaceEntry OBJECT-TYPE
SYNTAX CdpInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the cdpInterfaceTable,
containing the status of CDP on an interface."
INDEX { cdpInterfaceIfIndex }
::= { cdpInterfaceTable 1 }
CdpInterfaceEntry ::= SEQUENCE {
cdpInterfaceIfIndex Integer32,
cdpInterfaceEnable TruthValue,
cdpInterfaceMessageInterval INTEGER,
cdpInterfaceGroup Integer32,
cdpInterfacePort Integer32
}
cdpInterfaceIfIndex OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the local interface.
For 802.3 Repeaters on which the repeater ports do not
have ifIndex values assigned, this value is a unique
value for the port, and greater than any ifIndex value
supported by the repeater; in this case, the specific
port is indicated by corresponding values of
cdpInterfaceGroup and cdpInterfacePort, where these
values correspond to the group number and port number
values of RFC 1516."
::= { cdpInterfaceEntry 1 }
cdpInterfaceEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"An indication of whether the Cisco Discovery Protocol
is currently running on this interface. This variable
has no effect when CDP is disabled (cdpGlobalRun = FALSE)."
::= { cdpInterfaceEntry 2 }
cdpInterfaceMessageInterval OBJECT-TYPE
SYNTAX INTEGER (5..254)
UNITS "seconds"
MAX-ACCESS read-write
STATUS obsolete -- replaced by cdpGlobalMessageInterval
-- this object should be applied to the
-- whole system instead of per interface
DESCRIPTION
"The interval at which CDP messages are to be generated
on this interface. The default value is 60 seconds."
::= { cdpInterfaceEntry 3 }
cdpInterfaceGroup OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object is only relevant to interfaces which are
repeater ports on 802.3 repeaters. In this situation,
it indicates the RFC1516 group number of the repeater
port which corresponds to this interface."
::= { cdpInterfaceEntry 4 }
cdpInterfacePort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object is only relevant to interfaces which are
repeater ports on 802.3 repeaters. In this situation,
it indicates the RFC1516 port number of the repeater
port which corresponds to this interface."
::= { cdpInterfaceEntry 5 }
cdpInterfaceExtTable OBJECT-TYPE
SYNTAX SEQUENCE OF CdpInterfaceExtEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the additional CDP configuration on
the device's interfaces."
::= { cdpInterface 2 }
cdpInterfaceExtEntry OBJECT-TYPE
SYNTAX CdpInterfaceExtEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the cdpInterfaceExtTable contains the values
configured for Extented Trust TLV and COS (Class of Service)
for Untrusted Ports TLV on an interface which supports the
sending of these TLVs."
INDEX { ifIndex }
::= { cdpInterfaceExtTable 1 }
CdpInterfaceExtEntry ::= SEQUENCE {
cdpInterfaceExtendedTrust INTEGER,
cdpInterfaceCosForUntrustedPort Unsigned32
}
cdpInterfaceExtendedTrust OBJECT-TYPE
SYNTAX INTEGER {
trusted(1),
noTrust(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the value to be sent by Extended Trust TLV.
If trusted(1) is configured, the value of Extended Trust TLV
is one byte in length with its least significant bit equal to
1 to indicate extended trust. All other bits are 0.
If noTrust(2) is configured, the value of Extended Trust TLV
is one byte in length with its least significant bit equal to
0 to indicate no extended trust. All other bits are 0."
::= { cdpInterfaceExtEntry 1 }
cdpInterfaceCosForUntrustedPort OBJECT-TYPE
SYNTAX Unsigned32 (0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the value to be sent by COS for Untrusted Ports TLV."
::= { cdpInterfaceExtEntry 2 }
--
-- The CDP Address Cache Group
--
cdpCacheTable OBJECT-TYPE
SYNTAX SEQUENCE OF CdpCacheEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (conceptual) table containing the cached
information obtained via receiving CDP messages."
::= { cdpCache 1 }
cdpCacheEntry OBJECT-TYPE
SYNTAX CdpCacheEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the cdpCacheTable,
containing the information received via CDP on one
interface from one device. Entries appear when
a CDP advertisement is received from a neighbor
device. Entries disappear when CDP is disabled
on the interface, or globally."
INDEX { cdpCacheIfIndex, cdpCacheDeviceIndex }
::= { cdpCacheTable 1 }
CdpCacheEntry ::= SEQUENCE {
cdpCacheIfIndex Integer32,
cdpCacheDeviceIndex Integer32,
cdpCacheAddressType CiscoNetworkProtocol,
cdpCacheAddress CiscoNetworkAddress,
cdpCacheVersion DisplayString,
cdpCacheDeviceId DisplayString,
cdpCacheDevicePort DisplayString,
cdpCachePlatform DisplayString,
cdpCacheCapabilities OCTET STRING,
cdpCacheVTPMgmtDomain DisplayString,
cdpCacheNativeVLAN VlanIndex,
cdpCacheDuplex INTEGER,
cdpCacheApplianceID Unsigned32,
cdpCacheVlanID Unsigned32,
cdpCachePowerConsumption Unsigned32,
cdpCacheMTU Unsigned32,
cdpCacheSysName DisplayString,
cdpCacheSysObjectID OBJECT IDENTIFIER,
cdpCachePrimaryMgmtAddrType CiscoNetworkProtocol,
cdpCachePrimaryMgmtAddr CiscoNetworkAddress,
cdpCacheSecondaryMgmtAddrType CiscoNetworkProtocol,
cdpCacheSecondaryMgmtAddr CiscoNetworkAddress,
cdpCachePhysLocation DisplayString,
cdpCacheLastChange TimeStamp
}
cdpCacheIfIndex OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Normally, the ifIndex value of the local interface.
For 802.3 Repeaters for which the repeater ports do not
have ifIndex values assigned, this value is a unique
value for the port, and greater than any ifIndex value
supported by the repeater; the specific port number in
this case, is given by the corresponding value of
cdpInterfacePort."
::= { cdpCacheEntry 1 }
cdpCacheDeviceIndex OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A unique value for each device from which CDP messages
are being received."
::= { cdpCacheEntry 2 }
cdpCacheAddressType OBJECT-TYPE
SYNTAX CiscoNetworkProtocol
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"An indication of the type of address contained in the
corresponding instance of cdpCacheAddress."
::= { cdpCacheEntry 3 }
cdpCacheAddress OBJECT-TYPE
SYNTAX CiscoNetworkAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The (first) network-layer address of the device's
SNMP-agent as reported in the Address TLV of the most recently
received CDP message. For example, if the corresponding
instance of cacheAddressType had the value 'ip(1)', then
this object would be an IP-address."
::= { cdpCacheEntry 4 }
cdpCacheVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Version string as reported in the most recent CDP
message. The zero-length string indicates no Version
field (TLV) was reported in the most recent CDP
message."
::= { cdpCacheEntry 5 }
cdpCacheDeviceId OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Device-ID string as reported in the most recent CDP
message. The zero-length string indicates no Device-ID
field (TLV) was reported in the most recent CDP
message."
::= { cdpCacheEntry 6 }
cdpCacheDevicePort OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Port-ID string as reported in the most recent CDP
message. This will typically be the value of the ifName
object (e.g., 'Ethernet0'). The zero-length string
indicates no Port-ID field (TLV) was reported in the
most recent CDP message."
::= { cdpCacheEntry 7 }
cdpCachePlatform OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Device's Hardware Platform as reported in the most
recent CDP message. The zero-length string indicates
that no Platform field (TLV) was reported in the most
recent CDP message."
::= { cdpCacheEntry 8 }
cdpCacheCapabilities OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..4))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Device's Functional Capabilities as reported in the
most recent CDP message. For latest set of specific
values, see the latest version of the CDP specification.
The zero-length string indicates no Capabilities field
(TLV) was reported in the most recent CDP message."
REFERENCE "Cisco Discovery Protocol Specification, 10/19/94."
::= { cdpCacheEntry 9 }
cdpCacheVTPMgmtDomain OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The VTP Management Domain for the remote device's interface,
as reported in the most recently received CDP message.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -