l2tpPortEncapType
FutureL2tp-MIB ·
.1.3.6.1.4.1.29601.2.108.1.2.1.1.3
Object
column r/w
Enumeration
This object specifies the type of the packet to be traversed through the tunnel.
Encapsulation type can be (port based / port,vlan / QinQ /QinAny)
Port based - All the packet ingressed on this (port, attachment
circuit) will be tunneled with L2TPv3 header encapsulation.
Port-vlan - The packets ingressed on this port which matches the
(outer-vlan, attachment-circuit) will be tunneled with L2TPv3 header encapsulation.
Qinq - The packets ingressed on this port which matches with
(configured inner-vlan, configured outer-vlan, attachment circuit) will be tunneled
with L2TPv3 header encapsulation. if the EtherType of the VLAN is 8100, this configuration
will be used.
QinAny - The packets ingressed on this port which matches with
(configured inner-vlan, configured outer-vlan, attachment circuit) will be tunneled
with L2TPv3 header encapsulation. if the EtherType of the outer-VLAN is 88a8, and
the inner-vlan is 8100, then this configuration will be used.
Context
- MIB
- FutureL2tp-MIB
- OID
.1.3.6.1.4.1.29601.2.108.1.2.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- l2tpPortEntry
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 'FutureL2tp-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FutureL2tp-MIB::l2tpPortEncapType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FutureL2tp-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FutureL2tp-MIB::l2tpPortEncapType.<l2tpPortIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FutureL2tp-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FutureL2tp-MIB::l2tpPortEncapType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | port |
2 | port-vlan |
3 | qinq |
4 | qinAny |