hh3cNATServerSlotNo
HH3C-NAT-MIB ·
.1.3.6.1.4.1.25506.2.18.2.3.1.8
Object
column r/w
Integer32
The number of NAT board. In router, the value is 255 because no NAT board in it.
Context
- MIB
- HH3C-NAT-MIB
- OID
.1.3.6.1.4.1.25506.2.18.2.3.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cNATServerEntry
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 'HH3C-NAT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-NAT-MIB::hh3cNATServerSlotNo'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-NAT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-NAT-MIB::hh3cNATServerSlotNo.<ifIndex>.<hh3cNATServerProType>.<hh3cNATServerGlobalIP>.<hh3cNATServerStartGlobalPort>.<hh3cNATServerVpnIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-NAT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-NAT-MIB::hh3cNATServerSlotNo'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-14
range: 255-255