-- ============================================================================ -- Copyright (C) 2009 by HUAWEI TECHNOLOGIES. All rights reserved. -- Description: The mib is used for defining the MIB objects of the two layer -- IPDSLAM configuration that based on port. -- The port configuration includes configuring and querying all -- types of physical and service virtual ports. -- Reference: -- Version: V1.14 -- ============================================================================ HUAWEI-IPDSLAM-L2PPORTCONFIG-MIB DEFINITIONS ::= BEGIN IMPORTS ifIndex FROM IF-MIB OBJECT-TYPE, MODULE-IDENTITY, Integer32 FROM SNMPv2-SMI huaweiUtility FROM HUAWEI-MIB TruthValue, RowStatus, MacAddress, TEXTUAL-CONVENTION, DisplayString FROM SNMPv2-TC; hwIpDslamL2pPortConfig MODULE-IDENTITY LAST-UPDATED "201003220000Z" ORGANIZATION "Huawei Technologies Co.,Ltd." CONTACT-INFO "Floor 5 ,Block 4, R&D Building, Huawei Longgang Production Base, Shenzhen, P.R.C. http://www.huawei.com Zip:518129 Email:support@huawei.com " DESCRIPTION "The mib module defines the MIB objects of the two layer IPDSLAM configuration that based on port. The port configuration includes configuring and querying all types of physical and service virtual ports." -- Revision history REVISION "201003220000Z" DESCRIPTION "V1.14, correct expression." REVISION "201003030000Z" DESCRIPTION "V1.13, add enum value ipoeSmacMaxIpCount(7), and add mib-node hwIpDslamL2pVlanCtrlVmacStatus,modify multi-mac to multiMac,modify single-mac to singleMac." REVISION "201001041100Z" DESCRIPTION "V1.12, Modify datatype, such as INTEGER to Integer32.Modify for VLAN ctrl table." REVISION "200712251030Z" DESCRIPTION "V1.10, extend the value of the hwIpDslamL2pSrvFlowConfigObject with ipoe-smac-max-ip-count(7)in the hwIpDslamL2pSrvFlowConfigTable." REVISION "200910190000Z" DESCRIPTION "V1.09, add hwIpDslamL2pVlanCtrlVmacStatus in hwIpDslamL2pVlanCtrlTable to support configugering vmac switch of the vlan separatly." REVISION "200606310000Z" DESCRIPTION "V1.00,Initial version" ::= { huaweiUtility 109} hwIpDslamL2pPortConfigTable OBJECT-TYPE SYNTAX SEQUENCE OF HwIpDslamL2pPortConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Used for setting and querying the configuration based on port. The indexes of this table are hwIpDslamL2pPortConfigIfIndex, hwIpDslamL2pPortConfigSecondIndex, hwIpDslamL2pPortConfigThirdIndex, and hwIpDslamL2pPortConfigObject. " ::= { hwIpDslamL2pPortConfig 1 } hwIpDslamL2pPortConfigEntry OBJECT-TYPE SYNTAX HwIpDslamL2pPortConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Used for setting and querying the configuration based on port. The indexes of this entry are hwIpDslamL2pPortConfigIfIndex, hwIpDslamL2pPortConfigSecondIndex, hwIpDslamL2pPortConfigThirdIndex, and hwIpDslamL2pPortConfigObject. " INDEX { hwIpDslamL2pPortConfigIfIndex, hwIpDslamL2pPortConfigSecondIndex, hwIpDslamL2pPortConfigThirdIndex, hwIpDslamL2pPortConfigObject } ::= { hwIpDslamL2pPortConfigTable 1 } HwIpDslamL2pPortConfigEntry ::= SEQUENCE { hwIpDslamL2pPortConfigIfIndex Integer32, hwIpDslamL2pPortConfigSecondIndex Integer32, hwIpDslamL2pPortConfigThirdIndex Integer32, hwIpDslamL2pPortConfigObject INTEGER, hwIpDslamL2pPortConfigType INTEGER, hwIpDslamL2pPortConfigValue DisplayString, hwIpDslamL2pPortConfigRowStatus RowStatus } hwIpDslamL2pPortConfigIfIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "The same as the ifIndex in Huawei MIB. To set or query hwIpDslamL2pPortConfigTable, you need to input the value of hwIpDslamL2pPortConfigIfIndex on the NMS. " ::= { hwIpDslamL2pPortConfigEntry 1 } hwIpDslamL2pPortConfigSecondIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An invalid value needs to be input for this leaf for the ADSL, SHDSL, VDSL2, and OPFA boards. The invalid value is defined as 0xFFFFFFFFFFFFFFFF. For GPON boards, in the xPON distributed mode, the configuration granularity of L2 enhanced services based on physical port is GEM port. In this case, this leaf is used to indicate the GEM port ID and the value range is 128-3999. In the xPON (EPON and GPON) profile mode, this leaf is used to indicate the ONT ID. " ::= { hwIpDslamL2pPortConfigEntry 2 } hwIpDslamL2pPortConfigThirdIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "In the xPON profile mode, the configuration granularity of L2 services based on physical port is GEM index and the value range is 0-127. For the ADSL, SHDSL, VDSL2, OPFA, and EPON boards, an invalid value needs to be input for this leaf. For GPON boards, this leaf takes effect only in the xPON profile mode. In this case, this leaf is used to indicate the GEM index of a GPON port. In other modes, an invalid value needs to be input for this leaf. " ::= { hwIpDslamL2pPortConfigEntry 3 } hwIpDslamL2pPortConfigObject OBJECT-TYPE SYNTAX INTEGER { pppoeSessionCount(1), pitp(2), dhcpOption82(3) } MAX-ACCESS not-accessible STATUS current DESCRIPTION "Indicates the configured object. Options: 1. pppoeSessionCount(1) 2. pitp(2) 3. dhcpOption82(3) " ::= { hwIpDslamL2pPortConfigEntry 4 } hwIpDslamL2pPortConfigType OBJECT-TYPE SYNTAX INTEGER { integer(1), string(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Indicates the value type of the configured object. Options: 1. integer(1) 2. string(2) Currently, only integer(1) is supported. " ::= { hwIpDslamL2pPortConfigEntry 5 } hwIpDslamL2pPortConfigValue OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Indicates the value of the configured object. Because some configured objects must be of the integer type while others may be of the character string type, the values of the configured objects must be input as a character string when the objects are configured through this leaf. The length of the character string is 0-255 characters. When hwIpDslamL2pPortConfigObject is set to pppoeSessionCount(1), the input range is (1..8) and the default value is 8. When hwIpDslamL2pPortConfigObject is set to pitp(2), the input range is (1..2), where 1 indicates enabled and 2 indicates disabled. The default value is 1. When hwIpDslamL2pPortConfigObject is set to dhcpOption82(3), the input range is (1..2), where 1 indicates enabled and 2 indicates disabled. The default value is 1. " ::= { hwIpDslamL2pPortConfigEntry 6 } hwIpDslamL2pPortConfigRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This leaf must be set and issued if the configured object is the character string type. Options: 1. active(1) 2. createAndgo(4) 3. destroy(6) Currently, configured objects support only the integer type so this leaf can be ignored. " DEFVAL { active } ::= { hwIpDslamL2pPortConfigEntry 7 } hwIpDslamL2pSrvFlowConfigTable OBJECT-TYPE SYNTAX SEQUENCE OF HwIpDslamL2pSrvFlowConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Used for setting and querying the status of L2 enhanced features based on service port. The indexes of this table are hwIpDslamL2pSrvFlowConfigIndex and hwIpDslamL2pSrvFlowConfigObject. " ::= { hwIpDslamL2pPortConfig 2 } hwIpDslamL2pSrvFlowConfigEntry OBJECT-TYPE SYNTAX HwIpDslamL2pSrvFlowConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Used for setting and querying the status of L2 enhanced features based on service port. The indexes of this entry are hwIpDslamL2pSrvFlowConfigIndex and hwIpDslamL2pSrvFlowConfigObject. " INDEX { hwIpDslamL2pSrvFlowConfigIndex, hwIpDslamL2pSrvFlowConfigObject } ::= { hwIpDslamL2pSrvFlowConfigTable 1 } HwIpDslamL2pSrvFlowConfigEntry ::= SEQUENCE { hwIpDslamL2pSrvFlowConfigIndex Integer32, hwIpDslamL2pSrvFlowConfigObject INTEGER, hwIpDslamL2pSrvFlowConfigType INTEGER, hwIpDslamL2pSrvFlowConfigValue DisplayString, hwIpDslamL2pSrvFlowConfigRowStatus RowStatus } hwIpDslamL2pSrvFlowConfigIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "The meaning and value of this leaf are the same as those of hwExtSrvFlowIndex in Huawei's MIB hwExtSrvFlowTable. " ::= { hwIpDslamL2pSrvFlowConfigEntry 1 } hwIpDslamL2pSrvFlowConfigObject OBJECT-TYPE SYNTAX INTEGER { macSpoofingMacCount(1), maxSessionCount(2), pitp(3), dhcpOption82(4), pitpForbidForwarding(5), option82ForbidForwarding(6), ipoeSmacMaxIpCount(7) } MAX-ACCESS not-accessible STATUS current DESCRIPTION "Indicates the configured object. 1. macSpoofingMacCount(1) -Indicates the maximum number of MAC addresses that can be bound to each service port for the anti-MAC spoofing feature. 2. maxSessionCount(2) -Indicates the maximum number of sessions that can be created on each service port for the PPPoE SMAC service. This option is supported by only the GPON service port. 3. pitp(3) -Enables/Disables PITP on a service port. 4. dhcpOption82(4) -Enables/Disables DHCP Option82 on a service port. 5. pitpForbidForwarding(5) -Not allow the user-side packet to carry PITP information. This function is enabled or disabled based on service port. 6. option82ForbidForwarding(6) -Not allow the user-side packet to carry DHCP Option82 information. This function is enabled or disabled based on service port. 7. ipoeSmacMaxIpCount(7) -Indicates the maximum number of IP addresses permitted by each service port in the IPoE SMAC mode. " ::= { hwIpDslamL2pSrvFlowConfigEntry 2 } hwIpDslamL2pSrvFlowConfigType OBJECT-TYPE SYNTAX INTEGER { integer(1), string(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Indicates the type of the configured object. Options: 1. integer(1) 2. string(2) Currently, only integer(1) is supported. " ::= { hwIpDslamL2pSrvFlowConfigEntry 3 } hwIpDslamL2pSrvFlowConfigValue OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Indicates the value of the configured object. Because some configured objects must be of the integer type while others may be of the character string type, the values of the configured objects must be input as a character string when the objects are configured through this leaf. The length of the character string is 0-255 characters. When hwIpDslamL2pSrvFlowConfigObject is set to macSpoofingMacCount(1), the input range is {0..8} and the default value is 8. When hwIpDslamL2pSrvFlowConfigObject is set to maxSessionCount(2), the input range is {1..8} and the default value is 8. When hwIpDslamL2pSrvFlowConfigObject is set to pitp(3), the input range is {1..2}, where 1 indicates enabled and 2 indicates disabled. The default value is 1. When hwIpDslamL2pSrvFlowConfigObject is set to dhcpOption82(4), the input range is {1..2}, where 1 indicates enabled and 2 indicates disabled. The default value is 1. When hwIpDslamL2pSrvFlowConfigObject is set to pitpForbidForwarding(5), the input range is {1..2}, where 1 indicates enabled and 2 indicates disabled. The default value is 1. When hwIpDslamL2pSrvFlowConfigObject is set to option82ForbidForwarding(6), the input range is {1..2}, where 1 indicates enabled and 2 indicates disabled. The default value is 1. When hwIpDslamL2pSrvFlowConfigObject is set to ipoeSmacMaxIpCount(7), the input range is {1..8} and the default value is 8. " ::= { hwIpDslamL2pSrvFlowConfigEntry 4 } hwIpDslamL2pSrvFlowConfigRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Indicates the row status. This leaf must be set and issued together with the configured object if the configured object is of the character string type. This leaf must not be set or issued together with the configured object if the configured object is of the integer type. For example, configured objects max-session-count and ipoe-smac-max-ip-count are of the integer type, so the row status must not be set or issued together with the configured objects in relevant operations. During the configuration of a character string type configured object, you need to set the row status to createAndGo(4) and perform the set operation. Perform the get operation to query the value of a character string type configured object. The queried value of the row status is always active(1). " DEFVAL { active } ::= { hwIpDslamL2pSrvFlowConfigEntry 5 } hwIpDslamL2pVlanCtrlTable OBJECT-TYPE SYNTAX SEQUENCE OF HwIpDslamL2pVlanCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Used for setting and querying the status of L2 protocol features based on VLAN. The index of this table is hwIpDslamL2pVlanCtrlIndex. " ::= { hwIpDslamL2pPortConfig 3 } hwIpDslamL2pVlanCtrlEntry OBJECT-TYPE SYNTAX HwIpDslamL2pVlanCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Used for setting and querying the status of L2 protocol features based on VLAN. The index of this entry is hwIpDslamL2pVlanCtrlIndex. " INDEX { hwIpDslamL2pVlanCtrlIndex } ::= { hwIpDslamL2pVlanCtrlTable 1 } HwIpDslamL2pVlanCtrlEntry ::= SEQUENCE { hwIpDslamL2pVlanCtrlIndex Integer32, hwIpDslamL2pVlanCtrlMacSpoofing INTEGER, hwIpDslamL2pVlanCtrlPppoeMacMode INTEGER, hwIpDslamL2pVlanCtrlDhcpBroadcastControl INTEGER, hwIpDslamL2pVlanCtrlVmacStatus INTEGER } hwIpDslamL2pVlanCtrlIndex OBJECT-TYPE SYNTAX Integer32 (1..4095) MAX-ACCESS not-accessible STATUS current DESCRIPTION "Used as the index for the VLAN-based feature control and is issued together with various leaves corresponding to the features to be configured. Range: 1-4095 " ::= { hwIpDslamL2pVlanCtrlEntry 1 } hwIpDslamL2pVlanCtrlMacSpoofing OBJECT-TYPE SYNTAX INTEGER { disable(1), enable(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Used for setting or querying the anti-MAC-spoofing status of the VLAN. Options: 1. disable(1) 2. enable(2) Default: disable(1) " ::= { hwIpDslamL2pVlanCtrlEntry 2 } hwIpDslamL2pVlanCtrlPppoeMacMode OBJECT-TYPE SYNTAX INTEGER { multiMac(1), singleMac(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Indicates the MAC address mode of a PPPoE user. Options: 1. multiMac(1) 2. singleMac(2) Default: multiMac(1) " ::= {hwIpDslamL2pVlanCtrlEntry 3 } hwIpDslamL2pVlanCtrlDhcpBroadcastControl OBJECT-TYPE SYNTAX INTEGER { disable(1), enable(2) } MAX-ACCESS read-write STATUS current DESCRIPTION " The status of DhcpBroadcastControl switch. " ::= { hwIpDslamL2pVlanCtrlEntry 4 } hwIpDslamL2pVlanCtrlVmacStatus OBJECT-TYPE SYNTAX INTEGER { disable(1), enable(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Identifies the VMAC status of the specified VLAN, which is used for setting the VMAC status of the specified VLAN. Options: 1. disable(1) 2. enable(2) Default: disable(1) " ::= { hwIpDslamL2pVlanCtrlEntry 5 } END