dell-switch
5 years agodocument SNMP MIB installation
Dobrica Pavlinusic [Sat, 7 Jul 2018 08:26:35 +0000 (10:26 +0200)]
document SNMP MIB installation

5 years agoconfigure snmp on switches
Dobrica Pavlinusic [Sat, 7 Jul 2018 06:56:25 +0000 (08:56 +0200)]
configure snmp on switches

5 years agomove documentation into doc folder
Dobrica Pavlinusic [Sat, 7 Jul 2018 06:46:43 +0000 (08:46 +0200)]
move documentation into doc folder

5 years agoconfigure interface switchport access vlan 42
Dobrica Pavlinusic [Fri, 6 Jul 2018 18:54:40 +0000 (20:54 +0200)]
configure interface switchport access vlan 42

5 years agodocument vlan change
Dobrica Pavlinusic [Fri, 6 Jul 2018 18:52:54 +0000 (20:52 +0200)]
document vlan change

5 years agodocument how to use tools to debug packet problems
Dobrica Pavlinusic [Fri, 6 Jul 2018 17:34:46 +0000 (19:34 +0200)]
document how to use tools to debug packet problems

5 years agocomment out debug
Dobrica Pavlinusic [Fri, 6 Jul 2018 16:56:48 +0000 (18:56 +0200)]
comment out debug

5 years agotoggle switch port using snmp
Dobrica Pavlinusic [Fri, 6 Jul 2018 16:25:58 +0000 (18:25 +0200)]
toggle switch port using snmp

5 years agoprint all ports and vlans in table
Dobrica Pavlinusic [Fri, 6 Jul 2018 07:18:36 +0000 (09:18 +0200)]
print all ports and vlans in table

5 years agocollect vlans configured for ports from show vlan
Dobrica Pavlinusic [Thu, 5 Jul 2018 09:34:30 +0000 (11:34 +0200)]
collect vlans configured for ports from show vlan

5 years agoadded fping and collect /dev/shm/dead switches
Dobrica Pavlinusic [Wed, 4 Jul 2018 16:38:16 +0000 (18:38 +0200)]
added fping and collect /dev/shm/dead switches

5 years agodocument finding mac adress from snmp dumps
Dobrica Pavlinusic [Wed, 4 Jul 2018 16:33:51 +0000 (18:33 +0200)]
document finding mac adress from snmp dumps

5 years agocleanup code, more examples
Dobrica Pavlinusic [Fri, 29 Jun 2018 15:10:59 +0000 (17:10 +0200)]
cleanup code, more examples

5 years agouse snmpwalk - faster and gets us virtual interfaces
Dobrica Pavlinusic [Fri, 29 Jun 2018 09:41:32 +0000 (11:41 +0200)]
use snmpwalk - faster and gets us virtual interfaces

5 years agoshow type and description to get switch model number
Dobrica Pavlinusic [Fri, 29 Jun 2018 08:20:39 +0000 (10:20 +0200)]
show type and description to get switch model number

5 years agocommit file state with "switch : port port" in message
Dobrica Pavlinusic [Fri, 29 Jun 2018 08:18:25 +0000 (10:18 +0200)]
commit file state with "switch : port port" in message

5 years agosingle snmpget invocation per port, much faster
Dobrica Pavlinusic [Fri, 29 Jun 2018 07:22:31 +0000 (09:22 +0200)]
single snmpget invocation per port, much faster

5 years agoStrictHostKeyChecking=no, decrease timeout for speedup
Dobrica Pavlinusic [Thu, 28 Jun 2018 21:07:17 +0000 (23:07 +0200)]
StrictHostKeyChecking=no, decrease timeout for speedup

5 years agotoggle port up/down (with ENTER confirmation)
Dobrica Pavlinusic [Thu, 28 Jun 2018 21:06:45 +0000 (23:06 +0200)]
toggle port up/down (with ENTER confirmation)

5 years agoresolve hostname as argument
Dobrica Pavlinusic [Thu, 28 Jun 2018 18:08:29 +0000 (20:08 +0200)]
resolve hostname as argument

5 years agofallback to BRIDGE-MIB::dot1dTpFdbPort
Dobrica Pavlinusic [Sat, 23 Jun 2018 12:22:38 +0000 (14:22 +0200)]
fallback to BRIDGE-MIB::dot1dTpFdbPort

5 years agosupport IP address as argument
Dobrica Pavlinusic [Sat, 23 Jun 2018 09:11:31 +0000 (11:11 +0200)]
support IP address as argument

