osServL2CpOptProtocol
OS-SERV-L2CP-MIB ·
.1.3.6.1.4.1.6926.2.15.3.1.2
Object
column L2CpProtocol
.
Context
- MIB
- OS-SERV-L2CP-MIB
- OID
.1.3.6.1.4.1.6926.2.15.3.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- osServL2CpOptEntry
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 'OS-SERV-L2CP-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-SERV-L2CP-MIB::osServL2CpOptProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-SERV-L2CP-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-SERV-L2CP-MIB::osServL2CpOptProtocol.<osServL2CpOptSrvType>.<osServL2CpOptProtocol>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-SERV-L2CP-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-SERV-L2CP-MIB::osServL2CpOptProtocol'
Syntax
- Source
- L2CpProtocol
- Base type
Enumeration
Values & Constraints
Type Values
1 | unknown |
2 | stp |
3 | vtp |
4 | cdp |
5 | pvst |
6 | lacp |
7 | dot1x |
8 | udld |
9 | efm |
10 | esmc |
11 | dtp |
12 | ethoam |
13 | pagp |
14 | erp |
15 | lamp |
16 | elmi |
17 | lldp |
18 | garp |