summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2012-02-22 08:55:37 -0800
committerJohn Southworth <john.southworth@vyatta.com>2012-02-22 08:55:37 -0800
commit3015459c04bdefb7b6d6d14d344cc77c53ac1ec9 (patch)
treef26bc81dc280768985d276f8d6649b4d24adf8a2 /functions
parent6556eaf70db21e790aef323c32523fe0c439ec0b (diff)
parent9552e97e6a0248bf3d9216dd4b84ad9736cd9833 (diff)
downloadvyatta-op-3015459c04bdefb7b6d6d14d344cc77c53ac1ec9.tar.gz
vyatta-op-3015459c04bdefb7b6d6d14d344cc77c53ac1ec9.zip
Merge branch 'oxnard' of git.vyatta.com:/git/vyatta-op into oxnard
Diffstat (limited to 'functions')
-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)"