Linux System and Network Troubleshooting Tips

Check the disk utilization df –h # Check file system [jdoe@localhost ~]$ su – #login as the root user Password: [root@localhost ~]# df -h Filesystem                      Size  Used Avail Use% Mounted on devtmpfs                        466M     0  466M   0% /dev tmpfs                           487M     0  487M   0% /dev/shm tmpfs                           195M 1000K  194M   1% /run /dev/mapper/fedora_fedora-root   15G  2.0G   14G  13% /… Read More Linux System and Network Troubleshooting Tips

Linux Server Security Hardening – 10 tips

Linux security harending recommendations from LernLinuxTV by Jay. Thanks for sharing real production-driven, valuable and commonly forgotten but easy to forget security tips while administrating the infrastructures. These tips are expandable to other areas of IT infrastructure/cloud management. 1. Adjust your mindset – What is feasible and not feasible? – Complete bulletproof vs. how much… Read More Linux Server Security Hardening – 10 tips

Introduction to Python Network Automation: The First Journey, Release date: 18 May, 2021, ISBN: 9781484268056, Amazon.com: Books

https://www.amazon.com/Introduction-Python-Network-Automation-Journey/dp/1484268059?ref_=d6k_applink_bb_marketplace Apress returned the pre-printing copy of the actual book for the final review. The Production Editor at Apress did an excellent job at editing and picking up errors. I’ve completed the proof-reading and returned the book. At this time in time, the official book release date is on the 18th of May, 2021. This… Read More Introduction to Python Network Automation: The First Journey, Release date: 18 May, 2021, ISBN: 9781484268056, Amazon.com: Books

Ubuntu (Debian/Pop!OS) – How to configure static IP using Netplan

1. Check the files under /etc/netplan bchoi@u20sn1:~$ ls /etc/netplan/00-installer-config.yaml bchoi@u20sn1:~$ cat /etc/netplan/00-installer-config.yaml Optionally, if you plan to go back to the DHCP configuration, make a backup of the original file and keep it as a backup. bchoi@u20sn1:~$ cp /etc/netplan/00-installer-config.yaml /etc/netplan/00-installer-config.yaml.backup 2. Reconfigure the file as below: bchoi@u20sn1:~$ cat /etc/netplan/00-installer-config.yaml We are configuring the primary and… Read More Ubuntu (Debian/Pop!OS) – How to configure static IP using Netplan

Fedora(/CentOS/Red Hat) – How to configure network using NetworkManager (nmcli) commands

1. Check status of NetworkManager [bchoi@f33sn1 ~]$ nmcli general statusSTATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWANconnected full enabled enabled enabled enabled 2. Check the connection status [bchoi@f33sn1 ~]$ nmcli -t -f STATE generalconnected 3. Check UUID and Device name (I have two connected interfaces here, one for primary, one for management) [bchoi@f33sn1 ~]$ nmcli con show… Read More Fedora(/CentOS/Red Hat) – How to configure network using NetworkManager (nmcli) commands

Ansible Playbook – Upload new IOS to Cisco 9200/9300/9400 Switches using net_put method via SCP

This is an IOS upload run using Ansible’s net_put method via SCP. On your Ansible Controller, you must install scp using “pip3 install scp” On the switches/routers, enable “ip scp server enable”. The file location jdoe@u20ws:~$ lsansible_test Desktop Documents Downloads Music Pictures Public Templates Videosjdoe@u20ws:~$ cd ansible_testjdoe@u20ws:~/ansible_test$ cd filesjdoe@u20ws:~/ansible_test/files$ pwd/home/jdoe/ansible_test/filesjdoe@u20ws:~/ansible_test/files$ lscat9k_lite_iosxe.16.12.05.SPA.bin The required files The… Read More Ansible Playbook – Upload new IOS to Cisco 9200/9300/9400 Switches using net_put method via SCP