5 years agouse bro if mac is not found in local arp
Dobrica Pavlinusic [Fri, 22 Jun 2018 14:27:22 +0000 (16:27 +0200)]
use bro if mac is not found in local arp

5 years agogrep bro conn.log for ip vlan and mac
Dobrica Pavlinusic [Fri, 22 Jun 2018 14:26:05 +0000 (16:26 +0200)]
grep bro conn.log for ip vlan and mac

5 years agoautomacially find trunk ports and exclude them
Dobrica Pavlinusic [Fri, 22 Jun 2018 13:53:36 +0000 (15:53 +0200)]
automacially find trunk ports and exclude them

5 years agoresolve hostname so we can query right name and ip
Dobrica Pavlinusic [Fri, 22 Jun 2018 10:36:16 +0000 (12:36 +0200)]
resolve hostname so we can query right name and ip

5 years agofind switch port for specified hostname
Dobrica Pavlinusic [Fri, 22 Jun 2018 10:17:19 +0000 (12:17 +0200)]
find switch port for specified hostname

5 years agoMerge branch 'master' of github.com:ffzg/dell-switch
Dobrica Pavlinusic [Fri, 22 Jun 2018 09:07:25 +0000 (11:07 +0200)]
Merge branch 'master' of github.com:ffzg/dell-switch

5 years agohow blocked port state as B
Dobrica Pavlinusic [Wed, 20 Jun 2018 08:31:36 +0000 (10:31 +0200)]
how blocked port state as B

5 years agopass dump param using enviroment
Dobrica Pavlinusic [Wed, 20 Jun 2018 06:41:15 +0000 (08:41 +0200)]
pass dump param using enviroment

5 years agoexample script to tail switch logs
Dobrica Pavlinusic [Wed, 20 Jun 2018 06:36:12 +0000 (08:36 +0200)]
example script to tail switch logs

5 years agotrack spanning tree topology changes
Dobrica Pavlinusic [Tue, 19 Jun 2018 14:50:16 +0000 (16:50 +0200)]
track spanning tree topology changes

5 years agoadded 60 s timeout for host/port to show only live ones
Dobrica Pavlinusic [Tue, 19 Jun 2018 13:10:42 +0000 (15:10 +0200)]
added 60 s timeout for host/port to show only live ones

5 years agoadded mikrotik parsing
Dobrica Pavlinusic [Tue, 19 Jun 2018 11:48:39 +0000 (13:48 +0200)]
added mikrotik parsing

5 years agoreset stats when file is present and kill -HUP is sent
Dobrica Pavlinusic [Tue, 19 Jun 2018 11:43:41 +0000 (13:43 +0200)]
reset stats when file is present and kill -HUP is sent

5 years agoignore PIX log entries
Dobrica Pavlinusic [Tue, 19 Jun 2018 10:58:17 +0000 (12:58 +0200)]
ignore PIX log entries

5 years agoadded reset and dump control files
Dobrica Pavlinusic [Tue, 19 Jun 2018 10:20:36 +0000 (12:20 +0200)]
added reset and dump control files

5 years agodump pid and stats into /dev/shm
Dobrica Pavlinusic [Tue, 19 Jun 2018 09:00:52 +0000 (11:00 +0200)]
dump pid and stats into /dev/shm

5 years agodump stats on HUP signal
Dobrica Pavlinusic [Tue, 19 Jun 2018 08:42:25 +0000 (10:42 +0200)]
dump stats on HUP signal

5 years agocount Dell and Microtick syslog port and stp changes
Dobrica Pavlinusic [Tue, 19 Jun 2018 08:29:53 +0000 (10:29 +0200)]
count Dell and Microtick syslog port and stp changes

6 years agouse just right part of table
Dobrica Pavlinusic [Tue, 24 Apr 2018 17:15:16 +0000 (19:15 +0200)]
use just right part of table

6 years agosort frequencies to local and external
Dobrica Pavlinusic [Tue, 24 Apr 2018 17:14:36 +0000 (19:14 +0200)]
sort frequencies to local and external

6 years agocreate dump files in /dev/shm/snmp-mac
Dobrica Pavlinusic [Tue, 24 Apr 2018 17:13:50 +0000 (19:13 +0200)]
create dump files in /dev/shm/snmp-mac

6 years agogenerate graphviz dot
Dobrica Pavlinusic [Mon, 23 Apr 2018 06:21:11 +0000 (08:21 +0200)]
generate graphviz dot

6 years agogenerate graphviz dot
Dobrica Pavlinusic [Sun, 22 Apr 2018 12:11:14 +0000 (14:11 +0200)]
generate graphviz dot

