hh3cSrv6PolicyPathPreviousRole
HH3C-SRV6POLICY-MIB ·
.1.3.6.1.4.1.25506.2.189.1.3.1.8
Object
column OctetString
The previous role of an SRv6-TE policy candidate path. The value may be primary or backup.
Context
- MIB
- HH3C-SRV6POLICY-MIB
- OID
.1.3.6.1.4.1.25506.2.189.1.3.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cSrv6PolicyPathEntry
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-SRV6POLICY-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SRV6POLICY-MIB::hh3cSrv6PolicyPathPreviousRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-SRV6POLICY-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SRV6POLICY-MIB::hh3cSrv6PolicyPathPreviousRole.<hh3cSrv6PolicyPathColor>.<hh3cSrv6PolicyPathEndPoint>.<hh3cSrv6PolicyPathProto>.<hh3cSrv6PolicyPathInst>.<hh3cSrv6PolicyPathOri>.<hh3cSrv6PolicyPathDis>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-SRV6POLICY-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-SRV6POLICY-MIB::hh3cSrv6PolicyPathPreviousRole'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-31