এই বিভাগটি বর্ণনা করে কিভাবে বিভিন্ন মোডে একটি দূরবর্তী MPLS L2VPN CCC MPLS L2VPN CCC মোড বিপরীত দিকে দুটি স্ট্যাটিক এলএসপি স্থাপন করে এবং স্ট্যাটিক এলএসপিগুলিকে AC-তে আবদ্ধ করে একটি CCC সংযোগ স্থাপন করে। CCC মোডে প্রতিষ্ঠিত একটি VC কে CCC সংযোগ বলা হয়। চিত্র 52: CCC MPLS L2VPN নেটওয়ার্ক ডায়াগ্রাম আপনি চিত্র 52-এ দেখানো কনফিগারেশনগুলি সম্পূর্ণ করার পরে, PE 1 থেকে PE 2 পর্যন্ত একটি স্ট্যাটিক LSP এবং PE 2 থেকে PE 1 পর্যন্ত একটি স্ট্যাটিক LSP প্রতিষ্ঠিত হয়। দুটি LSP-কে PE 1-এ ইন্টারফেস A এবং PE 2-এ ইন্টারফেস B-তে আবদ্ধ করুন। একটি CCC সংযোগ সফলভাবে প্রতিষ্ঠিত হয়েছে। নিম্নলিখিত বর্ণনা করে কিভাবে একটি প্যাকেট CE 1 থেকে CE 2 পর্যন্ত ফরোয়ার্ড করা হয়: PE 1 ইন্টারফেস A-তে CE 1 থেকে একটি প্যাকেট পাওয়ার পরে, এটি প্যাকেটে লেবেল 300 (PE 1 থেকে PE 2 পর্যন্ত স্ট্যাটিক LSP-এর সাথে সম্পর্কিত) যোগ করে। P ডিভাইসটি প্যাকেটটি গ্রহণ করার পরে, এটি লেবেল ফরওয়ার্ডিং টেবিলটি দেখে এবং লেবেল 310 এর সাথে লেবেল 300 অদলবদল করে। প্যাকেটটি পা...
### Border Gateway Protocol (BGP) --- #### **1. Introduction to BGP** - **What is BGP?** - BGP (Border Gateway Protocol) is a standardized exterior gateway protocol (EGP) used to exchange routing information between autonomous systems (AS) on the internet. - It is the protocol that makes the internet work by enabling data routing between different networks. - **Key Purpose:** - BGP is designed to route data between autonomous systems (AS), which are large networks or groups of networks under a single administrative control. - **Version:** - The current version is BGP-4 (defined in RFC 4271), which supports Classless Inter-Domain Routing (CIDR). --- #### **2. Key Features of BGP** - **Path Vector Protocol:** - BGP is a path vector protocol, meaning it maintains the path information that gets updated dynamically. - It uses attributes like AS_PATH to prevent routing loops. - **Scalability:** - BGP is highly scalable and ...
Multiple Cisco device configuration Backup using python Script Device configuration will be saved as per Hostname. Saved files are looking as below: =================== Python Script: =================== from netmiko import ConnectHandler import pandas as pd import datetime import os # Read device information from the Excel file device_file = "devices.xlsx" devices_df = pd.read_excel(device_file) # Convert the dataframe to a list of dictionaries devices = devices_df.to_dict( orient = 'records' ) # Directory to save the configuration files output_directory = "device_configs" os.makedirs(output_directory, exist_ok = True ) # Define the commands to be executed commands = [ 'show running-config' , 'show ip interface brief' , 'show version' ] # Get the current date current_date = datetime.datetime.now().strftime( "%Y-%m-%d" ) # Function to connect to a device and save the output to a file def connect_and_save (...
Comments
Post a Comment