hwDhcpRelayInterfaceRelayAgentSwitch

HUAWEI-VLAN-MIB · .1.3.6.1.4.1.2011.5.6.1.25.1.36

Object

column r/w Enumeration
Indicates the VLAN-based filling mode of the GIADDR field of the current DHCP-relay upstream packet.
Options:
1. receive(1) -indicates that in the DHCP packet sent from the DHCP relay agent to the server,
               the gateway IP address is set to the IP address of the Rx interface (user-side interface).
2. send(2)    -indicates that in the DHCP packet sent from the DHCP relay agent to the server,
               the gateway IP address is set to the IP address of the Tx interface (network-side interface).
3. notConfig(3) -indicates that the configuration in the global mode takes effect.
              
This leaf is optional for creating a VLAN service profile.
The filling mode of the GIADDR field of the current DHCP-relay upstream packet in the global mode
can be set in hwDhcpRelayInterfaceRelayAgent of HUAWEI-DHCP-PROXY-MIB.
The final status of the configuration is determined by its global-level switch and VLAN-level switch.
If a VLAN service profile is bound to the VLAN, and the hwDhcpRelayInterfaceRelayAgentSwitch
in VLAN service profile is not notConfig(3), the configuration in the VLAN service profile takes effect.
If no VLAN service profile is bound to the VLAN, or the hwDhcpRelayInterfaceRelayAgentSwitch
in VLAN service profile is notConfig(3), the configuration in the global mode takes effect.

Context

MIB
HUAWEI-VLAN-MIB
OID
.1.3.6.1.4.1.2011.5.6.1.25.1.36
Type
column
Access
readwrite
Status
current
Parent
hwVlanSrvProfEntry

Walk 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 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwDhcpRelayInterfaceRelayAgentSwitch'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwDhcpRelayInterfaceRelayAgentSwitch.<hwVlanSrvProfName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VLAN-MIB::hwDhcpRelayInterfaceRelayAgentSwitch'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1receive
2send
3notConfig