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 MoreSample 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 MoreOSPF Single Area Lab with Netmiko
Here is OSPF Single Area Lab prepared by Rene Molenaar. Let’s create a topology on EVE-NG and solve it with Python script using Netmiko. Goal 1-2 In my EVE-NG topology, HongKong, Amsterdam and Barcelona have telnet connection info 192.168.29.131:32769 , 192.168.29.131:32770 , 192.168.29.131:32771 respectively. Also, there is no credential to make telnet connection. This is…
Read MoreSome Python useful samples
args usage multiple return & one line if lambda function & one line if eval and exec usage pip reference
Read MorePython Lists, Dictionaries, Tuples & Sets
Extending a list or concatenation of lists in other words. Extend function adds the given list at the end of the first list. Also, we can use insert function to add an item to a specific index of a list. List pop, append, remove, clear & sorted usage.. When we use pop method of a…
Read MorePython Built-in Functions
Phython has a number of built-in functions, we use in every .py although we are not aware of it. That is the full list of built-in functions. We already know some of them. Now I will try some I may be need to use later. Let’s have a start with help function. As you see,…
Read More