Posts

Showing posts from January, 2019

MAC Address Formatting Conversions

Image
My work is now using non-Cisco devices as their gateway, which means I've been spending a decent amount of time converting Standard MAC Addresses to Cisco whenever I need to rundown an issue based on its IP address.  Because of this I've create the two functions to convert the MACs back and forth for these formats. Below is the script I use and the process for adding it to your .bashrc file. How it works when you're done tc = "to Cisco" from Standard fc = "from Cisco" to Standard Script # ------------------------------------------------------------------------------ _tocisco() # ------------------------------------------------------------------------------ # Changes standard format MACs to Cisco's amazing '.' format { # Use a standard format MAC like 'F4:15:63:C9:30:CD' # and this will convert to 'f415.63c9.30cd' if [ "$1" != "" ] then _arg=`echo $1` echo $_arg | s...

R80.10 Standalone Check Point Firewall Deployment for lab Purposes

Image
R80.10 Standalone Check Point Firewall Deployment (for lab only) Check Point has done wonders as far as how they allow you to use their demo mode to use their SmartConsole without having to deploy your own lab. However there isn't a good way to use the CLI through that so I'll spin up a firewall instance as a VM to get comfortable. This walkthrough is for a standalone deployment, so 1 server will act as both Firewall and Management Server. The entire process takes less than half an hour, as can be see by the related youtube video linked below. Pre-requirements System Req's for Virtual Machine 4GBs of RAM and 2 CPUs VM Player Check Point R80.10 iso file 1) Open VMware Workstation Player Choose >> Create a New Virtual Machine 2) Provide the path to your Check Point .iso image. Click Next. 3) I've had the most success choosing >> Linux 2.4x kernal 64-bit as my OS. Click Next. 4) Name your firewall, and choose the location...

Helping Out the Server Teams - Windows Edition

I recently posted the Linux version of this same output, and pretty much right after posting I realized I should finalize my windows and post it as well. Here is the template I like to utilize, along with the same type of legend describing what the goal of each command is. Team,      I'm happy to help, but I'm going to need some more information to assist. Please replace the red text below with the requested information. Source/Destination Information Source IP:  <Source_IP> Destination IP:  <Destination_IP> Destination Port:  <Port_Number>  Ticket Number:  <If ports we're requested previously, provide the ticket Number referencing the approved change> Date this was last known to be working:   <Date>  Application Name:   <Name>  Additionally, I'll need the following command outputs from the affected server. Please run these commands save attach them in a t...