"This table is used to query and configure the basic attributes of a Layer 2 interface, including number, index, type, default VLAN ID, and the MAC address learning status."
::= { hwL2Interface 3 }
hwL2IfEntry OBJECT-TYPE
SYNTAX HwL2IfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" Entries of extended Huawei private interface information table "
INDEX { hwL2IfPortNum }
::= { hwL2IfTable 1}
HwL2IfEntry ::=
SEQUENCE {
hwL2IfPortNum Integer32,
hwL2IfPortIfIndex InterfaceIndex,
hwL2IfPortType INTEGER,
hwL2IfPVID Integer32,
hwL2IfIsSrcMacFilter TruthValue,
hwL2IfMacAddrLearnMode INTEGER,
hwL2IfMacAddressLearn INTEGER,
hwL2IfBcastRatio Integer32,
hwL2IfMcastRatio Integer32,
hwL2IfUcastRatio Integer32,
hwL2IfOutBcastRatio Integer32,
hwL2IfOutMcastRatio Integer32,
hwL2IfOutUcastRatio Integer32,
hwL2IfDiscardBcast EnabledStatus,
hwL2IfDiscardUnknownMcast EnabledStatus,
hwL2IfDiscardUnknownUcast EnabledStatus,
hwL2IfBpdu EnabledStatus,
hwL2IfPortPriority Integer32,
hwL2IfPortName OCTET STRING,
hwL2IfInInvalidVlanPkts Counter64,
hwL2IfFlushEnable EnabledStatus,
hwL2IfFlushControlVlan Integer32,
hwL2IfCurrentInBcastPercent EnabledStatus,
hwL2IfCurrentOutBcastPercent EnabledStatus,
hwL2IfQinqVlanTransEnable EnabledStatus,
hwL2IfQinqVlanTransMissDrop INTEGER,
hwL2IfIpSubnetVlanEnable EnabledStatus,
hwL2IfMacVlanEnable EnabledStatus,
hwL2IfPolicyVlanEnable EnabledStatus,
hwL2IfVlanPrecedence Integer32,
hwL2IfIsolateGroupEnable EnabledStatus,
hwL2IfActivePortType INTEGER
}
hwL2IfPortNum OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Number of layer2 interface port, a unique value,
for each port. It is recommended that values are assigned
contiguously starting from 1. "
::= { hwL2IfEntry 1 }
hwL2IfPortIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of this object identifies the index of the Layer 2 interface."
::= { hwL2IfEntry 2 }
hwL2IfPortType OBJECT-TYPE
SYNTAX INTEGER
{
invalid(0),
trunk(1) ,
access(2) ,
hybrid(3) ,
fabric(4),
qinq(5),
desirable(6),
auto(7)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value of this object identifies the type of the Layer 2 interface."
::= { hwL2IfEntry 3 }
hwL2IfPVID OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Layer2 interface Port VLAN ID"
::= { hwL2IfEntry 4 }
hwL2IfIsSrcMacFilter OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" Whether to filter source MAC address. We do not support it now."
::= { hwL2IfEntry 5 }
hwL2IfMacAddrLearnMode OBJECT-TYPE
SYNTAX INTEGER
{
iVL(1),
sVL(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The object indicates the mode for learning MAC addresses."
::= { hwL2IfEntry 6 }
hwL2IfMacAddressLearn OBJECT-TYPE
SYNTAX INTEGER
{
enabled(1),
disabled(2),
discard(3),
invalid(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Status indicates if the interface is allowed to learn mac
address, enable(1) can be set, (enabled(1) means that
the interface can learn mac address), otherwise disabled(2)
can be set. discard(3) means the interface will drop packets."
::= { hwL2IfEntry 7 }
--suppression step of percentage mode
hwL2IfBcastRatio OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Broadcast-suppression ratio. Default is 100% . 100% indicates
that the broadcast isn't suppressed."
::= { hwL2IfEntry 8 }
hwL2IfMcastRatio OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Multicast-suppression ratio.Default is 100%, 100% indicates that
the multicast isn't suppressed."
::= { hwL2IfEntry 9 }
hwL2IfUcastRatio OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Unicastsuppression ratio. Default is 100% , 100% indicates that
the broadcast isn't suppressed."
::= { hwL2IfEntry 10 }
hwL2IfOutBcastRatio OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Outbound broadcast-suppression ratio. Default is 100% . 100% indicates
that the broadcast isn't suppressed."
::= { hwL2IfEntry 11 }
hwL2IfOutMcastRatio OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Outbound multicast-suppression ratio.Default is 100%, 100% indicates that
the multicast isn't suppressed."
::= { hwL2IfEntry 12 }
hwL2IfOutUcastRatio OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Outbound unicastsuppression ratio. Default is 100% , 100% indicates that
the broadcast isn't suppressed."
::= { hwL2IfEntry 13 }
hwL2IfDiscardBcast OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The flag of dropping the broadcast packets.
1:discard; 2:forward(default)."
::= { hwL2IfEntry 14 }
hwL2IfDiscardUnknownMcast OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The flag of dropping the unknown multicast packets.
1:discard; 2:forward(default)."
::= { hwL2IfEntry 15 }
hwL2IfDiscardUnknownUcast OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The flag of dropping the unknown unicast packets.
1:discard; 2:forward(default)."
::= { hwL2IfEntry 16 }
hwL2IfBpdu OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Bpdu enable in port."
::= { hwL2IfEntry 17 }
hwL2IfPortPriority OBJECT-TYPE
SYNTAX Integer32 (0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Port priority about interface."
::= { hwL2IfEntry 18 }
hwL2IfPortName OBJECT-TYPE
SYNTAX OCTET STRING(SIZE(0..48))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The interface name."
::= { hwL2IfEntry 19 }
hwL2IfInInvalidVlanPkts OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" The number of invalid VLAN packets."
::= { hwL2IfEntry 20 }
hwL2IfFlushEnable OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The flush enable status of layer2 port."
::= { hwL2IfEntry 21 }
hwL2IfFlushControlVlan OBJECT-TYPE
SYNTAX Integer32 (1..4094 | 65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The control vlan of flush packet."
::= { hwL2IfEntry 22 }
hwL2IfCurrentInBcastPercent OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The flag of qinq port trust default priority,
1:enable; 2:disable(default)."
::= { hwL2IfEntry 23 }
hwL2IfCurrentOutBcastPercent OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The flag of port offline status,
1:enable; 2:disable(default)."
::= { hwL2IfEntry 24 }
hwL2IfQinqVlanTransEnable OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enable QinQ VLAN translation,
1:enable; 2:disable(default)."
::= { hwL2IfEntry 25 }
hwL2IfQinqVlanTransMissDrop OBJECT-TYPE
SYNTAX INTEGER
{
noDrop(1),
drop(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Packets are dropped when a VLAN translation miss occurs,
1:noDrop(default); 2:drop."
::= { hwL2IfEntry 26 }
hwL2IfIpSubnetVlanEnable OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enable VLAN assignment based on ip subnet,
1:enable(default); 2:disable."
::= { hwL2IfEntry 27 }
hwL2IfMacVlanEnable OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Mac Vlan enable,
1:enable; 2:disable(default)"
::= { hwL2IfEntry 28 }
hwL2IfPolicyVlanEnable OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Policy Vlan enable,
1:enable; 2:disable(default)"
::= { hwL2IfEntry 29 }
hwL2IfVlanPrecedence OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Determine the priorities for selecting VLAN (MAC-based, subnet-based VLANs),
0:MAC VLAN(default); 1:IPSUBNET VLAN."
::= { hwL2IfEntry 30 }
hwL2IfIsolateGroupEnable OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value enabled(1) indicates that the port is a member of the port-isolate group; disable(2) indicates that the port is not a member of the port-isolate group. The default value is disable(2)."
DEFVAL {disabled}
::= { hwL2IfEntry 31 }
hwL2IfActivePortType OBJECT-TYPE
SYNTAX INTEGER
{
invalid(0),
trunk(1) ,
access(2) ,
hybrid(3) ,
fabric(4),
qinq(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" Layer2 interface active port type, it contains invalid(0), trunk(1),
access(2), hybrid(3), fabric(4), qinq(5).Do not support fabric(4) now."
"This table describes the VLAN information about Layer 2 hybrid interfaces in tagged and untagged modes."
::= { hwL2Interface 9 }
hwL2IfHybridPortEntry OBJECT-TYPE
SYNTAX HwL2IfHybridPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" Entry of Hybrid-port configuration table "
INDEX { hwL2IfHybridPortIndex }
::= { hwL2IfHybridPortTable 1}
HwL2IfHybridPortEntry ::=
SEQUENCE
{
hwL2IfHybridPortIndex Integer32,
hwL2IfHybridTaggedVlanListLow VlanList,
hwL2IfHybridTaggedVlanListHigh VlanList,
hwL2IfHybridUnTaggedVlanListLow VlanList,
hwL2IfHybridUnTaggedVlanListHigh VlanList
}
hwL2IfHybridPortIndex OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" Index of Hybrid-port "
::= { hwL2IfHybridPortEntry 1 }
hwL2IfHybridTaggedVlanListLow OBJECT-TYPE
SYNTAX VlanList (SIZE(256))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the low-bit tagged VLANs carried in packets that can pass through the hybrid interface. There are 2048 low-bit VLANs (0-2047) and VLAN 0 is not used."
::= { hwL2IfHybridPortEntry 2 }
hwL2IfHybridTaggedVlanListHigh OBJECT-TYPE
SYNTAX VlanList (SIZE(256))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the high-bit tagged VLANs carried in packets that can pass through the hybrid interface. There are 2048 high-bit VLANs (2048-4095) and VLAN 4095 is not used."
::= { hwL2IfHybridPortEntry 3 }
hwL2IfHybridUnTaggedVlanListLow OBJECT-TYPE
SYNTAX VlanList (SIZE(256))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the low-bit untagged VLANs carried in packets that can pass through the hybrid interface. There are 2048 low-bit VLANs (0-2047) and VLAN 0 is not used."
::= { hwL2IfHybridPortEntry 4 }
hwL2IfHybridUnTaggedVlanListHigh OBJECT-TYPE
SYNTAX VlanList (SIZE(256))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the high-bit untagged VLANs carried in packets that can pass through the hybrid interface. There are 2048 high-bit VLANs (2048-4095) and VLAN 4095 is not used."
"This table describes the allowed VLAN information about Layer 2 trunk interfaces."
::= { hwL2Interface 10 }
hwL2IfTrunkPortEntry OBJECT-TYPE
SYNTAX HwL2IfTrunkPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" Entry of Trunk-port configuration table "
INDEX { hwL2IfTrunkPortIndex }
::= { hwL2IfTrunkPortTable 1}
HwL2IfTrunkPortEntry ::=
SEQUENCE
{
hwL2IfTrunkPortIndex Integer32,
hwL2IfTrunkAllowPassVlanListLow VlanList,
hwL2IfTrunkAllowPassVlanListHigh VlanList
}
hwL2IfTrunkPortIndex OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" Index of Trunk-port "
::= { hwL2IfTrunkPortEntry 1 }
hwL2IfTrunkAllowPassVlanListLow OBJECT-TYPE
SYNTAX VlanList (SIZE(0..256))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates low-bit VLANs carried in packets that can pass through the trunk interface. There are 2048 low-bit VLANs (0-2047) and VLAN 0 is not used."
::= { hwL2IfTrunkPortEntry 2 }
hwL2IfTrunkAllowPassVlanListHigh OBJECT-TYPE
SYNTAX VlanList (SIZE(0..256))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates high-bit VLANs carried in packets that can pass through the trunk interface. There are 2048 high-bit VLANs (2048-4095) and 4095 is not used."
::= { hwL2IfTrunkPortEntry 3 }
hwL2IfPortIsolateTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwL2IfPortIsolateEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" Port isolate in the same Service-instance table. The Service-instance
is used to communicate among different vlans."
::= { hwL2Interface 11 }
hwL2IfPortIsolateEntry OBJECT-TYPE
SYNTAX HwL2IfPortIsolateEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" Entry of port isolate configuration table."
INDEX { hwL2IfPortIsolatePortIndex,hwL2IfPortIsolateSIName }
::= { hwL2IfPortIsolateTable 1}
HwL2IfPortIsolateEntry ::=
SEQUENCE
{
hwL2IfPortIsolatePortIndex
Integer32,
hwL2IfPortIsolateSIName
OCTET STRING,
hwL2IfPortIsolateRowStatus
RowStatus
}
hwL2IfPortIsolatePortIndex OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" The port index of L2 interface."
::= { hwL2IfPortIsolateEntry 1 }
hwL2IfPortIsolateSIName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..31))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" The name of Service-instance.The Service-instance(S.I.)is used to