tmnxPortMode
TIMETRA-PORT-MIB ·
.1.3.6.1.4.1.6527.3.1.2.2.4.2.1.11
Object
column r/w
Enumeration
The tmnxPortMode variable indicates if the interface on this port
is configured as a service access port, a network port or a
hybrid port. Once the port's mode has been configured for 'access',
'network' or 'hybrid' mode, multiple services may be configured
on the port.
tmnxPortEncapType is defaulted based on MDA type and Port Mode
according to the following table:
MDA Type Port Mode tmnxPortEncapType
---------------------------------------------------------
ATM access atmEncap
CEM access cemEncap
Ethernet access nullEncap
network nullEncap
hybrid qEncap
ISA
isa-aa network nullEncap
isa-bb access qinqEncap
network qEncap
isa-ipsec access qEncap
isa-video access qEncap
Sonet/SDH access bcpNullEncap
network pppAutoEncap
TDM access bcpNullEncap
network pppAutoEncap
Context
- MIB
- TIMETRA-PORT-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.2.4.2.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tmnxPortEntry
- Groups
- 5
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 'TIMETRA-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-PORT-MIB::tmnxPortMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-PORT-MIB::tmnxPortMode.<tmnxChassisIndex>.<tmnxPortPortID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-PORT-MIB::tmnxPortMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | undefined |
1 | access |
2 | network |
3 | hybrid |