vlagCurCfgPeerGateway
LENOVO-GbTOR-G8264CS-MIB ·
.1.3.6.1.4.1.20301.2.7.15.2.1.18.32
Object
scalar Enumeration
Current peer gateway configuration. If enabled(1), the vLAG switch will act as the active gateway for packets that are addressed to the router MAC address of the vLAG peer.
Context
- MIB
- LENOVO-GbTOR-G8264CS-MIB
- OID
.1.3.6.1.4.1.20301.2.7.15.2.1.18.32- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- vlagCfg
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 'LENOVO-GbTOR-G8264CS-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G8264CS-MIB::vlagCurCfgPeerGateway.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-GbTOR-G8264CS-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-GbTOR-G8264CS-MIB::vlagCurCfgPeerGateway'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |