diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-09 18:18:16 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-09 18:36:47 -0800 |
commit | 97bc0ed6b7d3f47fcf3216c20ab1a50ee269d55e (patch) | |
tree | b5752b42f8b9fc39570d84bf0322c41992f8d38c /templates/show/snmp/mib/ifmib/ifDescr | |
parent | 34c17ca992a0a9550bd5fcdc865d959e6c46edf8 (diff) | |
download | vyatta-op-97bc0ed6b7d3f47fcf3216c20ab1a50ee269d55e.tar.gz vyatta-op-97bc0ed6b7d3f47fcf3216c20ab1a50ee269d55e.zip |
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
Diffstat (limited to 'templates/show/snmp/mib/ifmib/ifDescr')
-rw-r--r-- | templates/show/snmp/mib/ifmib/ifDescr/node.def | 2 | ||||
-rw-r--r-- | templates/show/snmp/mib/ifmib/ifDescr/node.tag/node.def | 2 |
2 files changed, 4 insertions, 0 deletions
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 diff --git a/templates/show/snmp/mib/ifmib/ifDescr/node.tag/node.def b/templates/show/snmp/mib/ifmib/ifDescr/node.tag/node.def new file mode 100644 index 0000000..95222de --- /dev/null +++ b/templates/show/snmp/mib/ifmib/ifDescr/node.tag/node.def @@ -0,0 +1,2 @@ +help: Show SNMP ifDescr for specified interface +run: ${vyatta_bindir}/vyatta-show-snmp-ifmib --ifdescr $6 |