• 7 December 2024

Palo Alto CLI Commands

Here are some useful Palo Alto device CLI commands that I used before..

Read More

my python works

The screen below is the screen showing the main menu with daily operations. Proceed by entering the operation number. Operations are carried out using multi-threading on more than one device. In addition to printing the outputs to the screen, they are also written to separate text files as reports. After selecting the operation from the…

Read More

Some Linux howtodos

How to access internet through proxy, when we use yum? In the /etc/yum.conf file, add the line below, under the line that says [main]. How to access internet through proxy, when we use wget? In the /etc/wgetrc file, add the lines below How to check if a TCP port is open?

Read More

Juniper Aggregate and Generate Routes

Aggregate Routes Aggregated routes are used for route summarization, allowing us to represent a large number of routes with a broader network. This helps streamline configuration and reduces the clutter in routing tables. For example, let’s consider a scenario where one of the two routers, both engaged in dynamic routing, has three networks: 10.5.1.0/24, 10.5.2.0/24,…

Read More

Juniper Static Routing

Hello, in this article, we will explore how to configure static routes on Juniper devices. The main topics covered are summarized below: 1- Default Preference Value : 5 In the example below, a single static route is written on the device. When we want to see this route in the routing table, we can observe…

Read More

Configuring SNMPv3 on Palo Alto

SNMP is very useful for network engineers when we use Network Management Systems like PRTG and Solarwinds etc. Most likely it is must to have when we have hundreds or thousands of devices. SNMP v3 have authentication and encryption mechanism so it’s more secure than v2. SNMP v2 and v3 also have views to narrow…

Read More

Structured data with in Netmiko

Netmiko is very powerfull Python package. There are a lot of contributions. It cannot to be considered that it cannot support structured data. Sometimes manual parsing enough. Also when we get the command results as XML or JSON format, we have more possibilities. But what if we couldn’t get the the result as XML or…

Read More

Some PRTG API samples

Get a passhash code PRTG supports API, but we need to have a passhash code. It’s a link below that we can get a passhash for our user. Just you should adapt your PRTG. It returns a code like 111222333. 111222333 is our passhash. We will use it every API requests instead of using password.…

Read More

Juniper usefull command reference

MAC Limiting configuring accept mac set interfaces ge-0/0/0.0 accept-source-mac mac-address 00:11:22:33:44:55:66:77 configuring mac limit under switch-optios set switch-options interface ge-0/0/0.0 interface-mac-limit 2 packet-action [log drop shutdown drop-and-log] configuring mac limit under vlans set vlans VLAN_3 switch-options interface-mac-limit 10 packet-action drop-and-log configuring mac move limit (in a second) set vlans VLAN_10 switch-options mac-move-limit 1 packet-action shutdown…

Read More

Sample BGP topology redundancy

We have a sample topology as below. On AS4000 side, there is a PC goes to R1 and some IPs behind the R1. vSRX1 and R1 routers have 2 WAN connection between them. We name upper one as line 1 and lower one is line 2. vSRX1 receives routes of 8.8.8.0/23 and 12.12.12.0/24 through line…

Read More