dell-switch
21 months agouse /dev/shm/name-mac* files
Dobrica Pavlinusic [Sat, 13 Aug 2022 15:49:23 +0000 (17:49 +0200)]
use /dev/shm/name-mac* files

21 months agomsw_mac name
Dobrica Pavlinusic [Sat, 13 Aug 2022 15:38:51 +0000 (17:38 +0200)]
msw_mac name

21 months agouse /dev/shm/network.dot and track it with git
Dobrica Pavlinusic [Sat, 13 Aug 2022 15:15:30 +0000 (17:15 +0200)]
use /dev/shm/network.dot and track it with git

21 months agoupdate filename
Dobrica Pavlinusic [Sat, 13 Aug 2022 15:15:05 +0000 (17:15 +0200)]
update filename

21 months agorename
Dobrica Pavlinusic [Sat, 13 Aug 2022 15:13:43 +0000 (17:13 +0200)]
rename

21 months agoupdate-name-mac
Dobrica Pavlinusic [Sat, 13 Aug 2022 15:06:30 +0000 (17:06 +0200)]
update-name-mac

21 months agocheck spanning tree
Dobrica Pavlinusic [Sat, 13 Aug 2022 11:31:20 +0000 (13:31 +0200)]
check spanning tree

21 months agouse less for output
Dobrica Pavlinusic [Sat, 13 Aug 2022 11:21:13 +0000 (13:21 +0200)]
use less for output

21 months agouse less for output
Dobrica Pavlinusic [Sat, 13 Aug 2022 11:20:26 +0000 (13:20 +0200)]
use less for output

21 months agoshow full data about active roots
Dobrica Pavlinusic [Sat, 13 Aug 2022 11:15:44 +0000 (13:15 +0200)]
show full data about active roots

21 months agoexample to take MikroTik devices and show them
Dobrica Pavlinusic [Wed, 3 Aug 2022 10:09:32 +0000 (12:09 +0200)]
example to take MikroTik devices and show them

21 months agoDell X1052 upgrade
Dobrica Pavlinusic [Fri, 12 Aug 2022 16:23:38 +0000 (18:23 +0200)]
Dell X1052 upgrade

21 months agorename upgrade file to include switch model N1148T-ON
Dobrica Pavlinusic [Fri, 12 Aug 2022 12:49:48 +0000 (14:49 +0200)]
rename upgrade file to include switch model N1148T-ON

21 months agotoggle ethernet interface on mikrotik, hint for edge
Dobrica Pavlinusic [Fri, 12 Aug 2022 12:43:59 +0000 (14:43 +0200)]
toggle ethernet interface on mikrotik, hint for edge

21 months agoshow active roots, root mac and STP ports visible as neighbours
Dobrica Pavlinusic [Fri, 12 Aug 2022 11:10:40 +0000 (13:10 +0200)]
show active roots, root mac and STP ports visible as neighbours

21 months agocheck spanning tree
Dobrica Pavlinusic [Fri, 12 Aug 2022 10:31:31 +0000 (12:31 +0200)]
check spanning tree

21 months agoWIP: toggle ports for dead switches
Dobrica Pavlinusic [Mon, 8 Aug 2022 11:28:48 +0000 (13:28 +0200)]
WIP: toggle ports for dead switches

21 months agoDell's vay to put port down and then up
Dobrica Pavlinusic [Mon, 8 Aug 2022 11:08:02 +0000 (13:08 +0200)]
Dell's vay to put port down and then up

21 months agoconfig interface needs / in prompt
Dobrica Pavlinusic [Mon, 8 Aug 2022 11:07:29 +0000 (13:07 +0200)]
config interface needs / in prompt

21 months agonetwork connections from lldp
Dobrica Pavlinusic [Thu, 4 Aug 2022 18:59:55 +0000 (20:59 +0200)]
network connections from lldp

21 months agofirst step of network tutorial
Dobrica Pavlinusic [Thu, 4 Aug 2022 15:26:53 +0000 (17:26 +0200)]
first step of network tutorial

