cat2600TsPortDuplex
CAT2600-MIB ·
.1.3.6.1.4.1.9.1.111.1.2.2.1.1.21
Object
column mandatory
r/w
Enumeration
Version 1 MIB
When read, this object indicates the Port Duplex state
obtained by the auto-detect function.
This object is a valid read object any time that
TSPortLinkState indicates up(1) or when TsPortFixedCfg
indicates fixed(2).
Write to this object when defining the Port Duplex state
for a fixed configuration (TsPortFixedCfg set to fixed(2)).
Version 2 MIB
This object is related to the dtrMac MIB objects
cPortProtocolCharCurrentAccessProtocol
and cPortProtocolCharAccessProtcolMask
as defined in the following table:
TsPortLinkState | TsPortFixedCfg | TsPortDuplex equivalent to:
| |
down | auto | CPortProtocolCharAccess
| | ProtocolMask = X'0003'
| |
down | fixed | CPortProtocolCharAccess
| | ProtocolMask = X'0001' or
| | = X'0002'
| |
up | auto | cPortProtocolCharCurrent
| | AccessProtocol
| |
up | fixed | cPortProtocolCharCurrent
| | AccessProtocol.
Context
- MIB
- CAT2600-MIB
- OID
.1.3.6.1.4.1.9.1.111.1.2.2.1.1.21- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- cat2600TsPortEntry
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 'CAT2600-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CAT2600-MIB::cat2600TsPortDuplex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CAT2600-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CAT2600-MIB::cat2600TsPortDuplex.<cat2600TsPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CAT2600-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CAT2600-MIB::cat2600TsPortDuplex'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | half-duplex |
2 | full-duplex |