l2tpGlobPortUsage
BIANCA-BRICK-L2TP-MIB ·
.1.3.6.1.4.1.272.4.23.8.10.20
Object
scalar mandatory
r/w
Enumeration
This object specifies whether L2TP uses only one UDP port (which number is defined by l2tpGlobUdpPort), or if it allocates a new available port, to send messages to the remote equipment. Choosing 'single' makes it sometimes easier to process L2TP through NAT since L2TP traffic can be classified based on the UDP port number. Choosing 'floating' selects the behavior which is recommended in RFC2331. Possible values: single(1), -- L2TP uses the UDP port defined by l2tpGlobUdpPort -- to send messages to the remote equipment. floating(2) -- L2TP allocates a new port to send messages to -- the remote equipment (default).
Context
- MIB
- BIANCA-BRICK-L2TP-MIB
- OID
.1.3.6.1.4.1.272.4.23.8.10.20- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- l2tpGlobals
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BIANCA-BRICK-L2TP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-BRICK-L2TP-MIB::l2tpGlobPortUsage.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BIANCA-BRICK-L2TP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BIANCA-BRICK-L2TP-MIB::l2tpGlobPortUsage'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | single |
2 | floating |