diff options
author | Gaurav <gaurav.sinha@vyatta.com> | 2012-02-21 16:29:53 -0800 |
---|---|---|
committer | Gaurav <gaurav.sinha@vyatta.com> | 2012-02-21 16:29:53 -0800 |
commit | d66bfe5aa8509d1a146abff6dd149bbeabf2022f (patch) | |
tree | eef6099498b85ae3d22777654b4cb615a032812e | |
parent | bfbd8238b2d6dad88178d9684f3af568d5182bce (diff) | |
parent | 800b15c6ee9d463090c571d995734c7d16f28924 (diff) | |
download | vyatta-op-d66bfe5aa8509d1a146abff6dd149bbeabf2022f.tar.gz vyatta-op-d66bfe5aa8509d1a146abff6dd149bbeabf2022f.zip |
Merge branch 'oxnard' of http://git.vyatta.com/vyatta-op into oxnard
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | functions/tech-support | 17 |
2 files changed, 18 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index 3022668..1421630 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +vyatta-op (0.13.233) unstable; urgency=low + + * Add bridge info to show tech support + + -- Stephen Hemminger <shemminger@vyatta.com> Tue, 21 Feb 2012 12:14:33 -0800 + vyatta-op (0.13.232) unstable; urgency=low [ Stephen Hemminger ] 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)" |