21 months agomerge git log from multiple repositories by date
Dobrica Pavlinusic [Thu, 4 Aug 2022 07:03:59 +0000 (09:03 +0200)]
merge git log from multiple repositories by date

21 months agogit log various backups of switch configuration
Dobrica Pavlinusic [Wed, 3 Aug 2022 14:05:24 +0000 (16:05 +0200)]
git log various backups of switch configuration

21 months agowarning about switches with same mac, take first one
Dobrica Pavlinusic [Sun, 31 Jul 2022 07:19:34 +0000 (09:19 +0200)]
warning about switches with same mac, take first one

21 months agomore housekeeping on switch ssh, sntp, snmp
Dobrica Pavlinusic [Wed, 20 Jul 2022 10:28:07 +0000 (12:28 +0200)]
more housekeeping on switch ssh, sntp, snmp

21 months agostore in git
Dobrica Pavlinusic [Sat, 30 Jul 2022 17:23:34 +0000 (19:23 +0200)]
store in git

21 months agosort for stable order in git
Dobrica Pavlinusic [Sat, 30 Jul 2022 17:22:32 +0000 (19:22 +0200)]
sort for stable order in git

22 months agosave /dev/shm/wap-name-mac to git
Dobrica Pavlinusic [Sat, 9 Jul 2022 18:09:46 +0000 (20:09 +0200)]
save /dev/shm/wap-name-mac to git

22 months agoupgrade to 6.7.1.13
Dobrica Pavlinusic [Wed, 20 Jul 2022 09:46:14 +0000 (11:46 +0200)]
upgrade to 6.7.1.13

22 months agoupgrade Dell N1148
Dobrica Pavlinusic [Wed, 20 Jul 2022 09:41:53 +0000 (11:41 +0200)]
upgrade Dell N1148

22 months agoupdate mikrotik neighbours
Dobrica Pavlinusic [Tue, 19 Jul 2022 06:55:17 +0000 (08:55 +0200)]
update mikrotik neighbours

23 months agofake ifName from ifDescr, not really needed
Dobrica Pavlinusic [Sat, 4 Jun 2022 11:00:12 +0000 (13:00 +0200)]
fake ifName from ifDescr, not really needed

23 months agowork-around for missing ifName and ifHighSpeed
Dobrica Pavlinusic [Sat, 4 Jun 2022 10:10:17 +0000 (12:10 +0200)]
work-around for missing ifName and ifHighSpeed

23 months agouse new parsers which can deal with newer dell switches
Dobrica Pavlinusic [Tue, 31 May 2022 11:59:50 +0000 (13:59 +0200)]
use new parsers which can deal with newer dell switches

23 months agore-format dell table output to tab delimited
Dobrica Pavlinusic [Tue, 31 May 2022 09:25:26 +0000 (11:25 +0200)]
re-format dell table output to tab delimited

23 months agoremove space delete from more prompt
Dobrica Pavlinusic [Tue, 31 May 2022 07:28:54 +0000 (09:28 +0200)]
remove space delete from more prompt

23 months agocreate html dump file
Dobrica Pavlinusic [Mon, 30 May 2022 13:21:21 +0000 (15:21 +0200)]
create html dump file

2 years agoreplace config with backup of running-config
Dobrica Pavlinusic [Fri, 6 May 2022 09:33:52 +0000 (11:33 +0200)]
replace config with backup of running-config

2 years agostart documenting switch replacement
Dobrica Pavlinusic [Thu, 5 May 2022 13:05:10 +0000 (15:05 +0200)]
start documenting switch replacement

2 years agogrep mac anywhere
Dobrica Pavlinusic [Mon, 27 Jan 2020 09:02:15 +0000 (10:02 +0100)]
grep mac anywhere

2 years agotweaks for number of macs on trunk ports
Dobrica Pavlinusic [Sun, 27 Feb 2022 10:00:50 +0000 (11:00 +0100)]
tweaks for number of macs on trunk ports

