vRtrIfDHCPLayer2Header
TIMETRA-VRTR-MIB ·
.1.3.6.1.4.1.6527.3.1.2.3.19.1.34
Object
The value of vRtrIfDHCPLayer2Header specifies, together with the value
of object vRtrIfDHCPAntiSpoofMacAddr, the MAC address that is used in
anti-spoof entries for the lease states on this interface.
When it is set to 'false (2)', the client hardware address from the
DHCP payload, stored in TIMETRA-SERV-MIB::svcDhcpLseStateChAddr, is
used.
When it is set to 'true (1)', the behavior depends on the value of
vRtrIfDHCPAntiSpoofMacAddr. If vRtrIfDHCPAntiSpoofMacAddr is set to
all zeros, the source MAC address in the L2 header of the DHCP packet
is used. If vRtrIfDHCPAntiSpoofMacAddr is configured, then its value
is used.
Only if the corresponding row in the vRtrIfTable has the value of the
object vRtrIfType equal to 'serviceIesGroup', it is allowed to set the
value of vRtrIfDHCPLayer2Header to 'true'.
Context
- MIB
- TIMETRA-VRTR-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.3.19.1.34- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vRtrIfDHCPEntry
- Groups
- 5
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 'TIMETRA-VRTR-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-VRTR-MIB::vRtrIfDHCPLayer2Header'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-VRTR-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-VRTR-MIB::vRtrIfDHCPLayer2Header.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-VRTR-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-VRTR-MIB::vRtrIfDHCPLayer2Header'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |