It is all about networking, technology and Cisco - Learn Something New Everyday

0

Python Basics: Strings, Lists, Dicts, Functions

Kind of Cheat Sheet for anything basic, that I did not know, have not used or interesting things, that good to know. I will keep it handy for a quick reference. I am going to create separate posts for some Python features. Strings Lists Dictionaries Functions

0

Python DNS records Checker

Working on the task came up with an idea of how to check if the A or PTR record is created for a server or domain. What if this needs to be checked in multiple DNS servers? Or if there is an issue with resolving an entry, how to check which server does nor resolve it in the DNS deployment with...

0

Python Ping IP address

Working with network devices it’s good to check if the IP address is available (in case ICMP is allowed/enabled) before trying to get into it. Here is a quick way I found which should work in a script for both Linux and Windows: Windows: p.s.: works the same way via CMD Linux:

0

Git and GitHub Overview

Git is a free and open-source distributed version control system. Install git and create a GitHub account more about how to install git – here. There is a GUI option to use git, but I would recommend start (and probably stick with CLI) Create GitHub account here install git in Linux: Set your user name and email address every Git commit uses...

0

CiscoChampion 2020

Thrilled to be selected as a CiscoChampion for the first time!  Great way to start off 2020!💥

0

Linux on Windows, Python IDE, and VirtualEnv

Linux on Windows For some tasks, it is still easier to use Windows (Cisco IP Communicator, UCCX Script Editor, CUCM RTMT, etc.), but there is an option to include Linux into the workflow. Recently I discovered the WLS: Windows Subsystem for Linux (WSL), which allows us to install and run sort of Linux on Windows10 side-by-side. Go to Microsoft Store and...

0

Python: Script structure

I decided to make some Python notes. Since there is a ton of information about Python, these notes will be mostly for my reference but if they help anyone – it will be great. The best way to understand it – try it and make a note:) starting with the basic script structure: starting with the basic script structure: #!/usr/bin/env python:...

0

Cisco UC: CUBE Enhancements

CUBE 10.0.0 [IOS 15.4(2)T / IOS-XE 3.12] introduces the concept of Destination Server Group, which supports multiple session targets (up to 5) to be defined in a group and applied to a single outbound dial-peer. This feature configures a server group (group of server addresses) that can be referenced from an outbound dial peer. This reduces the need to configure multiple...

0

Cisco UC: SIP and TranslatorX

I can’t say how many times I had to configure SIP on Cisco voice gateways, troubleshoot SIP, enable SIP, etc. The second problem, after fear of loading and stuck the router using the “debug ccsip messages” command, is to filter and find the call in debugging turned on. If there is a way to collect all sip logs from the console...

0

A little more Ansible

Templates There is a way to run playbook locally on the PC (generating some files, scripts or configs) using templates. Let’s say there is a template file (switch_template.j2): hostname {{ item.hostname }} ! interface loopback 0 ip address {{ item.loopback }} ! router eigrp 100 As a result of this playbook, 2 files will be generated: R1.txt and R2.txt Conditions Using...