pwEnetPortIfIndex
PW-ENET-STD-MIB ·
.1.3.6.1.2.1.180.1.1.1.5
Object
This object is used to specify the ifIndex of the Ethernet
port associated with this PW for point-to-point Ethernet
service, or the ifIndex of the virtual interface of the
VPLS instance associated with the PW if the service is
VPLS. Two rows in this table can point to the same ifIndex
only if there is no overlap of VLAN values specified in
pwEnetPortVlan that are associated with this port.
A value of zero indicates that association to an ifIndex is
not yet known.
Context
- MIB
- PW-ENET-STD-MIB
- OID
.1.3.6.1.2.1.180.1.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- pwEnetEntry
- 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 'PW-ENET-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PW-ENET-STD-MIB::pwEnetPortIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PW-ENET-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PW-ENET-STD-MIB::pwEnetPortIfIndex.<pwIndex>.<pwEnetPwInstance>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PW-ENET-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PW-ENET-STD-MIB::pwEnetPortIfIndex'
Syntax
- Source
- IF-MIBInterfaceIndexOrZero
- Base type
Integer32- Display format
d
Type Description
This textual convention is an extension of the InterfaceIndex convention. The latter defines a greater than zero value used to identify an interface or interface sub-layer in the managed system. This extension permits the additional value of zero. the value zero is object-specific and must therefore be defined as part of the description of any object which uses this syntax. Examples of the usage of zero might include situations where interface was unknown, or when none or all interfaces need to be referenced.
Values & Constraints
Type Constraints
range: 0..2147483647
Conformance
Member of
Compliance refinements
pwEnetModuleReadOnlyCompliance
readonly
Write access is not required.