hh3cSubnetVlanVlanIpAddressType
HH3C-SUBNET-VLAN-MIB ·
.1.3.6.1.4.1.25506.2.61.1.2.1.3
Object
There are two kinds of ip address supported by VLAN. One is IPv4, which is 32 bits. The other is IPv6, which is 128 bits.
Context
- MIB
- HH3C-SUBNET-VLAN-MIB
- OID
.1.3.6.1.4.1.25506.2.61.1.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cSubnetVlanEntry
- Groups
- 1
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 'HH3C-SUBNET-VLAN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SUBNET-VLAN-MIB::hh3cSubnetVlanVlanIpAddressType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-SUBNET-VLAN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SUBNET-VLAN-MIB::hh3cSubnetVlanVlanIpAddressType.<hh3cSubnetVlanVlanId>.<hh3cSubnetVlanSubnetIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-SUBNET-VLAN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-SUBNET-VLAN-MIB::hh3cSubnetVlanVlanIpAddressType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |
Conformance
Member of