hmSec2VpnTrafficSelDstPort
HMSECURITY2-MIB ·
.1.3.6.1.4.1.248.52.1.13.1.3.1.1.6
Object
column r/w
OctetString
The destination port as a decimal number in range 0 - 65535, the keyword 'any' for a port-independent policy (equivalent to port number 0), or one of the following aliases: o tcp/udp: echo (7) o tcp/udp: discard, sink, null (9) o tcp: ftp-data (20) o tcp: ftp (21) o tcp/udp: ssh (22) o tcp: telnet (23) o tcp/udp: domain, nameserver (53) o tcp/udp: bootps (67) o tcp/udp: bootpc (68) o udp: tftp (69) o tcp/udp: www, http (80) o tcp/udp: kerberos, krb5 (88) o tcp: sftp (115) o tcp/udp: ntp (123) o udp: snmp (161) o udp: snmp-trap, snmptrap (162) o tcp/udp: bgp (179) o tcp/udp: ldap (389) o tcp/udp: https (443)
Context
- MIB
- HMSECURITY2-MIB
- OID
.1.3.6.1.4.1.248.52.1.13.1.3.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hmSec2VpnTrafficSelEntry
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 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMSECURITY2-MIB::hmSec2VpnTrafficSelDstPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMSECURITY2-MIB::hmSec2VpnTrafficSelDstPort.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMSECURITY2-MIB::hmSec2VpnTrafficSelDstPort'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.