tmnxOFFlowTableSwitchDefCookie
TIMETRA-OPEN-FLOW-MIB ·
.1.3.6.1.4.1.6527.3.1.2.93.1.6.1.8
Object
The value of tmnxOFFlowTableSwitchDefCookie specifies whether to
enable switch-defined cookie encoding or use standard cookie encoding
for this flow-table.
When the value of tmnxOFFlowTableSwitchDefCookie is set to 'disabled
(2)', open-flow controller uses standard cookie encoding.
When the value of tmnxOFFlowTableSwitchDefCookie is set to 'enabled
(1)', open-flow controller encodes cookie with special information
detailed below:
64 60 59 32 31 0
+-------------+-------------------------+-----------------------+
| cookie-type | switch-defined-cookie | standard-flow-cookie |
+-------------+-------------------------+-----------------------+
Cookie Name Cookie Type Cookie Value Cookie Usage
(Bits 63..60) (Bits 59..32)
----------- ------------- ------------ -------------------------
grt 0 0 0 0 0 use this cookie value to
program flowtable rules
to be used in GRT instance
system 1 0 0 0 0 use this cookie value to
program flowtable rules
to be used in system
filters
service 1 1 0 0 service-id for use this cookie value to
'vpls' or program flowtable rules
'vprn' to be used in 'vpls' or
services 'vprn' service-types
All other values for the cookie are reserved.
Context
- MIB
- TIMETRA-OPEN-FLOW-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.93.1.6.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tmnxOFFlowTableEntry
- Groups
- 1
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-OPEN-FLOW-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-OPEN-FLOW-MIB::tmnxOFFlowTableSwitchDefCookie'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-OPEN-FLOW-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-OPEN-FLOW-MIB::tmnxOFFlowTableSwitchDefCookie.<tmnxOFSwitchName>.<tmnxOFFlowTableId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-OPEN-FLOW-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-OPEN-FLOW-MIB::tmnxOFFlowTableSwitchDefCookie'
Syntax
- Source
- TIMETRA-TC-MIBTmnxEnabledDisabled
- Base type
Enumeration
Values & Constraints
Type Values
1 | enabled |
2 | disabled |
Conformance
Member of