From ab2be759af1624584fef442f824158cc94040bd2 Mon Sep 17 00:00:00 2001 From: pyro3d Date: Mon, 8 Oct 2018 01:56:38 -0700 Subject: [PATCH] Document peth_port_ifindex for Junipers (#275) Document peth_port_ifindex in Juniper.pm --- lib/SNMP/Info/Layer3/Juniper.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/SNMP/Info/Layer3/Juniper.pm b/lib/SNMP/Info/Layer3/Juniper.pm index 5b8c3cd1..8b961f62 100644 --- a/lib/SNMP/Info/Layer3/Juniper.pm +++ b/lib/SNMP/Info/Layer3/Juniper.pm @@ -847,6 +847,13 @@ Returns reference to hash of arrays: key = C, value = array of VLAN IDs. These are the VLANs which are members of the untagged egress list for the port. +=item $juniper->peth_port_ifindex() + +Returns reference to a hash: key= PowerEthernet MIB interface number, +value = C. As Juniper does not provide a mapping function, +this does it manually. +For example, ge-0/0/1 registers as PowerEthernet interface '1.2' + =back =head2 Pseudo F information