TR-181 and TR-369 are both part of the Broadband Forum's standards for managing customer premises equipment (CPE) devices, but they have different focuses. TR-181 defines the Device:2 data model, which provides a comprehensive view of a device's capabilities and can be used with both TR-069 (CPE WAN Management Protocol) and TR-369 (User Services Platform). TR-369, also known as the User Services Platform (USP), builds upon TR-069 and introduces new features like real-time monitoring, bulk data collection, and more efficient communication. Here's a more detailed breakdown: TR-181 (Device:2 Data Model): It's a data model that describes the characteristics and capabilities of a device. It defines various objects and parameters that can be managed and monitored by a management system. It supports both TR-069 and TR-369, meaning a device can use the Device:2 data model to communicate with either protoco...
Address Family List under BGP Routing Protocol In BGP (Border Gateway Protocol), Address Family Identifiers (AFIs) and Subsequent Address Family Identifiers (SAFIs) are used to define the type of network layer reachability information being exchanged. These are typically configured under BGP routing protocol to support different types of routing information (like IPv4, IPv6, VPNv4, etc.). Here's a list of commonly used AFI/SAFI combinations under BGP: 🔹 Common Address Family List (AFI / SAFI) AFI (Address Family Identifier) SAFI (Subsequent Address Family Identifier) Meaning 1 (IPv4) 1 (Unicast) IPv4 unicast routing 1 2 (Multicast) IPv4 multicast routing 1 128 (MPLS-labeled VPN) VPNv4 (IPv4 MPLS VPN) 2 (IPv6) 1 (Unicast) IPv6 unicast routing 2 2 (Multicast) IPv6 multicast routing 2 128 (MPLS-labeled VPN) VPNv6 (IPv6 MPLS VPN) 25 (L2VPN) 70 (EVPN) Ethernet VPN (EVPN) 16388 128 (MPLS VPN) Route Target Constraint (RTC) 1 4 (...
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