hh3cPBRLocalPolicy
HH3C-PBR-MIB ·
.1.3.6.1.4.1.25506.2.113.1.1.2
Object
scalar r/w
OctetString
The value is a global setting. An existing policy name setting enables local PBR for IPv4 packets initiated by the device. Only one policy can be applied locally. An empty name setting disables the feature.
Context
- MIB
- HH3C-PBR-MIB
- OID
.1.3.6.1.4.1.25506.2.113.1.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hh3cPBRGlobal
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-PBR-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-PBR-MIB::hh3cPBRLocalPolicy.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-PBR-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-PBR-MIB::hh3cPBRLocalPolicy'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-19