summaryrefslogtreecommitdiff
path: root/functions/tech-support
diff options
context:
space:
mode:
authorGaurav <gaurav.sinha@vyatta.com>2012-02-21 16:29:53 -0800
committerGaurav <gaurav.sinha@vyatta.com>2012-02-21 16:29:53 -0800
commitd66bfe5aa8509d1a146abff6dd149bbeabf2022f (patch)
treeeef6099498b85ae3d22777654b4cb615a032812e /functions/tech-support
parentbfbd8238b2d6dad88178d9684f3af568d5182bce (diff)
parent800b15c6ee9d463090c571d995734c7d16f28924 (diff)
downloadvyatta-op-d66bfe5aa8509d1a146abff6dd149bbeabf2022f.tar.gz
vyatta-op-d66bfe5aa8509d1a146abff6dd149bbeabf2022f.zip
Merge branch 'oxnard' of http://git.vyatta.com/vyatta-op into oxnard
Diffstat (limited to 'functions/tech-support')
-rwxr-xr-xfunctions/tech-support17
1 files changed, 12 insertions, 5 deletions
diff --git a/functions/tech-support b/functions/tech-support
index cf1fc2f..570ef2d 100755
--- a/functions/tech-support
+++ b/functions/tech-support
@@ -100,24 +100,31 @@ header Ethernet
header Interface statistics
ip -s link show
-for eth in $(cd /sys/class/net; echo eth*)
+for eth in $(/opt/vyatta/sbin/vyatta-interfaces.pl --show=ethernet)
do header "Physical Interface statistics for $eth"
sudo ethtool -S $eth
done
-for eth in $(cd /sys/class/net; echo eth*)
+for eth in $(/opt/vyatta/sbin/vyatta-interfaces.pl --show=ethernet)
do header "Physical Interface Details for $eth"
show interfaces ethernet $eth physical
+ /sbin/ethtool -k $eth
done
-header Physical Interface Offload Settings and Capabilities
-sudo ethtool -K
-
header "ARP Table (Total entries)"
show arp
header Number of incomplete entries in ARP table
show arp | grep incomplete | wc -l
+
+header Bridge
+/usr/sbin/brctl show
+for br in $(/opt/vyatta/sbin/vyatta-interfaces.pl --show=bridge)
+do header "Bridge Information for $br"
+ /usr/sbin/brctl showstp $br
+ /usr/sbin/brctl showmacs $br
+done
+
header Serial
header "WAN Interface Hardware Information (wanrouter hwprobe)"