Skip to content

Instantly share code, notes, and snippets.

@rohitthakur2590
Last active March 16, 2021 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohitthakur2590/64b3cefb495a905a9041c10d4cda652d to your computer and use it in GitHub Desktop.
Save rohitthakur2590/64b3cefb495a905a9041c10d4cda652d to your computer and use it in GitHub Desktop.
Junos running_config_to_structured_data
$ cat lab_inventory/host_vars/junos/bgp_global.yaml
bgp_global:
accept_remote_nexthop: true
add_path_display_ipv4_address: true
advertise_from_main_vpn_tables: true
advertise_inactive: true
as_number: '65534'
asdot_notation: true
authentication_algorithm: md5
bgp_error_tolerance:
malformed_route_limit: 20000000
bmp:
monitor: true
damping: true
description: This is configured with Junos_bgp resource module
egress_te_sid_stats: true
groups:
- name: internal
out_delay: 12
hold_time: 5
holddown_all_stale_labels: true
include_mp_next_hop: true
log_updown: true
loops: 3
no_advertise_peer_as: true
no_aggregator_id: true
no_client_reflect: true
out_delay: 10
precision_timers: true
preference: '2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment