csubSessionNativeIpAddrType2
CISCO-SUBSCRIBER-SESSION-MIB ·
.1.3.6.1.4.1.9.9.786.1.1.1.1.35
Object
This object indicates the type of IP address assigned to the
subscriber on the customer-facing side of the system.
This column is valid only if the 'nativeIpAddress' bit of the
corresponding instance of csubSessionAvailableIdentities is
'1'.
In Dual stack scenarios both 'csubSessionNativeIpAddrType' and
'csubSessionNativeIpAddrType2' will be valid
Context
- MIB
- CISCO-SUBSCRIBER-SESSION-MIB
- OID
.1.3.6.1.4.1.9.9.786.1.1.1.1.35- Type
- column
- Access
- readonly
- Status
- current
- Parent
- csubSessionEntry
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 'CISCO-SUBSCRIBER-SESSION-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-SUBSCRIBER-SESSION-MIB::csubSessionNativeIpAddrType2'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-SUBSCRIBER-SESSION-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-SUBSCRIBER-SESSION-MIB::csubSessionNativeIpAddrType2.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-SUBSCRIBER-SESSION-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-SUBSCRIBER-SESSION-MIB::csubSessionNativeIpAddrType2'
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 |