6 years agoparse ip link and iw dev scan and show visibility
Dobrica Pavlinusic [Sun, 22 Apr 2018 11:25:15 +0000 (13:25 +0200)]
parse ip link and iw dev scan and show visibility

6 years agoexecute command on wifi nodes and generate /dev/shm/wap
Dobrica Pavlinusic [Sun, 22 Apr 2018 08:54:04 +0000 (10:54 +0200)]
execute command on wifi nodes and generate /dev/shm/wap

6 years agouse ifHighSpeed instead of calculation
Dobrica Pavlinusic [Fri, 13 Apr 2018 13:14:21 +0000 (15:14 +0200)]
use ifHighSpeed instead of calculation

6 years agospecify extra arguments after switch name
Dobrica Pavlinusic [Fri, 13 Apr 2018 13:02:08 +0000 (15:02 +0200)]
specify extra arguments after switch name

6 years agouse dot1qFdbTable to also get vlan
Dobrica Pavlinusic [Wed, 11 Apr 2018 17:54:04 +0000 (19:54 +0200)]
use dot1qFdbTable to also get vlan

6 years agodisplay switch name for port
Dobrica Pavlinusic [Wed, 11 Apr 2018 17:00:17 +0000 (19:00 +0200)]
display switch name for port

6 years agofix path to grep in /dev/shm/
Dobrica Pavlinusic [Wed, 11 Apr 2018 16:59:54 +0000 (18:59 +0200)]
fix path to grep in /dev/shm/

6 years agodon't chop last octet of mac
Dobrica Pavlinusic [Wed, 11 Apr 2018 16:59:30 +0000 (18:59 +0200)]
don't chop last octet of mac

6 years agorename script to snmp-mac-port and create same /dev/shm files
Dobrica Pavlinusic [Wed, 11 Apr 2018 14:47:06 +0000 (16:47 +0200)]
rename script to snmp-mac-port and create same /dev/shm files

moved filtering of snmpwalk output into script itself

6 years agogenerate files in /dev/shm/port-status/
Dobrica Pavlinusic [Wed, 11 Apr 2018 14:28:55 +0000 (16:28 +0200)]
generate files in /dev/shm/port-status/

6 years agoextract switch name generation into own script
Dobrica Pavlinusic [Wed, 11 Apr 2018 14:17:09 +0000 (16:17 +0200)]
extract switch name generation into own script

6 years agosnmp-walk is much better name for this tool
Dobrica Pavlinusic [Wed, 11 Apr 2018 14:13:38 +0000 (16:13 +0200)]
snmp-walk is much better name for this tool

Since it doesn't fetch arp, but mac bridge table

6 years agodisplay status of all switch ports
Dobrica Pavlinusic [Wed, 11 Apr 2018 14:12:44 +0000 (16:12 +0200)]
display status of all switch ports

6 years agoget switch arp table
Dobrica Pavlinusic [Wed, 11 Apr 2018 14:12:01 +0000 (16:12 +0200)]
get switch arp table

6 years agogrep through dumps in /dev/shm/sw.mac.port
Dobrica Pavlinusic [Wed, 11 Apr 2018 13:35:37 +0000 (15:35 +0200)]
grep through dumps in /dev/shm/sw.mac.port

6 years agogenerate new snmp dumps in /dev/shm/sw.mac.port
Dobrica Pavlinusic [Wed, 11 Apr 2018 13:34:39 +0000 (15:34 +0200)]
generate new snmp dumps in /dev/shm/sw.mac.port

6 years agoadded configurable community and create files in /dev/shm
Dobrica Pavlinusic [Mon, 9 Apr 2018 06:57:24 +0000 (08:57 +0200)]
added configurable community and create files in /dev/shm

6 years agouse snmpwalk to get mac entries
Valentino Sefer [Thu, 5 Apr 2018 08:24:30 +0000 (10:24 +0200)]
use snmpwalk to get mac entries

6 years agoshow number of mac addresses on each port
Dobrica Pavlinusic [Thu, 5 Apr 2018 07:33:18 +0000 (09:33 +0200)]
show number of mac addresses on each port

Usful for finding uplink ports

6 years agocopy startup-config ftp:// example and prompt response
Dobrica Pavlinusic [Tue, 20 Mar 2018 11:11:06 +0000 (12:11 +0100)]
copy startup-config ftp:// example and prompt response

6 years agodocument which command to run to display fans status
Dobrica Pavlinusic [Tue, 20 Mar 2018 11:00:04 +0000 (12:00 +0100)]
document which command to run to display fans status

