pwPeerAddrType
PW-STD-R-MIB ·
.1.3.6.1.4.1.164.20.10.1.2.1.8
Object
Denotes the address type of the peer node. It should be set to 'unknown' if PE/PW maintenance protocol is not used and the address is unknown.
Context
- MIB
- PW-STD-R-MIB
- OID
.1.3.6.1.4.1.164.20.10.1.2.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- pwEntry
- Groups
- 1
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 'PW-STD-R-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PW-STD-R-MIB::pwPeerAddrType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PW-STD-R-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PW-STD-R-MIB::pwPeerAddrType.<pwIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PW-STD-R-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PW-STD-R-MIB::pwPeerAddrType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |
Conformance
Member of
Compliance refinements
Values:
unknown(0), ipv4(1)
Only unknown(0) and ipv4(1) is required.
Implementation that support only IPv4 MAY support
read-only access.
Implementation that support only IPv4 MAY support
read-only access.
Values:
unknown(0), ipv4(1)
Write access is not required. Only unknown(0) and
ipv4(1) is required.
ipv4(1) is required.