hwDhcpv6RelayInterfaceSrcipv6
HUAWEI-DSLAM-DHCPV6-RELAY-MIB ·
.1.3.6.1.4.1.2011.5.111.1.3.1.4
Object
column r/w
Enumeration
The mode for the Layer 3 DHCPv6 relay to fill in the source IPv6 address of the packet.When hwDhcpv6RelayInterfaceSrcipv6 is in loopback mode, hwDhcpv6RelayInterfaceSrcipv6LoopbackIfIndex must be issued together. Data type: integer Options: 1. receive(1) -Means to fill in the IPv6 address of the receive interface as the source IPv6 address of the Relay-Forward packet 2. send(2) -Means to fill in the IPv6 address of the send interface as the source IPv6 address of the Relay-Forward packet 3. loopback(3) -Means to fill in the IPv6 address of the loopback interface as the source IPv6 address of the Relay-Forward packet Default: send(2)
Context
- MIB
- HUAWEI-DSLAM-DHCPV6-RELAY-MIB
- OID
.1.3.6.1.4.1.2011.5.111.1.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwDhcpv6RelayConfigEntry
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 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB::hwDhcpv6RelayInterfaceSrcipv6'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB::hwDhcpv6RelayInterfaceSrcipv6.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB::hwDhcpv6RelayInterfaceSrcipv6'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | receive |
2 | send |
3 | loopback |