6 years agoadded ability to enter configure mode and confirm save config
Dobrica Pavlinusic [Wed, 23 Aug 2017 12:39:49 +0000 (14:39 +0200)]
added ability to enter configure mode and confirm save config

6 years agosupport multiple commands, find config in current dir
Dobrica Pavlinusic [Sun, 14 May 2017 19:15:58 +0000 (21:15 +0200)]
support multiple commands, find config in current dir

6 years agoshow interface speeds
Dobrica Pavlinusic [Sun, 14 May 2017 12:20:21 +0000 (14:20 +0200)]
show interface speeds

7 years agoadded two more commands for ip only invocation
Dobrica Pavlinusic [Wed, 31 Aug 2016 12:33:38 +0000 (14:33 +0200)]
added two more commands for ip only invocation

7 years agosend enable only as first command, fix cleanup
Dobrica Pavlinusic [Mon, 29 Aug 2016 15:37:45 +0000 (17:37 +0200)]
send enable only as first command, fix cleanup

7 years agotweak flush and timeout, better prompt detection
Dobrica Pavlinusic [Mon, 29 Aug 2016 09:48:39 +0000 (11:48 +0200)]
tweak flush and timeout, better prompt detection

7 years agoadded some sleeps to help slow switches
Dobrica Pavlinusic [Thu, 9 Jun 2016 07:39:50 +0000 (09:39 +0200)]
added some sleeps to help slow switches

7 years agouse show bridge address output
Dobrica Pavlinusic [Thu, 9 Jun 2016 07:38:59 +0000 (09:38 +0200)]
use show bridge address output

7 years agoenable and new more prompt
Dobrica Pavlinusic [Mon, 9 May 2016 11:55:52 +0000 (13:55 +0200)]
enable and new more prompt

7 years agopass username and password throgh ssh
Dobrica Pavlinusic [Mon, 9 May 2016 11:52:03 +0000 (13:52 +0200)]
pass username and password throgh ssh

This is required for newer Dell switches (like 6248) which don't
use full-screen login as older ones do

8 years agohosts dumps ip and hostname
Dobrica Pavlinusic [Fri, 11 Dec 2015 12:19:16 +0000 (13:19 +0100)]
hosts dumps ip and hostname

8 years agoexit 0 if switch is not accessable
Dobrica Pavlinusic [Thu, 10 Dec 2015 13:28:39 +0000 (14:28 +0100)]
exit 0 if switch is not accessable

8 years agogrep for mac addresses in show bridge address-table
Dobrica Pavlinusic [Tue, 22 Sep 2015 13:52:06 +0000 (15:52 +0200)]
grep for mac addresses in show bridge address-table

8 years agofix more prompt for PowerConnect 5548
Dobrica Pavlinusic [Mon, 21 Sep 2015 15:54:35 +0000 (17:54 +0200)]
fix more prompt for PowerConnect 5548

8 years agoshow headers describing numbers
Dobrica Pavlinusic [Fri, 18 Sep 2015 10:01:12 +0000 (12:01 +0200)]
show headers describing numbers

8 years agodon't display duplicate ips
Dobrica Pavlinusic [Fri, 18 Sep 2015 09:04:29 +0000 (11:04 +0200)]
don't display duplicate ips

8 years agoreport fan status and failures
Dobrica Pavlinusic [Thu, 17 Sep 2015 19:56:09 +0000 (21:56 +0200)]
report fan status and failures

8 years agolist ip and host with ips 1,2
Dobrica Pavlinusic [Thu, 17 Sep 2015 19:53:01 +0000 (21:53 +0200)]
list ip and host with ips 1,2

8 years agolist ip addresses crawled
Dobrica Pavlinusic [Thu, 17 Sep 2015 19:45:37 +0000 (21:45 +0200)]
list ip addresses crawled

8 years agodon't save files without command (prompt only)
Dobrica Pavlinusic [Thu, 17 Sep 2015 17:41:53 +0000 (19:41 +0200)]
don't save files without command (prompt only)

8 years agospoon-feed slow switch, save output in log git repo
Dobrica Pavlinusic [Thu, 17 Sep 2015 17:17:28 +0000 (19:17 +0200)]
spoon-feed slow switch, save output in log git repo

8 years agosave commands and output into log/ip-hostname.log
Dobrica Pavlinusic [Thu, 17 Sep 2015 14:11:41 +0000 (16:11 +0200)]
save commands and output into log/ip-hostname.log

8 years agofirst working version of chatting with Dell switch over ssh
Dobrica Pavlinusic [Thu, 17 Sep 2015 12:31:10 +0000 (14:31 +0200)]
first working version of chatting with Dell switch over ssh