2 years agowork for one switch if there is argument
Dobrica Pavlinusic [Fri, 22 Apr 2022 17:02:03 +0000 (19:02 +0200)]
work for one switch if there is argument

2 years agoshow type if not Ethernet switch
Dobrica Pavlinusic [Thu, 5 May 2022 05:51:53 +0000 (07:51 +0200)]
show type if not Ethernet switch

helps for Neyland 24T which reports PowerConnect 5324 under type

2 years agoshow port, destination switch and it's port
Dobrica Pavlinusic [Fri, 22 Apr 2022 18:38:09 +0000 (20:38 +0200)]
show port, destination switch and it's port

2 years agoshow 10g port to 10000 + port
Dobrica Pavlinusic [Fri, 22 Apr 2022 18:37:49 +0000 (20:37 +0200)]
show 10g port to 10000 + port

2 years agofake sw-b101 which doesn't have lldp
Dobrica Pavlinusic [Fri, 22 Apr 2022 10:40:23 +0000 (12:40 +0200)]
fake sw-b101 which doesn't have lldp

2 years agoskip same switch nodes and non-ethernet ports (vlans, bridges)
Dobrica Pavlinusic [Wed, 13 Apr 2022 07:33:48 +0000 (09:33 +0200)]
skip same switch nodes and non-ethernet ports (vlans, bridges)

2 years agogenerate graphviz dot
Dobrica Pavlinusic [Wed, 13 Apr 2022 07:01:03 +0000 (09:01 +0200)]
generate graphviz dot

2 years agocollect data about ports connections
Dobrica Pavlinusic [Tue, 12 Apr 2022 17:55:58 +0000 (19:55 +0200)]
collect data about ports connections

2 years agoNAME_MAC=/path to read additional names
Dobrica Pavlinusic [Tue, 12 Apr 2022 07:34:26 +0000 (09:34 +0200)]
NAME_MAC=/path to read additional names

2 years agorename to correct name neighbours.pl
Dobrica Pavlinusic [Fri, 8 Apr 2022 08:29:53 +0000 (10:29 +0200)]
rename to correct name neighbours.pl

2 years agoremove old version
Dobrica Pavlinusic [Fri, 8 Apr 2022 08:29:45 +0000 (10:29 +0200)]
remove old version

2 years agocreate /dev/shm/wap-name-mac
Dobrica Pavlinusic [Wed, 6 Apr 2022 18:58:26 +0000 (20:58 +0200)]
create /dev/shm/wap-name-mac

2 years agocopy running-config startup-config
Dobrica Pavlinusic [Wed, 6 Apr 2022 18:38:10 +0000 (20:38 +0200)]
copy running-config startup-config

2 years agoCurrent status of the product.
Dobrica Pavlinusic [Wed, 6 Apr 2022 17:03:53 +0000 (19:03 +0200)]
Current status of the product.

Doesn't report errors with failed fans, not really useful, use
fans script with parses show system output

2 years agoparse snmpbulkwalk and update local on-disk copy
Dobrica Pavlinusic [Wed, 6 Apr 2022 16:43:23 +0000 (18:43 +0200)]
parse snmpbulkwalk and update local on-disk copy

2 years agonicer output of failing fans
Dobrica Pavlinusic [Wed, 6 Apr 2022 15:53:55 +0000 (17:53 +0200)]
nicer output of failing fans

2 years agowhen invoked with argument run for single switch
Dobrica Pavlinusic [Wed, 6 Apr 2022 10:11:43 +0000 (12:11 +0200)]
when invoked with argument run for single switch

2 years agodocument how to update and usage
Dobrica Pavlinusic [Wed, 6 Apr 2022 10:10:58 +0000 (12:10 +0200)]
document how to update and usage

2 years agodump running or startup config (for comparison)
Dobrica Pavlinusic [Wed, 6 Apr 2022 07:56:12 +0000 (09:56 +0200)]
dump running or startup config (for comparison)

2 years agofix hide hosts, remove empty values from microtik
Dobrica Pavlinusic [Tue, 5 Apr 2022 13:14:35 +0000 (15:14 +0200)]
fix hide hosts, remove empty values from microtik

