HUAWEI-GTSM-MIB
Functions Overview
RFC 3682 defines HUAWEI-GTSM-MIB. This table mainly describes how the Network Management System (NMS) manages the GTSM policy. You can add, delete, and view the GTSM policy and query, reset the statistics by using this MIB.
The OID of the root object is as follows:
iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).huawei(2011).huaweiMgmt(5).hwDatacomm(25).hwGTSMModule(126)
Relationship Between Tables
Figure 54-1 shows the relationship between hwGTSMBgpPeergroupTable (BGP peer group GTSM policy table) and hwGTSMPolicyTable (GTSM policy table). A BGP peer group contains multiple BGP peers, so the setting of each peer in hwGTSMBgpPeergroupTable exists in hwGTSMPolicyTable. hwGTSMPolicyTable also contains BGP peers and OSPF peers that do not join the BGP peer group. Therefore, only parts of the two tables overlap.
Figure 54-2 shows the relationship between hwGTSMStatisticsInfoTable (statistics of filtered GTSM packets) and hwGTSMGlobalConfigInfoTable (GTSM global configuration table). hwGTSMStatisticsInfoTable is used to collect the statistics of filtered packets, and hwGTSMGlobalConfigInfoTable is used to determine whether to record logs of discarded packets and to clear the statistics.
Description of Single Objects
hwGTSMDefaultAction
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.126.1.1 |
hwGTSMDefaultAction |
INTEGER{pass(1),drop(2)} |
Read-write |
The object specifies the default action when no matching policy exists. |
This object is implemented as defined in the corresponding MIB files. |
Description of MIB Tables
hwGTSMPolicyTable
Information about GTSM policies. This object is used to get GTSM policy(policies), create a new policy, modify or delete GTSM policy (policies).
The indexes of this table are hwGTSMvrfIndex, hwGTSMPolicyAddressType, hwGTSMPolicyProtocol, hwGTSMPolicySourceIpAddress, hwGTSMPolicyDestIpAddress, hwGTSMPolicySourcePort, and hwGTSMPolicyDestPort.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.126.1.2.1.1 |
hwGTSMvrfIndex |
Integer32 (0..65535) |
Not-accessible |
The index of VPN Routing and Forwarding table. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.2.1.2 |
hwGTSMPolicyAddressType |
INTEGER{unknown(0),ipv4(1),ipv6(2),ipv4z(3),ipv6z(4),dns(16)} |
Not-accessible |
The type of source IP address and destination IP address. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.2.1.3 |
hwGTSMPolicyProtocol |
Integer32 (1..255) |
Not-accessible |
The number of protocol. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.2.1.4 |
hwGTSMPolicySourceIpAddress |
OCTET STRING (SIZE (0..255)) |
Not-accessible |
Source IP address in the GTSM policy that will be used to check the matching of source IP address in the received packets. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.2.1.5 |
hwGTSMPolicyDestIpAddress |
OCTET STRING (SIZE (0..255)) |
Not-accessible |
Destination IP address in the GTSM policy that will be used to check the matching of destination IP address in the received packets. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.2.1.6 |
hwGTSMPolicySourcePort |
Integer32 (0..65535) |
Not-accessible |
Source port number in the GTSM policy that will be used to check the matching of source port number in the received packets. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.2.1.7 |
hwGTSMPolicyDestPort |
Integer32 (0..65535) |
Not-accessible |
Destination port number in the GTSM policy that will be used to check the matching of destination port number in the received packets. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.2.1.11 |
hwGTSMPolicyTTLMin |
Integer32 (1..255) |
Read-create |
The minimum TTL in the policy table. The minimum TTL is compared with the TTL in the packets to check whether the TTL in the packets is between the minimum TTL and maximum TTL, and thus check the validity of the received packets. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.2.1.12 |
hwGTSMPolicyTTLMax |
Integer32 (1..255) |
Read-only |
The maximum TTL in policy table that is compared with the TTL in the packets to check whether it is between the minimum TTL and maximum TTL, and thus check the validity of the received packets. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.2.1.51 |
hwGTSMPolicyRowStatus |
INTEGER{active(1),notInService(2),notReady(3),createAndGo(4),createAndWait(5),destroy(6)} |
Read-create |
The operating state of the row. |
This object is implemented as defined in the corresponding MIB files. |
Creation Restriction
The policy can be successfully set only when the following conditions are met:
The values of hwGTSMvrfIndex, hwGTSMPolicyAddressType, hwGTSMPolicyProtocol, hwGTSMPolicySourceIpAddress, hwGTSMPolicyDestIpAddress, hwGTSMPolicySourcePort, and hwGTSMPolicyDestPort are correctly set.
The policy does not exist.
Note: The GTSM policy of OSPF is based on the global configuration, so OSPF cannot limit the source address, destination address, source port number, or destination port number. That is, when other items are valid, inputting hwGTSMPolicySourceIpAddress, hwGTSMPolicyDestIpAddress, hwGTSMPolicySourcePort, or hwGTSMPolicyDestPort can successfully create a GTSM policy of OSPF. In this policy, 4.0.0.0.0 is used to fill in hwGTSMPolicySourceIpAddress and hwGTSMPolicyDestIpAddress, and 0 is used to fill in hwGTSMPolicySourcePort and hwGTSMPolicyDestPort. To create the GTSM policy of OSPF in the private network by using MIB, you need to run the ospfprocess-id [ router-id router-id ] vpn-instance vpn-instance-name command to bind the related OSPF process number of the private network, and then create the related GTSM policy by using this MIB. The ospf valid-ttl-hops hops [ vpn-instance vpn-instance-name ] command can be used to bind OSPF to the private network and create the GTSM policy of OSPF in the private network, which is different from creating the GTSM policy of OSPF by using MIB.
Similarly, the communication ports of BGP and BGPv6 are fixed to port 179 (either the destination port or the source port must be port 179), so BGP and BGPv6 do not limit the destination port number and the source port number. That is, when other items are valid, inputting hwGTSMPolicyDestIpAddress, hwGTSMPolicySourcePort, or hwGTSMPolicyDestPort can successfully create a GTSM policy of BGP or BGPv6. In the GTSM policy of BGP and BGPv6, 179 is used to fill in hwGTSMPolicySourcePort and hwGTSMPolicyDestPort; 4.0.0.0.0 is used to fill in hwGTSMPolicyDestIpAddress of BGPv4; 16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 is used to fill in hwGTSMPolicyDestIpAddress of BGPv6.
Modification Restriction
The entries in this table can be modified.
Deletion Restriction
The entries in this table can be deleted.
Access Restriction
The entries in this table can be read without restraint.
hwGTSMBgpPeergroupTable
Information about BGP peer group policies. This table is used to get BGP peer group policy (policies), create a policy, modify or delete BGP peer group policy (policies).
The index of this table is hwGTSMvrfIndex and hwGTSMBgpPeergroupName.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.126.1.3.1.1 |
hwGTSMBgpPeergroupName |
OCTET STRING (SIZE (1..47)) |
Not-accessible |
Peer group name in the BGP policy table that is compared with the peer group name to decide whether to apply this policy. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.3.1.11 |
hwGTSMBgpPeergroupTTLMin |
Integer32 (1..255) |
Read-create |
The minimum TTL in policy table that is compared with the TTL in the packets to check whether it is between the minimum TTL and maximum TTL, and thus check the validity of the received packets. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.3.1.12 |
hwGTSMBgpPeergroupTTLMax |
Integer32 (1..255) |
Read-only |
The maximum TTL in policy table that is compared with the TTL in the packets to check whether it is between the minimum TTL and maximum TTL, and check the validity of the received packets. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.3.1.51 |
hwGTSMBgpPeergroupRowStatus |
INTEGER{active(1),notInService(2),notReady(3),createAndGo(4),createAndWait(5),destroy(6)} |
Read-create |
The operating state of the row. |
This object is implemented as defined in the corresponding MIB files. |
Creation Restriction
A GTSM policy can be created, when the following conditions are met:
The values of hwGTSMvrfIndex (external index), hwGTSMBgpPeergroupName, hwGTSMBgpPeergroupTTLMin, hwGTSMBgpPeergroupTTLMax, and hwGTSMBgpPeergroupRowStatus are correctly set.
This item does not exist.
All values are valid.
Modification Restriction
The entries in this table can be modified.
Deletion Restriction
The entries in this table can be deleted.
Access Restriction
The entries in this table can be read without restraint.
hwGTSMStatisticsInfoTable
The table of GTSM Statistics Information. The table contains the number of the packets containing received packets, passed packets and discarded packets.
The indexes of this table are hwGTSMSlotNum, hwGTSMPolicyAddressType, and hwGTSMPolicyProtocol.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.126.1.6.1.1 |
hwGTSMSlotNum |
Integer32 (0..128) |
Not-accessible |
The Index of Slot which receives the packets. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.6.1.11 |
hwGTSMStatisticsReceivePacketNum |
INTEGER (0..18446744073709551615) |
Read-only |
The total number of received packets of specific slot. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.6.1.12 |
hwGTSMStatisticsPassPacketNum |
INTEGER (0..18446744073709551615) |
Read-only |
The total number of passed packets of specific slot. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.6.1.13 |
hwGTSMStatisticsDropPacketNum |
INTEGER (0..18446744073709551615) |
Read-only |
The total number of discarded packets of specific slot. |
This object is implemented as defined in the corresponding MIB files. |
Creation Restriction
The entries in this table cannot be created.
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 restraint.
hwGTSMGlobalConfigInfoTable
The table is used to clear all statistics, you can use this table any time when you want to initialize the counter.
The index of this table is hwGTSMSlotNum.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.126.1.7.1.11 |
hwGTSMGlobalConfigClearStatisticsInfo |
INTEGER{reset(1),unused(255)} |
Read-write |
It is used to clear the statistics of the GTSM global configuration table. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.126.1.7.1.12 |
hwGTSMGlobalConfigLogDroppedPacketInfo |
INTEGER { log(1), nolog(2) } |
Read-write |
It is used to decide whether to log the dropped packets. |
This object is implemented as defined in the corresponding MIB files. |
Creation Restriction
The entries in this table cannot be created.
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 restraint.