snSwPortRouteOnly

HP-SN-SWITCH-GROUP-MIB · .1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.51

Object

column r/w Enumeration
Enable/Disable L2 switching of a routing switch port.
By default, the routing switch performs routing first.
If routing failed, it performs switching. Enable route
only instrcuts the routing switch to perform routing
only. For a L2 switching only product, reading this
object always return 'disabled', writing 'enabled' to
this object takes no effect.

Context

MIB
HP-SN-SWITCH-GROUP-MIB
OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.51
Type
column
Access
readwrite
Status
current
Parent
snSwPortInfoEntry

Walk 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 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-SWITCH-GROUP-MIB::snSwPortRouteOnly'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-SWITCH-GROUP-MIB::snSwPortRouteOnly.<snSwPortInfoPortNum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-SWITCH-GROUP-MIB::snSwPortRouteOnly'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0disabled
1enabled