hwVxlanSourcePortMode

HUAWEI-IPDSLAM-L3PROTOCOL-MIB · .1.3.6.1.4.1.2011.6.125.3

Object

scalar r/w Bits
Indicates the optional mode of vxlan source-port. The default value is destination mac and source mac.
Options:
1. dmac(0)    -the mode of vxlan source-port is based on the destination mac of packet.
2. smac(1)    -the mode of vxlan source-port is based on the source mac of packet.
3. sip(2)     -the mode of vxlan source-port is based on the destination IP of packet.
4. dip(3)     -the mode of vxlan source-port is based on the source IP of packet.

Context

MIB
HUAWEI-IPDSLAM-L3PROTOCOL-MIB
OID
.1.3.6.1.4.1.2011.6.125.3
Type
scalar
Access
readwrite
Status
current
Parent
hwL3Protocol

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

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

Syntax

Bits

Values & Constraints

Enumerated Values
0dmac
1smac
2sip
3dip