From 97bc0ed6b7d3f47fcf3216c20ab1a50ee269d55e Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Tue, 9 Nov 2010 18:18:16 -0800
Subject: Add commands to show if-mib mappings for interface

This adds operational mode commands to display what SNMP service shows
but it is not done through SNMP.

New:
	show snmp mib ifmib
	show snmp mib ifmib ifIndex
        show snmp mib ifmib ifIndex eth1
        show snmp mib ifmib ifAlias
        show snmp mib ifmib ifAlias eth2
        show snmp mib ifmib ifDescr
        show snmp mib ifmib ifDescr eth1
---
 templates/show/snmp/mib/ifmib/ifDescr/node.def | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 templates/show/snmp/mib/ifmib/ifDescr/node.def

(limited to 'templates/show/snmp/mib/ifmib/ifDescr/node.def')

diff --git a/templates/show/snmp/mib/ifmib/ifDescr/node.def b/templates/show/snmp/mib/ifmib/ifDescr/node.def
new file mode 100644
index 0000000..6ec827d
--- /dev/null
+++ b/templates/show/snmp/mib/ifmib/ifDescr/node.def
@@ -0,0 +1,2 @@
+help: Show SNMP ifDescr for all interfaces
+run: ${vyatta_bindir}/vyatta-show-snmp-ifmib --ifdescr
-- 
cgit v1.2.3

