• Tech Blog
  • Photo Stories
  • Photo Stories
    • #GRIDLIFE Midwest Music & Motorsports - 2017-6-8
    • Supercar Saturday - 2017-9-1
    • #GRIDLIFE Track Battle Round 5 - 2017-10-7
    • #GRIDLIFE Midwest Music & Motorsports - 2018-6-10

Flatout Imaging

  • Tech Blog
  • Photo Stories
  • Photo Stories
    • #GRIDLIFE Midwest Music & Motorsports - 2017-6-8
    • Supercar Saturday - 2017-9-1
    • #GRIDLIFE Track Battle Round 5 - 2017-10-7
    • #GRIDLIFE Midwest Music & Motorsports - 2018-6-10

HPE / Aruba 3800 Series – Replacing a Switch Stack Member

This guide might be a bit dated as the 3800 series switches have been replaced by the 3810 and are approaching EoL.  However, some early HPE 3800 Switches have issues with PoE and four to eight ports will fault at random times, for no apparent reason.  Thus needing to be removed and replaced with newer models to via completing an RMA (usually hassle free as they have lifetime warranties).
If you simply unpatch and unplug the faulty switch and then add a new one, the newly added switch will join as a new member regardless of where in the stack it’s placed.  To avoid this, we have to tell the stack which member is being replaced.  We do this by entering global config mode, and then updating the member list.

1.)  Fully disconnect the faulty switch you’re removing, unplug the stacking, patch, and power cables.
2.)  Rack and stack the new switch, do not power it on yet.
3.)  Run the commands to add the new switch to the stack

  1. conf t
  2. stacking member 4 type J9574A mac-address 00:11:22:33:44:55

4.)  Verify it was added successfully with:

  1. show stacking

5.)  Apply any port specific configurations  (i.e. WAP ports, trunks, etc.)
6.)  Power up the new switch
7.)  Ensure connectivity
8.)  Save configuration

tags: Networking, HPE, Aruba, Switch, J9574A, HP, Network
categories: Networking
Monday 01.15.18
Posted by Zach Zeppo
 

Scanning Subnets for Hosts from Mac OS Terminal

If you don’t have an IP management tool, keeping track of free and used IPs can be a bit of a pain.  I’d highly recommend deploying an automated tool such as phpIPAM, but in a pinch Terminal can do the job.  When you get a reply from an IP address, it’s (obviously) in use.

For example, if you’re you have a subnet 192.168.5.0/24 here’s how the command would look.

for x in {2..254}; do ping -c 1 -W 100 192.168.5.$x | grep 'time='; done

And here it is in use:

bash-3.2# for x in {1..254}; do ping -c 1 -W 100 192.168.5.$x | grep 'time='; done
64 bytes from 192.168.5.2: icmp_seq=0 ttl=248 time=4.922 ms
64 bytes from 192.168.5.8: icmp_seq=0 ttl=56 time=6.822 ms
64 bytes from 192.168.5.30: icmp_seq=0 ttl=56 time=5.620 ms
64 bytes from 192.168.5.39: icmp_seq=0 ttl=120 time=8.269 ms
64 bytes from 192.168.5.41: icmp_seq=0 ttl=120 time=6.493 ms
64 bytes from 192.168.5.44: icmp_seq=0 ttl=120 time=4.684 ms
64 bytes from 192.168.5.46: icmp_seq=0 ttl=120 time=5.690 ms
64 bytes from 192.168.5.63: icmp_seq=0 ttl=120 time=5.916 ms
64 bytes from 192.168.5.102: icmp_seq=0 ttl=56 time=5.458 ms
bash-3.2#
tags: Networking, Mac OS, Script, Subnet, Ping, Command
categories: Networking
Friday 07.14.17
Posted by Zach Zeppo
 

HPE / Aruba 3800 Series – Temperature Monitoring via SNMP

I’ve been working with HP 3800 Series switches (J9574A specifically) for some time now and recently we’ve migrated from monitoring them with HPE IMC to PRTG by Paessler.  The one thing that I’ve never been able to monitor, even after a few scares with HVAC units going out, was the switch temperature.  We had some basic monitoring on our closets, but that would only alert building management or the facilities team who would then reach out to us.  To be more proactive I knew I had to find a way to monitor and alert on temperature directly from the switch.  

I knew it was possible since I could gather temperature information from a few commands:

  1. show system temperature
  2. walkMIB hpchassistemperature
  3. getmIB hpSystemAirCurrentTemp.0

So, after lots of digging I found the OID that corresponds to hpSystemAirCurrentTemp.0, 1.3.6.1.4.1.11.2.14.11.1.2.8.1.1.3.0.

Now with the proper monitoring and alerting tools, you can get a readout in degrees Celsius versus Unknown, Bad, Warning, Good, or NotPresent.  This will only provide the readout for one switch, even when in a stack. However, that should be good enough to know a basic temperature of your IDF / MDF closet and whether or not you need to jump on the phone with someone.

2-Day-Graph.png
tags: Networking, SNMP, HPE, HP, Aruba, Switch, PRTG
categories: Networking
Tuesday 08.23.16
Posted by Zach Zeppo
 

Powered by Squarespace.