hwGTSMPolicyDestPort
HUAWEI-GTSM-MIB ·
.1.3.6.1.4.1.2011.5.25.126.1.2.1.7
Object
column Integer32
Destination port number in the GTSM policy that will be used to check the matching of destination port number in the received packets.
Context
- MIB
- HUAWEI-GTSM-MIB
- OID
.1.3.6.1.4.1.2011.5.25.126.1.2.1.7- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwGTSMPolicyEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-GTSM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-GTSM-MIB::hwGTSMPolicyDestPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-GTSM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-GTSM-MIB::hwGTSMPolicyDestPort.<hwGTSMvrfIndex>.<hwGTSMPolicyAddressType>.<hwGTSMPolicyProtocol>.<hwGTSMPolicySourceIpAddress>.<hwGTSMPolicyDestIpAddress>.<hwGTSMPolicySourcePort>.<hwGTSMPolicyDestPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-GTSM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-GTSM-MIB::hwGTSMPolicyDestPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535