2 years agosupress uninitialized warnings
Dobrica Pavlinusic [Tue, 5 Apr 2022 09:40:40 +0000 (11:40 +0200)]
supress uninitialized warnings

2 years agoif we don't have system name, line_regex is too long
Dobrica Pavlinusic [Mon, 4 Apr 2022 17:59:57 +0000 (19:59 +0200)]
if we don't have system name, line_regex is too long

2 years agoreally working, simpler, mac2name
Dobrica Pavlinusic [Mon, 4 Apr 2022 17:38:36 +0000 (19:38 +0200)]
really working, simpler, mac2name

2 years agogenerate mac addresses from snmpbulkwalk
Dobrica Pavlinusic [Mon, 4 Apr 2022 16:53:34 +0000 (18:53 +0200)]
generate mac addresses from snmpbulkwalk

2 years agobetter lowercase mac2name
Dobrica Pavlinusic [Mon, 4 Apr 2022 15:17:12 +0000 (17:17 +0200)]
better lowercase mac2name

2 years agoparse MikroTik /ip neighbor print detail terse
Dobrica Pavlinusic [Mon, 4 Apr 2022 12:52:24 +0000 (14:52 +0200)]
parse MikroTik /ip neighbor print detail terse

2 years agoparse show lldp remote-device all
Dobrica Pavlinusic [Mon, 4 Apr 2022 11:46:01 +0000 (13:46 +0200)]
parse show lldp remote-device all

2 years agotry show lldp remote-device all
Dobrica Pavlinusic [Mon, 4 Apr 2022 10:07:21 +0000 (12:07 +0200)]
try show lldp remote-device all

2 years agoread switch mac list and show names using it
Dobrica Pavlinusic [Mon, 4 Apr 2022 08:40:17 +0000 (10:40 +0200)]
read switch mac list and show names using it

2 years agoremove empty last command
Dobrica Pavlinusic [Sun, 3 Apr 2022 19:45:56 +0000 (21:45 +0200)]
remove empty last command

2 years agogenerate /dev/shm/sw-ip-name-mac
Dobrica Pavlinusic [Sun, 3 Apr 2022 19:05:21 +0000 (21:05 +0200)]
generate /dev/shm/sw-ip-name-mac

2 years agoparse show lldp neighbors
Dobrica Pavlinusic [Sun, 3 Apr 2022 19:03:49 +0000 (21:03 +0200)]
parse show lldp neighbors

2 years agofix hostname extraction
Dobrica Pavlinusic [Sun, 3 Apr 2022 18:44:53 +0000 (20:44 +0200)]
fix hostname extraction

2 years agomake it work with hostnames
Dobrica Pavlinusic [Sun, 3 Apr 2022 12:51:21 +0000 (14:51 +0200)]
make it work with hostnames

2 years agoshow port-status for found port
Dobrica Pavlinusic [Sun, 3 Apr 2022 12:28:12 +0000 (14:28 +0200)]
show port-status for found port

2 years agoemit mac to stdout for ip (ping output to stderr)
Dobrica Pavlinusic [Sun, 3 Apr 2022 12:27:32 +0000 (14:27 +0200)]
emit mac to stdout for ip (ping output to stderr)

2 years agofetch all switches in parallel
Dobrica Pavlinusic [Sun, 20 Mar 2022 11:27:27 +0000 (12:27 +0100)]
fetch all switches in parallel

2 years agorefresh just single switch with param
Dobrica Pavlinusic [Wed, 16 Mar 2022 09:07:07 +0000 (10:07 +0100)]
refresh just single switch with param

3 years agogrep bro conn.log with switch mac addresses on port
Dobrica Pavlinusic [Mon, 6 Jul 2020 11:53:29 +0000 (13:53 +0200)]
grep bro conn.log with switch mac addresses on port

4 years agocopy config to mikrotik directory if run with just switch name
Luka Blaskovic [Sun, 8 Mar 2020 16:58:03 +0000 (17:58 +0100)]
copy config to mikrotik directory if run with just switch name

