Q-BRIDGE-MIB
Functions Overview
Q-BRIDGE-MIB, defined in RFC 2674, describes the VLAN configuration, status of ports in a VLAN, and port-based or VLAN-based traffic statistics. This MIB can query status of a VLAN, information about the static creation of a VLAN, port-based or VLAN-based traffic statistics, and learning restrictions in a VLAN.
The OID of root objects is as follows:
iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).dot1dBridge(17).qBridgeMIB(7).
Relationship Between Tables
Figure 174-1 hows the relationship between dot1qVlanCurrentTable and dot1qVlanStaticTable. The switch does not support dot1qPortVlanStatisticsTable and dot1qPortVlanHCStatisticsTable.
Description of Single Objects
dot1qVlanVersionNumber
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.1.1 |
dot1qVlanVersionNumber |
INTEGER{version1(1)} |
Read-only |
The version number of IEEE 802.1Q that this device supports. |
This object is implemented as defined in the corresponding MIB files. |
dot1qMaxVlanId
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.1.2 |
dot1qMaxVlanId |
INTEGER (1..4094) |
Read-only |
The maximum IEEE 802.1Q VLAN-ID that this device supports. |
This object is implemented as defined in the corresponding MIB files. |
dot1qMaxSupportedVlans
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.1.3 |
dot1qMaxSupportedVlans |
INTEGER (0..4294967295) |
Read-only |
The maximum number of IEEE 802.1Q VLANs that this device supports. |
This object is implemented as defined in the corresponding MIB files. |
dot1qNumVlans
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.1.4 |
dot1qNumVlans |
INTEGER (0..4294967295) |
Read-only |
The current number of IEEE 802.1Q VLANs that is configured in this device. |
This object is implemented as defined in the corresponding MIB files. |
dot1qGvrpStatus
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.1.5 |
dot1qGvrpStatus |
INTEGER{enabled(1),disabled(2)} { enabled(1), disabled(2) } |
Read-write |
The administrative status requested by management for GVRP.
This object affects all GVRP Applicant and Registrar state machines. A transition from disabled(2) to enabled(1) will cause a reset of all GVRP state machines on all ports. The value of this object must be retained across reinitializations of the management system. |
This object is implemented as defined in the corresponding MIB files. |
dot1qVlanNumDeletes
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.4.1 |
dot1qVlanNumDeletes |
INTEGER (0..4294967295) |
Read-only |
The value of this object identifies the number of times for deleting VLAN entries from dot1qVlanCurrentTable. |
Currently, the value can be 0 only. |
dot1qNextFreeLocalVlanIndex
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.4.4 |
dot1qNextFreeLocalVlanIndex |
Integer32(0|4096..2147483647) |
Read-only |
The next available value for dot1qVlanIndex of a local VLAN entry in dot1qVlanStaticTable. A row creation operation in this table for an entry with a local VlanIndex value may fail if the current value of this object is not used as the index. |
At present, this function is not supported and the value of this object can be 0 only. |
dot1qConstraintSetDefault
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.4.9 |
dot1qConstraintSetDefault |
Integer32(0..65535) |
Read-write |
The identity of the constraint set to which a VLAN belongs, if there is not an explicit entry for that VLAN in dot1qLearningConstraintsTable. The value of this object must be retained across reinitializations of the management system. |
Currently, the maximum access is read-only; the value of this object can be 0 only. |
dot1qConstraintTypeDefault
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.4.10 |
dot1qConstraintTypeDefault |
INTEGER { independent(1), shared(2) } |
Read-write |
The type of constraint set to which a VLAN belongs, if there is not an explicit entry for that VLAN in dot1qLearningConstraintsTable. The types are as defined for dot1qConstraintType. |
Currently, the maximum access is read-only; the value of this object can be independent(1) only. |
Description of MIB Tables
dot1qVlanCurrentTable
A table containing current configuration information for each VLAN currently configured into the device by (local or network) management, or dynamically created as a result of GVRP requests received.
The indexes of this table are dot1qVlanTimeMark and dot1qVlanIndex.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.4.2.1.1 |
dot1qVlanTimeMark |
TimeTicks |
Not-accessible |
A TimeFilter for this entry. See the TimeFilter textual convention to see how this works. |
It is used as the index and the value can be 0 only. |
1.3.6.1.2.1.17.7.1.4.2.1.2 |
dot1qVlanIndex |
Unsigned32 |
Not-accessible |
The VLAN-ID or other identifier referring to this VLAN. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.17.7.1.4.2.1.3 |
dot1qVlanFdbId |
INTEGER (0..4294967295) |
Read-only |
The Filtering Database used by this VLAN. This value is allocated automatically by the device whenever the VLAN is created. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.17.7.1.4.2.1.4 |
dot1qVlanCurrentEgressPorts |
OCTET STRING |
Read-only |
The set of ports that are transmitting traffic for this VLAN as either tagged or untagged frames. NOTE:
For this object, the first digit (0th bit) of the returned value represents the interface. For other objects, the second digit (1st bit) of the returned value represents the interface. For example, the first digit (1) in 11000000 is the 0th bit and the second digit (1) is the 1st bit, and so on. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.17.7.1.4.2.1.5 |
dot1qVlanCurrentUntaggedPorts |
OCTET STRING |
Read-only |
This object indicates the list of ports added to the VLAN in the untagged mode. NOTE:
For this object, the first digit (0th bit) of the returned value represents the interface. For other objects, the second digit (1st bit) of the returned value represents the interface. For example, the first digit (1) in 11000000 is the 0th bit and the second digit (1) is the 1st bit, and so on. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.17.7.1.4.2.1.6 |
dot1qVlanStatus |
INTEGER { other(1), permanent(2), dynamicGvrp(3) } |
Read-only |
This object indicates the status of this entry.
|
Currently, the value can be permanent(2) only. |
1.3.6.1.2.1.17.7.1.4.2.1.7 |
dot1qVlanCreationTime |
INTEGER (0..4294967295) |
Read-only |
The value of sysUpTime when this VLAN was created. |
Currently, the value of this object can be 0 days 00h:00m:00s.00th only. |
Creation Restriction
No entry can be created in this table.
Modification Restriction
The entries in this table cannot be modified.
Deletion Restriction
The entries in this table cannot be deleted.
Access Restriction
The values of dot1qVlanTimeMark, dot1qVlanStatus, and dot1qVlanCreationTime can be only 0, permanent(2), and 0 respectively.
dot1qVlanStaticTable
A table containing static configuration information for each VLAN configured into the device by (local or network) management. All entries are permanent and will be restored after the device is reset.
The index of this table is dot1qVlanIndex.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.4.3.1.1 |
dot1qVlanStaticName |
SnmpAdminString(SIZE(0..32)) |
Read-create |
This object indicates VLAN name. NOTE:
After upgrading a device from a version earlier than V200R006 to V200R006 or a later version, you need to run the name vlan-name command in the VLAN view to obtain the OID. |
Currently, the maximum access is read-only. |
1.3.6.1.2.1.17.7.1.4.3.1.2 |
dot1qVlanStaticEgressPorts |
OCTET STRING |
Read-create |
This object indicates the list of ports to be added to a VLAN. NOTE:
For this object, the first digit (0th bit) of the returned value represents the interface. For other objects, the second digit (1st bit) of the returned value represents the interface. For example, the first digit (1) in 11000000 is the 0th bit and the second digit (1) is the 1st bit, and so on. |
Currently, the maximum access is read-only. |
1.3.6.1.2.1.17.7.1.4.3.1.3 |
dot1qVlanForbiddenEgressPorts |
OCTET STRING |
Read-create |
The set of ports that are prohibited by management from being included in the egress list for this VLAN. The default value is null. |
Currently, the maximum access is read-only. |
1.3.6.1.2.1.17.7.1.4.3.1.4 |
dot1qVlanStaticUntaggedPorts |
OCTET STRING |
Read-create |
This object indicates the list of ports to be added to a VLAN in untag mode. NOTE:
For this object, the first digit (0th bit) of the returned value represents the interface. For other objects, the second digit (1st bit) of the returned value represents the interface. For example, the first digit (1) in 11000000 is the 0th bit and the second digit (1) is the 1st bit, and so on. |
Currently, the maximum access is read-only. |
1.3.6.1.2.1.17.7.1.4.3.1.5 |
dot1qVlanStaticRowStatus |
INTEGER{active(1),notInService(2),notReady(3),createAndGo(4),createAndWait(5),destroy(6)} |
Read-create |
This object indicates the status of this entry. |
Currently, the maximum access is read-only. |
Creation Restriction
No entry can be created in this table.
Modification Restriction
The entries in this table cannot be modified.
Deletion Restriction
The entries in this table cannot be deleted.
Access Restriction
Only the values of corresponding objects in this table can be read. Other operations may affect the values.
Changing the ports that transmit tagged or untagged packets in a VLAN affects the values of dot1qVlanStaticEgressPorts and dot1qVlanStaticUntaggedPorts.
dot1qPortVlanTable
A table containing per-port control and status information for VLAN configuration in the device.
The index of this table is dot1dBasePort.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.4.5.1.1 |
dot1qPvid |
Unsigned32 |
Read-write |
This object indicates the PVID on the interface. |
The value ranges from 0 to 4094. If the value is 0, the dot1qPvid object is restored to the default value. |
1.3.6.1.2.1.17.7.1.4.5.1.2 |
dot1qPortAcceptableFrameTypes |
INTEGER { admitAll(1), admitOnlyVlanTagged(2) } |
Read-write |
The value of this object identifies the type of frame that the interface permits to receive.
This control does not affect VLAN-independent Bridge Protocol Data Unit (BPDU) frames, such as GVRP and Spanning Tree Protocol (STP). It does not affect VLAN dependent BPDU frames, such as GMRP. |
Currently, the maximum access is read-only. |
1.3.6.1.2.1.17.7.1.4.5.1.3 |
dot1qPortIngressFiltering |
INTEGER{true(1),false(2)} { true(1), false(2) } |
Read-write |
This control does not affect VLAN-independent BPDU frames, such as GVRP and STP. It does affect VLAN dependent BPDU frames, such as GMRP. |
Currently, the maximum access is read-only; the return value is always 1 when this field is queried. |
1.3.6.1.2.1.17.7.1.4.5.1.4 |
dot1qPortGvrpStatus |
INTEGER{enabled(1),disabled(2)} { enabled(1), disabled(2) } |
Read-only |
The state of GVRP operation on this port.
|
Currently, the maximum access is read-only; the value of this object can be disabled(2) only. |
1.3.6.1.2.1.17.7.1.4.5.1.5 |
dot1qPortGvrpFailedRegistrations |
INTEGER (0..4294967295) |
Read-only |
The total number of failed GVRP registrations, for any reason, on this port. |
Currently, the value of this object can be 0 only. |
1.3.6.1.2.1.17.7.1.4.5.1.6 |
dot1qPortGvrpLastPduOrigin |
MacAddress(SIZE(6)) |
Read-only |
The Source MAC Address of the last GVRP message received on this port. |
Currently, the value of this object can be 00:00:00:00:00:00 only. |
Creation Restriction
No entry can be created in this table.
Modification Restriction
Only dot1qPvid can be modified.
The meaning of dot1qPvid is the same as that of hwL2IfPVID in HUAWEI-L2IF-MIB. If the value of one of the two nodes is modified, the value of the other node is also synchronized.
Deletion Restriction
The entries in this table cannot be deleted.
Access Restriction
The values of dot1qPortGvrpStatus, dot1qPortGvrpFailedRegistrations, and dot1qPortGvrpLastPduOrigin can be only disabled(2), 0, and 00:00:00:00:00:00 respectively.
dot1qLearningConstraintsTable
This table provides information about learning constraints for shared and independent VLANs.
The indexes of this table are dot1qConstraintVlan and dot1qConstraintSet.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.17.7.1.4.8.1.1 |
dot1qConstraintVlan |
Unsigned32 |
Not-accessible |
This object indicates the index of this table, identifying the constrained VLAN. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.17.7.1.4.8.1.2 |
dot1qConstraintSet |
Integer32(0..65535) |
Not-accessible |
This object indicates the index of this table, identifying the constraint setting of a VLAN. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.17.7.1.4.8.1.3 |
dot1qConstraintType |
INTEGER { independent(1), shared(2) } |
Read-create |
The value of this object identifies the constraint type of a VLAN.
|
Currently, the maximum access is read-only. |
1.3.6.1.2.1.17.7.1.4.8.1.4 |
dot1qConstraintStatus |
INTEGER{active(1),notInService(2),notReady(3),createAndGo(4),createAndWait(5),destroy(6)} |
Read-create |
This object indicates the row status. |
Currently, the maximum access is read-only. |
Creation Restriction
No entry can be created in this table.
Modification Restriction
The entries in this table cannot be modified.
Deletion Restriction
The entries in this table cannot be deleted.
Access Restriction
The entries in this table can be read without restriction.