-- ============================================================================ -- Copyright (C) 2004-2015 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. -- This document defines more MIB objects privately For LLDP implementation. -- 1)LLDP default global status is disabled, a management object needed to -- enable it. -- 2)LLDP needs to be compliable with CDP (Non standard IEEE link layer di- -- scovery protocol). A management object needed to enable or disable -- compliance. -- 3)For compliance with CDP, port based control management object is need- -- ed. -- 4)LLDP is able to control the status of a port that connects to a neigh- -- 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 -- History: -- V1.0 created by qizhenglin 2009-03-20 -- V1.1 2015-09-01 Updated by zhaixiaoxiang -- Add hh3clldpPortConfigValidationAction and hh3clldpPortConfigAgingAction -- to hh3clldpPortConfigTable -- Add the hh3clldpNbIdentityTable, hh3clldpPortStatusTable, and hh3clldpN- -- otifications tables. -- ============================================================================ HH3C-LLDP-EXT-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Integer32, NOTIFICATION-TYPE FROM SNMPv2-SMI TruthValue, RowStatus FROM SNMPv2-TC hh3cCommon FROM HH3C-OID-MIB LldpPortNumber FROM LLDP-MIB; hh3clldp MODULE-IDENTITY LAST-UPDATED "201509010000Z" ORGANIZATION "New H3C Tech. 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 "LLDP extended management information." REVISION "201509010000Z" DESCRIPTION "Update this MIB module." REVISION "200903210000Z" DESCRIPTION "The initial revision of this MIB module." ::= { hh3cCommon 100 } hh3clldpObjects OBJECT IDENTIFIER ::= { hh3clldp 1 } hh3clldpNotifications OBJECT IDENTIFIER ::= { hh3clldp 2 } -- -- LLDP extended MIB Objects -- hh3clldpConfiguration OBJECT IDENTIFIER ::= { hh3clldpObjects 1 } -- -- LLDP extended global configuration -- hh3clldpAdminStatus OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "The global administratively desired status of the local LLDP agent." ::= { hh3clldpConfiguration 1 } hh3clldpComplianceCDPStatus OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "The global administratively desired status of CDP Compliance." ::= { hh3clldpConfiguration 2 } -- -- hh3clldpPortConfigTable: LLDP configuration on a per port basis -- hh3clldpPortConfigTable OBJECT-TYPE SYNTAX SEQUENCE OF Hh3clldpPortConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The port-based table that controls extended functions." ::= { hh3clldpConfiguration 3 } hh3clldpPortConfigEntry OBJECT-TYPE SYNTAX Hh3clldpPortConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "LLDP extended configuration information for a particular port. This c- onfiguration parameter controls compliance with other non-standard link layer discovery protocol such as CDP." INDEX { hh3clldpPortConfigPortNum } ::= { hh3clldpPortConfigTable 1 } Hh3clldpPortConfigEntry ::= SEQUENCE { hh3clldpPortConfigPortNum LldpPortNumber, hh3clldpPortConfigCDPComplianceStatus INTEGER, hh3clldpPortConfigValidationAction Integer32, hh3clldpPortConfigAgingAction Integer32 } hh3clldpPortConfigPortNum OBJECT-TYPE SYNTAX LldpPortNumber MAX-ACCESS not-accessible STATUS current DESCRIPTION "The index value used to identify the port component associated with th- is entry." ::= { hh3clldpPortConfigEntry 1 } hh3clldpPortConfigCDPComplianceStatus OBJECT-TYPE SYNTAX INTEGER { txAndRx(1), disabled(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "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." DEFVAL { disabled } ::= { hh3clldpPortConfigEntry 2 } hh3clldpPortConfigValidationAction OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "Action that neighbor validation takes on a port. Bit 1 indicates the block action. Bit 2 indicates the shutdown action." ::= { hh3clldpPortConfigEntry 3 } hh3clldpPortConfigAgingAction OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "Action that neighbor aging takes on a port. Bit 1 indicates the block action. Bit 2 indicates the shutdown action." ::= { hh3clldpPortConfigEntry 4 } -- -- hh3clldpNbIdentityTable: -- hh3clldpNbIdentityTable OBJECT-TYPE SYNTAX SEQUENCE OF Hh3clldpNbIdentityEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table contains the neighbor identity information of a port." ::= { hh3clldpConfiguration 4 } hh3clldpNbIdentityEntry OBJECT-TYPE SYNTAX Hh3clldpNbIdentityEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list of objects containing the neighbor identity information of a port." INDEX { hh3clldpNbIdentityPortNum } ::= { hh3clldpNbIdentityTable 1 } Hh3clldpNbIdentityEntry ::= SEQUENCE { hh3clldpNbIdentityPortNum LldpPortNumber, hh3clldpNbIdentityChassisIDSubtype INTEGER, hh3clldpNbIdentityChassisID OCTET STRING, hh3clldpNbIdentityPortIDSubtype INTEGER, hh3clldpNbIdentityPortID OCTET STRING, hh3clldpNbIdentityRowStatus RowStatus } hh3clldpNbIdentityPortNum OBJECT-TYPE SYNTAX LldpPortNumber MAX-ACCESS not-accessible STATUS current DESCRIPTION "Port number." ::= { hh3clldpNbIdentityEntry 1 } hh3clldpNbIdentityChassisIDSubtype OBJECT-TYPE SYNTAX INTEGER { default(0), chassisComponent(1), interfaceAlias(2), portComponent(3), macAddress(4), networkAddress(5), interfaceName(6), local(7) } MAX-ACCESS read-write STATUS current DESCRIPTION "Chassis ID subtype. The value range is 0 to 7, and the default value is 0. The values 1 to 7 represents the chassis component, interface al- ias, port component, MAC address, network address, interface name, and locally assigned subtypes, respectively." ::= { hh3clldpNbIdentityEntry 2 } hh3clldpNbIdentityChassisID OBJECT-TYPE SYNTAX OCTET STRING (SIZE(0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "Chassis ID, a case-insensitive string of 1 to 255 characters. By default, the string is empty. If the value of hh3clldpNbIdentityChassisIDSubtype is 4, the chassis ID must be a MAC address in H-H-H format." ::= { hh3clldpNbIdentityEntry 3 } hh3clldpNbIdentityPortIDSubtype OBJECT-TYPE SYNTAX INTEGER { default(0), interfaceAlias(1), portComponent(2), macAddress(3), networkAddress(4), interfaceName(5), agentCircuitId(6), local(7) } MAX-ACCESS read-write STATUS current DESCRIPTION "Port ID subtype. The value range is 0 to 7, and the default value is 0. The values 1 to 7 represents the interface alias, port co- mponent, MAC address, network address, interface name, agent circuit ID, and locally assigned subtypes, respectively." ::= { hh3clldpNbIdentityEntry 4 } hh3clldpNbIdentityPortID OBJECT-TYPE SYNTAX OCTET STRING (SIZE(0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "Port ID, a case-insensitive string of 1 to 255 characters. By default, the string is empty. If the value of hh3clldpNbIdentityPortIDSubtype is 3, the port ID must be a MAC address in H-H-H format." ::= { hh3clldpNbIdentityEntry 5 } hh3clldpNbIdentityRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Row status: CreateAndGo, Active, or Destroy." ::= { hh3clldpNbIdentityEntry 6 } --- --- hh3clldpPortStatusTable --- hh3clldpPortStatusTable OBJECT-TYPE SYNTAX SEQUENCE OF Hh3clldpPortStatusEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table contains the state information of a port." ::= { hh3clldpConfiguration 5 } hh3clldpPortStatusEntry OBJECT-TYPE SYNTAX Hh3clldpPortStatusEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list of objects containing the state information of a port." INDEX { hh3clldpPortStatusPortNum } ::= { hh3clldpPortStatusTable 1 } Hh3clldpPortStatusEntry ::= SEQUENCE { hh3clldpPortStatusPortNum LldpPortNumber, hh3clldpPortValidationStatus Integer32, hh3clldpPortAgingStatus Integer32 } hh3clldpPortStatusPortNum OBJECT-TYPE SYNTAX LldpPortNumber MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Port number." ::= { hh3clldpPortStatusEntry 1 } hh3clldpPortValidationStatus OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Neighbor validation protection status of the port. The default value is 0." ::= { hh3clldpPortStatusEntry 2 } hh3clldpPortAgingStatus OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Neighbor aging protection status of the port. The default value is 0." ::= { hh3clldpPortStatusEntry 3 } -- -- *********************************************************** -- -- L L D P M I B N O T I F I C A T I O N S -- -- *********************************************************** -- hh3clldpPortStatusTrap OBJECT IDENTIFIER ::= { hh3clldpNotifications 0 } hh3clldpValidationStatusChange NOTIFICATION-TYPE OBJECTS { hh3clldpPortStatusPortNum, hh3clldpPortValidationStatus } STATUS current DESCRIPTION "This notification will be sent when the neighbor validation protection status of a port is changed." ::= { hh3clldpPortStatusTrap 1 } hh3clldpAgingStatusChange NOTIFICATION-TYPE OBJECTS { hh3clldpPortStatusPortNum, hh3clldpPortAgingStatus } STATUS current DESCRIPTION "This notification will be sent when the neighbor aging protection status of a port is changed." ::= { hh3clldpPortStatusTrap 2 } END