4 years agosend commands to mikrotik switch
Dobrica Pavlinusic [Sun, 8 Mar 2020 16:14:03 +0000 (17:14 +0100)]
send commands to mikrotik switch

4 years agocount mac usage by vlans from snmp data
Dobrica Pavlinusic [Fri, 24 Jan 2020 19:07:47 +0000 (20:07 +0100)]
count mac usage by vlans from snmp data

4 years agoall ports with more than 10 macs are probably trunks
Dobrica Pavlinusic [Wed, 11 Sep 2019 05:32:36 +0000 (07:32 +0200)]
all ports with more than 10 macs are probably trunks

4 years agoremoved obsolete mac grep
Dobrica Pavlinusic [Wed, 11 Sep 2019 05:15:17 +0000 (07:15 +0200)]
removed obsolete mac grep

4 years agopush custom ssh config for ssh1
Dobrica Pavlinusic [Fri, 12 Jul 2019 12:42:17 +0000 (14:42 +0200)]
push custom ssh config for ssh1

4 years agouse openssh-client-ssh1 for legacy ssh1
Dobrica Pavlinusic [Fri, 12 Jul 2019 08:07:26 +0000 (10:07 +0200)]
use openssh-client-ssh1 for legacy ssh1

4 years agocreate svg using graphviz
Dobrica Pavlinusic [Fri, 12 Jul 2019 08:07:06 +0000 (10:07 +0200)]
create svg using graphviz

4 years agocount mac addresses
Dobrica Pavlinusic [Fri, 12 Jul 2019 08:05:54 +0000 (10:05 +0200)]
count mac addresses

4 years agocreate /dev/shm/dead with list of switches with no ping
Dobrica Pavlinusic [Fri, 12 Jul 2019 08:05:13 +0000 (10:05 +0200)]
create /dev/shm/dead with list of switches with no ping

5 years agoread commands from STDIN if used as pipe
Dobrica Pavlinusic [Tue, 8 Jan 2019 10:42:23 +0000 (11:42 +0100)]
read commands from STDIN if used as pipe

5 years agofind-port-for-* /dev/shm/trunk.regex auto generation
Dobrica Pavlinusic [Wed, 26 Dec 2018 11:35:03 +0000 (12:35 +0100)]
find-port-for-* /dev/shm/trunk.regex auto generation

5 years agohow to get additional OID from switches using snmp
Dobrica Pavlinusic [Mon, 30 Jul 2018 09:12:41 +0000 (11:12 +0200)]
how to get additional OID from switches using snmp

5 years agoadded ifAdminStatus
Dobrica Pavlinusic [Tue, 17 Jul 2018 12:31:29 +0000 (14:31 +0200)]
added ifAdminStatus

5 years agocollect switches vlan count
Dobrica Pavlinusic [Tue, 17 Jul 2018 08:31:00 +0000 (10:31 +0200)]
collect switches vlan count

5 years agodump switch mac address in snmp format (without leading 0)
Dobrica Pavlinusic [Tue, 17 Jul 2018 08:30:19 +0000 (10:30 +0200)]
dump switch mac address in snmp format (without leading 0)

5 years agosymlink .git reposotory from persistant storage to /dev/shm on start
Dobrica Pavlinusic [Fri, 13 Jul 2018 15:18:05 +0000 (17:18 +0200)]
symlink .git reposotory from persistant storage to /dev/shm on start

5 years agonew better resolving of ports using single_sw_port_visible
Dobrica Pavlinusic [Fri, 13 Jul 2018 09:59:47 +0000 (11:59 +0200)]
new better resolving of ports using single_sw_port_visible

5 years agosupport reload answer
Dobrica Pavlinusic [Fri, 13 Jul 2018 09:59:41 +0000 (11:59 +0200)]
support reload answer

5 years agosmall fixes and silent unuseful warnings
Dobrica Pavlinusic [Tue, 10 Jul 2018 16:50:17 +0000 (18:50 +0200)]
small fixes and silent unuseful warnings