dhcpSnoopInformationOptionRID

ECS4120-MIB · .1.3.6.1.4.1.259.10.1.45.1.46.1.7

Object

scalar r/w Enumeration
This object indicates the option that is inserted in the relay agent
information remote ID sub-option. A value of tr101IP(6)
means that the RID format is '<IP> eth <BOARD ID>/<SID>/<PORT>[:<VLAN>]'.
A value of tr101Sysname(7) means that the RID format is 'eth <BOARD ID>/<SID>/<PORT>[:<VLAN>][SYSNAME]'.
A value of string_plus_port_description(8) means that the RID is
made up of 'string' and 'port description'.

Context

MIB
ECS4120-MIB
OID
.1.3.6.1.4.1.259.10.1.45.1.46.1.7
Type
scalar
Access
readwrite
Status
current
Parent
dhcpSnoopGlobal

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1macHex
2macAscii
3ipHex
4ipAscii
5string
6tr101IP
7tr101Sysname
8string_plus_port_description
9port_description