Commit version 24.12.13800
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004-2015 New H3C Tech. Co., Ltd. All rights reserved.
|
||||
-- Copyright (C) 2004-2022 New H3C Tech. Co., Ltd. All rights reserved.
|
||||
--
|
||||
-- Description: There are three standard MIB definitions, "LLDP-MIB", "LLDP-EXT-
|
||||
-- DOT1-MIB", "LLDP-EXT-DOT3-MIB", define almost all MIB objects of LLDP.
|
||||
@ -15,7 +15,7 @@
|
||||
-- bor by matching local neighbor identity information with the informat-
|
||||
-- ion in the received chassis ID TLV and port ID TLV.
|
||||
-- Reference:
|
||||
-- Version: V1.1
|
||||
-- Version: V1.4
|
||||
-- History:
|
||||
-- V1.0 created by qizhenglin 2009-03-20
|
||||
-- V1.1 2015-09-01 Updated by zhaixiaoxiang
|
||||
@ -23,6 +23,13 @@
|
||||
-- to hh3clldpPortConfigTable
|
||||
-- Add the hh3clldpNbIdentityTable, hh3clldpPortStatusTable, and hh3clldpN-
|
||||
-- otifications tables.
|
||||
-- V1.2 2019-03-07 Updated by tuchanyong
|
||||
-- Add hh3clldpRemManAddrTable.
|
||||
-- V1.3 2019-09-17 Updated by tongwenxin
|
||||
-- The value 'rx(3)' is added for data type 'hh3clldpPortConfigCDPComplian-
|
||||
-- ceStatus'.
|
||||
-- V1.4 2022-07-18 Updated by Zheng jun
|
||||
-- add trap hh3clldpGlobalEnableStatus and hh3clldpLocManAddrChange
|
||||
-- ============================================================================
|
||||
HH3C-LLDP-EXT-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
@ -32,12 +39,15 @@ IMPORTS
|
||||
TruthValue, RowStatus
|
||||
FROM SNMPv2-TC
|
||||
hh3cCommon
|
||||
FROM HH3C-OID-MIB
|
||||
LldpPortNumber
|
||||
FROM HH3C-OID-MIB
|
||||
AddressFamilyNumbers
|
||||
FROM IANA-ADDRESS-FAMILY-NUMBERS-MIB
|
||||
LldpPortNumber, lldpRemTimeMark, lldpRemLocalPortNum, lldpRemIndex,
|
||||
LldpManAddrIfSubtype, lldpRemManAddr, lldpRemManAddrSubtype
|
||||
FROM LLDP-MIB;
|
||||
|
||||
hh3clldp MODULE-IDENTITY
|
||||
LAST-UPDATED "201509010000Z"
|
||||
LAST-UPDATED "202207181038Z"
|
||||
ORGANIZATION
|
||||
"New H3C Tech. Co., Ltd."
|
||||
CONTACT-INFO
|
||||
@ -48,6 +58,12 @@ hh3clldp MODULE-IDENTITY
|
||||
"
|
||||
DESCRIPTION
|
||||
"LLDP extended management information."
|
||||
REVISION "202207181038Z"
|
||||
DESCRIPTION "Add trap hh3clldpGlobalEnableStatus and hh3clldpLocManAddrChange."
|
||||
REVISION "201909170000Z"
|
||||
DESCRIPTION "Add the value of hh3clldpPortConfigCDPComplian."
|
||||
REVISION "201903070000Z"
|
||||
DESCRIPTION "Add hh3clldpRemManAddrTable."
|
||||
REVISION "201509010000Z"
|
||||
DESCRIPTION "Update this MIB module."
|
||||
REVISION "200903210000Z"
|
||||
@ -60,7 +76,7 @@ hh3clldpNotifications OBJECT IDENTIFIER ::= { hh3clldp 2 }
|
||||
-- LLDP extended MIB Objects
|
||||
--
|
||||
hh3clldpConfiguration OBJECT IDENTIFIER ::= { hh3clldpObjects 1 }
|
||||
|
||||
hh3clldpRemoteSystemsData OBJECT IDENTIFIER ::= { hh3clldpObjects 2 }
|
||||
--
|
||||
-- LLDP extended global configuration
|
||||
--
|
||||
@ -121,7 +137,8 @@ hh3clldpPortConfigPortNum OBJECT-TYPE
|
||||
hh3clldpPortConfigCDPComplianceStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
txAndRx(1),
|
||||
disabled(2)
|
||||
disabled(2),
|
||||
rx(3)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
@ -129,9 +146,12 @@ hh3clldpPortConfigCDPComplianceStatus OBJECT-TYPE
|
||||
"The administratively desired CDP Compliance status of the local LLDP a-
|
||||
gent. If the associated hh3clldpPortConfigCDPComplianceStatus object h-
|
||||
as a value of 'txAndRx', then the LLDP agent will receive CDP frames on
|
||||
this port, and will transmit CDP frames only after receive a CDP frames.
|
||||
If the associated lldpPortConfigAdminStatus object has a value of 'disa-
|
||||
bled', LLDP agent will not transmit or receive CDP frames on this port."
|
||||
this port, and will transmit CDP frames only after receiving a CDP fram-
|
||||
es.If the associated lldpPortConfigAdminStatus object has a value of 'd-
|
||||
isabled', LLDP agent will not transmit or receive CDP frames on this po-
|
||||
rt.If the associated hh3clldpPortConfigCDPComplianceStatus object has a
|
||||
value of 'rx', then the LLDP agent will receive CDP frames on this port,
|
||||
and will not transmit CDP frames."
|
||||
DEFVAL { disabled }
|
||||
::= { hh3clldpPortConfigEntry 2 }
|
||||
|
||||
@ -261,9 +281,9 @@ hh3clldpNbIdentityRowStatus OBJECT-TYPE
|
||||
"Row status: CreateAndGo, Active, or Destroy."
|
||||
::= { hh3clldpNbIdentityEntry 6 }
|
||||
|
||||
---
|
||||
--- hh3clldpPortStatusTable
|
||||
---
|
||||
--
|
||||
-- hh3clldpPortStatusTable
|
||||
--
|
||||
|
||||
hh3clldpPortStatusTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Hh3clldpPortStatusEntry
|
||||
@ -314,6 +334,90 @@ hh3clldpPortAgingStatus OBJECT-TYPE
|
||||
0."
|
||||
::= { hh3clldpPortStatusEntry 3 }
|
||||
|
||||
--
|
||||
-- hh3clldpRemManAddrTable
|
||||
--
|
||||
|
||||
hh3clldpRemManAddrTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Hh3clldpRemManAddrEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains management address information on the remote
|
||||
system."
|
||||
::= { hh3clldpRemoteSystemsData 1 }
|
||||
|
||||
hh3clldpRemManAddrEntry OBJECT-TYPE
|
||||
SYNTAX Hh3clldpRemManAddrEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of objects containing management address information."
|
||||
INDEX { lldpRemTimeMark,
|
||||
lldpRemLocalPortNum,
|
||||
lldpRemIndex,
|
||||
lldpRemManAddrSubtype,
|
||||
lldpRemManAddr }
|
||||
::= { hh3clldpRemManAddrTable 1 }
|
||||
|
||||
Hh3clldpRemManAddrEntry ::= SEQUENCE {
|
||||
hh3clldpRemManAddrSubtype AddressFamilyNumbers,
|
||||
hh3clldpRemManAddr OCTET STRING,
|
||||
hh3clldpRemManAddrIfSubtype LldpManAddrIfSubtype,
|
||||
hh3clldpRemManAddrIfId Integer32,
|
||||
hh3clldpRemManAddrOID OBJECT IDENTIFIER }
|
||||
|
||||
hh3clldpRemManAddrSubtype OBJECT-TYPE
|
||||
SYNTAX AddressFamilyNumbers
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The type of management address identifier."
|
||||
::= { hh3clldpRemManAddrEntry 1 }
|
||||
|
||||
hh3clldpRemManAddr OBJECT-TYPE
|
||||
SYNTAX OCTET STRING (SIZE(1..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The management address associated with the remote system. The value
|
||||
of the management address is a string of 1 to 255 characters.
|
||||
|
||||
If the value of hh3clldpRemManAddrSubtype is 1, the management address
|
||||
must be a IPv4 address in the dotted-decimal format. If the value of
|
||||
hh3clldpRemManAddrSubtype is 2, the management address must be a IPv6
|
||||
address in the most appropriate IPv6 address format."
|
||||
::= { hh3clldpRemManAddrEntry 2 }
|
||||
|
||||
hh3clldpRemManAddrIfSubtype OBJECT-TYPE
|
||||
SYNTAX LldpManAddrIfSubtype
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The enumeration value that identifies the interface numbering
|
||||
method used for defining the interface number."
|
||||
::= { hh3clldpRemManAddrEntry 3 }
|
||||
|
||||
hh3clldpRemManAddrIfId OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The integer value used to identify the interface number
|
||||
regarding the management address component associated with
|
||||
the remote system."
|
||||
::= { hh3clldpRemManAddrEntry 4 }
|
||||
|
||||
hh3clldpRemManAddrOID OBJECT-TYPE
|
||||
SYNTAX OBJECT IDENTIFIER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The OID value used to identify the type of hardware component
|
||||
or protocol entity associated with the management address
|
||||
advertised by the remote system agent."
|
||||
::= { hh3clldpRemManAddrEntry 5 }
|
||||
|
||||
--
|
||||
-- ***********************************************************
|
||||
--
|
||||
@ -345,4 +449,38 @@ hh3clldpAgingStatusChange NOTIFICATION-TYPE
|
||||
"This notification will be sent when the neighbor aging protection
|
||||
status of a port is changed."
|
||||
::= { hh3clldpPortStatusTrap 2 }
|
||||
|
||||
hh3clldpGlobalEnableStatus NOTIFICATION-TYPE
|
||||
OBJECTS { hh3clldpAdminStatus }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This notification will be sent when the global LLDP
|
||||
status is changed."
|
||||
::= { hh3clldpPortStatusTrap 3 }
|
||||
|
||||
hh3clldpLocManAddrChange NOTIFICATION-TYPE
|
||||
OBJECTS { hh3clldpManAddr, hh3clldpPortName }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This notification will be sent when the local LLDP
|
||||
management address of a port is changed."
|
||||
::= { hh3clldpPortStatusTrap 4 }
|
||||
|
||||
hh3clldpTrapObjects OBJECT IDENTIFIER ::= { hh3clldp 3 }
|
||||
hh3clldpManAddr OBJECT-TYPE
|
||||
SYNTAX OCTET STRING (SIZE (1..31))
|
||||
MAX-ACCESS accessible-for-notify
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Management address"
|
||||
::= { hh3clldpTrapObjects 1 }
|
||||
|
||||
hh3clldpPortName OBJECT-TYPE
|
||||
SYNTAX OCTET STRING (SIZE (0..255))
|
||||
MAX-ACCESS accessible-for-notify
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Interface name"
|
||||
::= { hh3clldpTrapObjects 2 }
|
||||
|
||||
END
|
||||
|
Reference in New Issue
Block a user