swDHCPv6RelayOption18InterfaceIDType

DHCPv6-RELAY-MGMT-MIB · .1.3.6.1.4.1.171.12.84.1.6.3

Object

scalar r/w Enumeration
This object indicates the type of interface ID.
If the type is default ,the interface ID will be
VLAN ID;
If the type is cid,the interface ID will be VLAN ID + Module + Port;
If the type is vendor1, the interface ID will ethernet+chassis ID+
/0/+Port+:+VLAN ID+.0+space+System name+/0/0/+chassis ID+/0/+Port.

Context

MIB
DHCPv6-RELAY-MGMT-MIB
OID
.1.3.6.1.4.1.171.12.84.1.6.3
Type
scalar
Access
readwrite
Status
current
Parent
swDHCPv6RelayOption18

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DHCPv6-RELAY-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DHCPv6-RELAY-MGMT-MIB::swDHCPv6RelayOption18InterfaceIDType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DHCPv6-RELAY-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DHCPv6-RELAY-MGMT-MIB::swDHCPv6RelayOption18InterfaceIDType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1default
2cid
3vendor1