Posts

Inter-VRF Multicast without unicast Inter-VRF route leaking

Image
INTRODUCTION ON ASR1000, an IOS-XE device we will forward multicast stream coming from a source in VRF 'source' and going towards users in VRF 'receiver' without doing unicast inter-VRF route leaking  TOPOLOGY CONFIGURATION Generating UDP multicast stream on the source.  Source# ip sla 1  udp-echo 239.1.1.1 2000 source-ip 10.1.1.1 ip sla schedule 1 life forever start-time now Receiver is configured with IGMP and sending IGMP membership report.  ASR1000 router is doing the inter-vrf multicast traffic forwarding. Loopback 1 in VRF 'source' is the RP for both the VRFs.  ASR1000# ip vrf source  rd 1:1 ! ip vrf receiver  rd 2:2 ! ip multicast-routing vrf source distributed ip multicast-routing vrf receiver distributed ip pim vrf source rp-address 1.1.1.1 ip pim vrf receiver rp-address 1.1.1.1 interface Loopback1  ip vrf forwarding source  ip address 1.1.1.1 255.255.255.255  ip pim sparse-mode interface GigabitEthernet0/0/0  ip vrf forwarding source  ip address 10.1.1

L2VPN EVPN VXLAN border leaf handoff with MPLS L3VPN peer

Image
TOPOLOGY REQUIREMENT  Reachability between L2VPN EVPN host 172.21.128.31 and L3VPN host 10.141.129.22.  CONFIGURATION ========  9500-2 ======== ip multicast-routing ip multicast-routing vrf EXPERIMENTAL vlan 930  ip pim rp-address 172.21.129.38 vrf definition EXPERIMENTAL  rd 172.21.128.30:111  route-target export 64512:1110  route-target import 64512:1110  !  address-family ipv4   route-target export 64512:1110 stitching   route-target import 64512:1110 stitching interface Loopback0  description device loopback  vrf forwarding EXPERIMENTAL  ip address 172.21.128.30 255.255.255.255 interface Loopback1  ip address 100.1.1.2 255.255.255.255  ip ospf 1 area 0 interface Loopback2  description VTEP Loopback  ip address 172.21.134.1 255.255.255.255  ip pim sparse-mode  ip ospf 10 area 0   l2vpn evpn  replication-type ingress  router-id Loopback2 interface nve1  no ip address  source-interface Loopback2  host-reachability protocol bgp  member vni 100930 vrf EXPERIMENTAL vlan configuration 930

Open PuTTY to telnet into multiple devices using Python

Image
Introduction The article explains and provide python script to open Putty terminal and telnet to multiple devices in a single click.  Prerequisites Basic Knowledge on Python scripting and installing modules.  Lets Start !  1. Install module 'pywinauto'. Module 'pywinauto' is a predefined library to open system applications.  Open python folder: Write CMD in the path and enter:     Install module 'pywinauto' using CMD: C:\Users\pashukl2\AppData\Local\Programs\Python\Python39\Scripts> pip install pywinauto 2. Create an excel file and save it as .csv         3. Python Script:  Import Modules. 'pywinauto.application' module is used for opening an existing application on the system.  'time' module for adding sleep time when pushing data to telnet sessions.  'csv' module for opening and reading CSV files. from pywinauto.application import Application import time import csv   Convert CSV file into Dictionary and storing ne