Observium_CE/mibs/huawei/HUAWEI-IPDSLAM-INTERFACE-MIB

610 lines
25 KiB
Plaintext

-- ============================================================================
-- Copyright (C) 2018 by HUAWEI TECHNOLOGIES. All rights reserved.
-- Description: The MIB used for configuring the information of the interface
-- including the IP address on it.
-- Reference:
-- Version: V1.13
-- ============================================================================
HUAWEI-IPDSLAM-INTERFACE-MIB DEFINITIONS ::= BEGIN
IMPORTS
huaweiUtility
FROM HUAWEI-MIB
IpAddress, Integer32, Unsigned32, Counter64, Gauge32, OBJECT-TYPE,
MODULE-IDENTITY, OBJECT-IDENTITY, NOTIFICATION-TYPE
FROM SNMPv2-SMI
RowStatus,MacAddress,DisplayString
FROM SNMPv2-TC
InetAddressType, InetAddress, InetAddressPrefixLength
FROM INET-ADDRESS-MIB;
hwIpDslamInterface MODULE-IDENTITY
LAST-UPDATED "201803270000Z"
ORGANIZATION "Huawei Technologies Co.,Ltd."
CONTACT-INFO
"Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China
Website: http://www.huawei.com
Email: support@huawei.com
"
DESCRIPTION
"The MIB used for configuring the information of the interface
including the IP address on it.
"
-- Revision history
REVISION "201803270000Z"
DESCRIPTION "V1.13, Modified the syntax info of hwIpDslamInterfaceFwdStatsUnitNum."
REVISION "201709120000Z"
DESCRIPTION "V1.12, Modified the syntax info of hwIpDslamInterfaceFwdStatsUpPkts add hwIpDslamInterfaceFwdStatsDownPkts."
REVISION "201708090000Z"
DESCRIPTION "V1.11, add the hwIpDslamInterfaceFwdStatsTable."
REVISION "201510310000Z"
DESCRIPTION "V1.10, Modified the syntax info of hwIpDslamInterfaceDscpForControlProtocol and hwIpDslamInterfaceDscpForManagementProtocol."
REVISION "201409010000Z"
DESCRIPTION "V1.09, modified the default value of hwIpDslamInterfaceDscpForControlProtocol and hwIpDslamInterfaceDscpForManagementProtoco."
REVISION "201409010000Z"
DESCRIPTION "V1.08, modified the date of copyright."
REVISION "201408110000Z"
DESCRIPTION "V1.07, added hwIpDslamInterfaceDscpForControlProtocol and hwIpDslamInterfaceDscpForManagementProtocol in hwIpDslamInterfacePriorityTable."
REVISION "201206300000Z"
DESCRIPTION "V1.06, added hwIpDslamInterfacePriorityDefaultTos, hwIpDslamInterfacePriorityTosForDhcp and hwIpDslamInterfacePriorityTosForRoutingPkt in hwIpDslamInterfacePriorityTable."
REVISION "201109210000Z"
DESCRIPTION "V1.05, modify the year in Copyright description and the format of revision history."
REVISION "201105180000Z"
DESCRIPTION "V1.04, modify the string length range of hwIpDslamInterfaceIfDescr."
REVISION "201012180000Z"
DESCRIPTION "V1.03, add the hwIpDslamInterfacePriorityTable."
REVISION "201012180000Z"
DESCRIPTION "V1.02, modified the description of hwIpDslamInterfaceIpAddressType and hwIpDslamInterfaceIpAddress."
REVISION "201007090900Z"
DESCRIPTION "V1.01, initial version."
::= { huaweiUtility 161 }
hwIpDslamInterfaceObject OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Interface Object.
"
::= { hwIpDslamInterface 1}
hwIpDslamInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwIpDslamInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to manage the interface object, such as
create, modify and delete. The indexes of this table are
hwIpDslamInterfaceType and hwIpDslamInterfaceUnitNum.
"
::= { hwIpDslamInterfaceObject 1 }
hwIpDslamInterfaceEntry OBJECT-TYPE
SYNTAX HwIpDslamInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to manage the interface object, such as
create, modify and delete. The indexes of this entry are
hwIpDslamInterfaceType and hwIpDslamInterfaceUnitNum.
"
INDEX { hwIpDslamInterfaceType, hwIpDslamInterfaceUnitNum }
::= { hwIpDslamInterfaceTable 1 }
HwIpDslamInterfaceEntry ::= SEQUENCE
{
hwIpDslamInterfaceType INTEGER,
hwIpDslamInterfaceUnitNum Integer32,
hwIpDslamInterfaceIfIndex Integer32,
hwIpDslamInterfaceIfName DisplayString,
hwIpDslamInterfaceIfDescr DisplayString,
hwIpDslamInterfaceAdminStatus INTEGER,
hwIpDslamInterfaceRowStatus RowStatus
}
hwIpDslamInterfaceType OBJECT-TYPE
SYNTAX INTEGER
{
inloopback(1),
null(2),
meth(3),
vlanif(4),
loopback(5),
tunnel(6)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the interface type.
Options:
1. inloopback(1) -the system inner loopback interface
2. null(2) -the NULL interface
3. meth(3) -the ethernet interface for management
4. vlanif(4) -the VLAN interface
5. loopback(5) -the loopback interface
6. tunnel(6) -the tunnel interface
"
::= { hwIpDslamInterfaceEntry 1 }
hwIpDslamInterfaceUnitNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the interface unit number. The valid range of its
value lies on the interface type.
"
::= { hwIpDslamInterfaceEntry 2 }
hwIpDslamInterfaceIfIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"A unique value for each interface. The interface identified by
a particular value of this index is the same interface as
identified by the same value of the IF-MIB's ifIndex.
"
::= { hwIpDslamInterfaceEntry 3 }
hwIpDslamInterfaceIfName OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the interface name.
"
::= { hwIpDslamInterfaceEntry 4 }
hwIpDslamInterfaceIfDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..80))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the description of this interface.
"
::= { hwIpDslamInterfaceEntry 5 }
hwIpDslamInterfaceAdminStatus OBJECT-TYPE
SYNTAX INTEGER
{
up(1),
down(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Interface admin status
Options:
1. up(1) -indicates that the interface is up
2. down(2) -indicates that the interface is down
"
::= { hwIpDslamInterfaceEntry 6 }
hwIpDslamInterfaceRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the row status.
Options:
1. active(1) -indicates query operation
2. createAndGo(4) -indicates creating an interface
3. destroy(6) -indicates deleting an interface
"
::= { hwIpDslamInterfaceEntry 7 }
--
-- hwIpDslamInterfaceIpTable
--
hwIpDslamInterfaceIpTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwIpDslamInterfaceIpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to manage the interface object, such as
create, modify and delete. The indexes of this table are
hwIpDslamInterfaceIpIfIndex, hwIpDslamInterfaceIpAddressType,
hwIpDslamInterfaceIpAddress and hwIpDslamInterfaceIpPfxLen.
Make sure that the interface identified by the
hwIpDslamInterfaceIpAddress is already created in
hwIpDslamInterfaceTable.
"
::= { hwIpDslamInterfaceObject 2 }
hwIpDslamInterfaceIpEntry OBJECT-TYPE
SYNTAX HwIpDslamInterfaceIpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to manage the interface object, such as
create, modify and delete. The indexes of this entry are
hwIpDslamInterfaceIpIfIndex, hwIpDslamInterfaceIpAddressType,
hwIpDslamInterfaceIpAddress and hwIpDslamInterfaceIpPfxLen.
Make sure that the interface identified by the
hwIpDslamInterfaceIpAddress is already created in
hwIpDslamInterfaceTable.
"
INDEX { hwIpDslamInterfaceIpIfIndex, hwIpDslamInterfaceIpAddressType, hwIpDslamInterfaceIpAddress, hwIpDslamInterfaceIpPfxLen }
::= { hwIpDslamInterfaceIpTable 1 }
HwIpDslamInterfaceIpEntry ::= SEQUENCE
{
hwIpDslamInterfaceIpIfIndex Integer32,
hwIpDslamInterfaceIpAddressType InetAddressType,
hwIpDslamInterfaceIpAddress InetAddress,
hwIpDslamInterfaceIpPfxLen InetAddressPrefixLength,
hwIpDslamInterfaceIpFlag INTEGER,
hwIpDslamInterfaceIpMethod INTEGER,
hwIpDslamInterfaceIpRowStatus RowStatus
}
hwIpDslamInterfaceIpIfIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates which interface the IP address is to be configured.
The value of it is same with the hwIpDslamInterfaceIfIndex
in hwIpDslamInterfaceTable.
"
::= { hwIpDslamInterfaceIpEntry 1 }
hwIpDslamInterfaceIpAddressType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The type of the hwIpDslamInterfaceIpAddress address, as defined
in the InetAddress MIB.
Now only support ipv4(1).
"
REFERENCE "RFC 4001"
::= { hwIpDslamInterfaceIpEntry 2 }
hwIpDslamInterfaceIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IP address of the interface.
The type of this address is determined by the value of
the hwIpDslamInterfaceIpAddressType object.
"
::= { hwIpDslamInterfaceIpEntry 3 }
hwIpDslamInterfaceIpPfxLen OBJECT-TYPE
SYNTAX InetAddressPrefixLength
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"If hwIpDslamInterfaceIpAddressType is set to ipv4(1)
or ipv6(2), then this value will contain an appropriate
prefix length for the IP address in object
hwIpDslamInterfaceIpAddress. Otherwise this value is
irrelevant and should be ignored.
"
::= { hwIpDslamInterfaceIpEntry 4 }
hwIpDslamInterfaceIpFlag OBJECT-TYPE
SYNTAX INTEGER
{
primary(1),
secondary(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the flag of the IP address.
Options:
1. primary(1) -indicates that this IP address is the primary
IP address of the interface
2. secondary(2) -indicates that this IP address is the primary
IP address of the interface.
One interface may have one primary IP address,
and several secondary IP addresses.
"
::= { hwIpDslamInterfaceIpEntry 5 }
hwIpDslamInterfaceIpMethod OBJECT-TYPE
SYNTAX INTEGER
{
static(1),
dhcp(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Interface IP address acquiring method.
Options:
1. static(1) -indicates the address was manually configured
2. dhcp(2) -indicates the address was assigned by a DHCP server
"
::= { hwIpDslamInterfaceIpEntry 6 }
hwIpDslamInterfaceIpRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the row status.
Options:
1. active(1) -indicates query operation
2. createAndGo(4) -indicates creating an IP address
3. destroy(6) -indicates deleting an IP address
"
::= { hwIpDslamInterfaceIpEntry 7 }
--
-- hwIpDslamInterfacePriorityTable
--
hwIpDslamInterfacePriorityTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwIpDslamInterfacePriorityEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to config the priority marked for the packet
send from the VLAN interface. The index of this table is
hwIpDslamInterfacePriorityIfIndex.
"
::= { hwIpDslamInterfaceObject 3 }
hwIpDslamInterfacePriorityEntry OBJECT-TYPE
SYNTAX HwIpDslamInterfacePriorityEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to config the priority marked for the packet
send from the VLAN interface. The index of this entry is
hwIpDslamInterfacePriorityIfIndex.
"
INDEX { hwIpDslamInterfacePriorityIfIndex }
::= { hwIpDslamInterfacePriorityTable 1 }
HwIpDslamInterfacePriorityEntry ::= SEQUENCE
{
hwIpDslamInterfacePriorityIfIndex Integer32,
hwIpDslamInterfacePriorityDefaultDscp Integer32,
hwIpDslamInterfacePriorityDscpForDhcp Integer32,
hwIpDslamInterfacePriorityDscpForRoutingPkt Integer32,
hwIpDslamInterfacePriorityDefaultTos Integer32,
hwIpDslamInterfacePriorityTosForDhcp Integer32,
hwIpDslamInterfacePriorityTosForRoutingPkt Integer32,
hwIpDslamInterfaceDscpForControlProtocol Unsigned32,
hwIpDslamInterfaceDscpForManagementProtocol Unsigned32
}
hwIpDslamInterfacePriorityIfIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates which interface the priority is to be configured on.
The value of it is same with the hwIpDslamInterfaceIfIndex
in hwIpDslamInterfaceTable.
"
::= { hwIpDslamInterfacePriorityEntry 1 }
hwIpDslamInterfacePriorityDefaultDscp OBJECT-TYPE
SYNTAX Integer32 (-1|0..63)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The DSCP value for all packet. A value of -1 indicates that
it has not been configured. In that case, the DSCP in packet
will use the value of 0.
"
::= { hwIpDslamInterfacePriorityEntry 2 }
hwIpDslamInterfacePriorityDscpForDhcp OBJECT-TYPE
SYNTAX Integer32 (-1|0..63)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The DSCP value for DHCP packet. A value of -1 indicates that
it has not been configured. In that case, the DSCP for
DHCP packet will use the value of
hwIpDslamInterfacePriorityDefaultDscp.
"
::= { hwIpDslamInterfacePriorityEntry 3 }
hwIpDslamInterfacePriorityDscpForRoutingPkt OBJECT-TYPE
SYNTAX Integer32 (-1|0..63)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The DSCP value for routing-protocol packet. A value of -1
indicates that it has not been configured. In that case,
the DSCP for routing-protocol packet will use the value of
hwIpDslamInterfacePriorityDefaultDscp.
"
::= { hwIpDslamInterfacePriorityEntry 4 }
hwIpDslamInterfacePriorityDefaultTos OBJECT-TYPE
SYNTAX Integer32 (-1|0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The TOS value for all packet. A value of -1 indicates that
it has not been configured. In that case, the TOS in packet
will use the value of 0.
"
::= { hwIpDslamInterfacePriorityEntry 5 }
hwIpDslamInterfacePriorityTosForDhcp OBJECT-TYPE
SYNTAX Integer32 (-1|0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The TOS value for DHCP packet. A value of -1 indicates that
it has not been configured. In that case, the TOS for
DHCP packet will use the value of
hwIpDslamInterfacePriorityDefaultTos.
"
::= { hwIpDslamInterfacePriorityEntry 6 }
hwIpDslamInterfacePriorityTosForRoutingPkt OBJECT-TYPE
SYNTAX Integer32 (-1|0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The TOS value for routing-protocol packet. A value of -1
indicates that it has not been configured. In that case,
the TOS for routing-protocol packet will use the value of
hwIpDslamInterfacePriorityDefaultTos.
"
::= { hwIpDslamInterfacePriorityEntry 7 }
hwIpDslamInterfaceDscpForControlProtocol OBJECT-TYPE
SYNTAX Unsigned32(0..63|4294967295)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The DSCP priority for control protocol packets. A value of
4294967295 indicates that it has not been configured. In that case,
the DSCP for control-protocol packet will use the value of
hwIpDslamInterfaceDscpForControlProtocol.
"
::= { hwIpDslamInterfacePriorityEntry 8 }
hwIpDslamInterfaceDscpForManagementProtocol OBJECT-TYPE
SYNTAX Unsigned32(0..63|4294967295)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The DSCP priority for management protocol packets. A value of
4294967295 indicates that it has not been configured. In that case,
the DSCP for management-protocol packet will use the value of
hwIpDslamInterfaceDscpForManagementProtocol.
"
::= { hwIpDslamInterfacePriorityEntry 9 }
hwIpDslamInterfaceFwdStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwIpDslamInterfaceFwdStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used for packet measurement on an interface. The indexes of this table are
hwIpDslamInterfaceFwdStatsType and hwIpDslamInterfaceFwdStatsUnitNum.
"
::= { hwIpDslamInterfaceObject 4 }
hwIpDslamInterfaceFwdStatsEntry OBJECT-TYPE
SYNTAX HwIpDslamInterfaceFwdStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used for packet measurement on an interface. The indexes of this entry are
hwIpDslamInterfaceFwdStatsType and hwIpDslamInterfaceFwdStatsUnitNum.
"
INDEX { hwIpDslamInterfaceFwdStatsType, hwIpDslamInterfaceFwdStatsUnitNum}
::= { hwIpDslamInterfaceFwdStatsTable 1 }
HwIpDslamInterfaceFwdStatsEntry ::= SEQUENCE
{
hwIpDslamInterfaceFwdStatsType INTEGER,
hwIpDslamInterfaceFwdStatsUnitNum Unsigned32,
hwIpDslamInterfaceFwdStatsAdminStatus INTEGER,
hwIpDslamInterfaceFwdStatsResetPktCnt INTEGER,
hwIpDslamInterfaceFwdStatsUpPkts Counter64,
hwIpDslamInterfaceFwdStatsDownPkts Counter64
}
hwIpDslamInterfaceFwdStatsType OBJECT-TYPE
SYNTAX INTEGER
{
tunnel(6)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the interface type.
Options:
6. tunnel(6) -the tunnel interface
"
::= { hwIpDslamInterfaceFwdStatsEntry 1 }
hwIpDslamInterfaceFwdStatsUnitNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the interface unit number. The valid range of its
value lies on the interface type.
"
::= { hwIpDslamInterfaceFwdStatsEntry 2 }
hwIpDslamInterfaceFwdStatsAdminStatus OBJECT-TYPE
SYNTAX INTEGER
{
enabled(1),
disabled(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the upstream and downstream packet measurement on an interface.
1 indicates that this function is enabled; 2 indicates that this function is disabled.
After this function is disabled, historical statistics of an interface are cleared.
By default, packet measurement on an interface is disabled.
"
::= { hwIpDslamInterfaceFwdStatsEntry 3 }
hwIpDslamInterfaceFwdStatsResetPktCnt OBJECT-TYPE
SYNTAX INTEGER
{
clear(1),
unused(65535)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Clears upstream and downstream packet statistics of an interface.
Options:
1. clear(1) - It must be clear(1) when it is set.
2. unused(65535) - The value is unused(65535) when it is read.
"
::= { hwIpDslamInterfaceFwdStatsEntry 4 }
hwIpDslamInterfaceFwdStatsUpPkts OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates upstream packet statistics.
"
::= { hwIpDslamInterfaceFwdStatsEntry 5}
hwIpDslamInterfaceFwdStatsDownPkts OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates downstream packet statistics..
"
::= { hwIpDslamInterfaceFwdStatsEntry 6 }
END