Skip to content

Instantly share code, notes, and snippets.

View rohitthakur2590's full-sized avatar

Rohit Thakur rohitthakur2590

View GitHub Profile
@rohitthakur2590
rohitthakur2590 / bgp_gather_output.txt
Last active March 29, 2023 06:40
BGP Gather operation
PLAY [ios] ******************************************************************************************************************************************************************
TASK [Network BGP Manager] **************************************************************************************************************************************************
TASK [network.bgp.run : Include tasks] **************************************************************************************************************************************
included: /home/rothakur/ansible-collections/collections/ansible_collections/network/bgp/roles/run/tasks/includes/gather.yaml for 192.168.122.220 => (item={'name': 'gather'})
TASK [Invoke gather function] **********************************************************************************************************************************************
TASK [network.base.resource_manager : Run the platform specific tasks] *******************************************************************************
@rohitthakur2590
rohitthakur2590 / bgp_deploy_output.txt
Last active March 29, 2023 08:32
BGP Deploy Output
[WARNING]: running playbook inside collection network.bgp
PLAY [ios] ******************************************************************************************************************************************************************
TASK [Network BGP Manager] **************************************************************************************************************************************************
TASK [network.bgp.run : Include tasks] **************************************************************************************************************************************
included: /home/rothakur/ansible-collections/collections/ansible_collections/network/bgp/roles/run/tasks/includes/deploy.yaml for 192.168.122.220 => (item={'name': 'deploy'})
TASK [Invoke gather function] ***********************************************************************************************************************************************
@rohitthakur2590
rohitthakur2590 / gather_action.txt
Last active January 25, 2023 16:11
gather action output
PLAY [ios] *********************************************************************
TASK [Network BGP Manager] *****************************************************
TASK [network.base.resource_manager : Run the platform specific tasks] *********
included: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/./gather.yaml for 192.168.122.220=> (item=/home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/gather.yaml)
TASK [network.base.resource_manager : Gather the supported resource modules] ***
ok: [192.168.122.220]
@rohitthakur2590
rohitthakur2590 / deploy_action_task_execution.txt
Last active January 25, 2023 16:07
deploy action tasks execution
(ansible39) [rothakur@localhost base]$ ansible-playbook site.yml
/
[WARNING]: running playbook inside collection network.base
PLAY [ios] **********************************************************************************************
TASK [Network BGP Manager] ******************************************************************************
TASK [network.base.resource_manager : Run the platform specific tasks] **********************************
included: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/./deploy.yaml for 192.168.122.220 => (item=/home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/deploy.yaml)
@rohitthakur2590
rohitthakur2590 / action_list_output.txt
Last active January 25, 2023 16:04
network.base actio list use
TASK [network.base.resource_manager : Available Network resources] **************************************************************************
ok: [92.168.122.220] => {
"msg": {
"ansible_connection": "ansible.netcommon.network_cli",
"ansible_network_os": "cisco.ios.ios",
"changed": false,
"failed": false,
"modules": [
"acl_interfaces",
"acls",
@rohitthakur2590
rohitthakur2590 / bgp_address_family_parsed_output.txt
Created June 21, 2021 13:03
Blog Post Junos BGP address family parsed operation log
===============================
OUTPUT:
"parsed": {
"groups": [
{
"address_family": [
{
"af_type": [
{
@rohitthakur2590
rohitthakur2590 / bgp_address_family_running_config.txt
Created June 21, 2021 13:00
Blog Post Junos BGP address family running config to be parsed
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply message-id="urn:uuid:0cadb4e8-5bba-47f4-986e-72906227007f">
<configuration changed-seconds="1590139550" changed-localtime="2020-05-22 09:25:50 UTC">
<version>18.4R1-S2.4</version>
<protocols>
<bgp>
<group>
<name>external</name>
<family>
<inet>
@rohitthakur2590
rohitthakur2590 / bgp_address_family_rendered_output.txt
Created June 21, 2021 12:56
Blog Post Junos rendered Operation output
"rendered": "<nc:protocols xmlns:nc=\"urn:ietf:params:xml:ns:netconf:base:1.0\">
<nc:bgp><nc:group><nc:name>internal</nc:name><nc:family><nc:evpn><nc:signaling>
<nc:accepted-prefix-limit><nc:maximum>20</nc:maximum><nc:teardown>
<nc:limit-threshold>98</nc:limit-threshold><nc:idle-timeout><nc:timeout>2001</nc:timeout>
</nc:idle-timeout></nc:teardown></nc:accepted-prefix-limit><nc:damping/>
<nc:defer-initial-multipath-build><nc:maximum-delay>2</nc:maximum-delay></nc:defer-initial-multipath-build>
</nc:signaling></nc:evpn></nc:family><nc:neighbor><nc:name>10.10.10.1</nc:name><nc:family><nc:evpn>
<nc:signaling><nc:accepted-prefix-limit><nc:maximum>20</nc:maximum></nc:accepted-prefix-limit>
</nc:signaling></nc:evpn><nc:inet><nc:unicast><nc:extended-nexthop/><nc:extended-nexthop-color/>
<nc:local-ipv4-address>192.168.56.120</nc:local-ipv4-address></nc:unicast></nc:inet></nc:family>
@rohitthakur2590
rohitthakur2590 / bgp_address_family_specific_delete_log.txt
Last active June 21, 2021 12:38
Blog Post Junos BGP address family delete specific operation
vagrant@vsrx# show protocols bgp
family inet {
unicast {
local-ipv4-address 192.168.122.40;
extended-nexthop;
extended-nexthop-color;
}
flow {
prefix-limit {
maximum 15;
@rohitthakur2590
rohitthakur2590 / bgp_address_family_overridden_log.txt
Created June 21, 2021 12:07
Blog_Post_Junos bgp address_family_config_after_overridden_state_log
after Device Config:
=====================
vagrant@vsrx# show protocols bgp
family inet {
unicast {
local-ipv4-address 192.168.122.40;
extended-nexthop;
extended-nexthop-color;
}
flow {