Skip to content

Instantly share code, notes, and snippets.

@rwestphal
Created December 11, 2020 02:58
Show Gist options
  • Save rwestphal/d25fc9cf48bea38fa2223f5a99e32804 to your computer and use it in GitHub Desktop.
Save rwestphal/d25fc9cf48bea38fa2223f5a99e32804 to your computer and use it in GitHub Desktop.
# Dynamic topology
---
autogen:
layout:
type: ring
size: 10
ipv4:
loopbacks:
start: 192.168.0.0
step: 0.0.0.1
subnets:
start: 10.0.0.0
step: 0.0.0.4
prefixlen: 30
ipv6:
loopbacks:
start: '2001:db8:1000::0'
step: '::1'
mpls:
enable: true
frr:
zebra:
config:
isisd:
config: |
router isis 1
net 49.0000.0000.0000.%(isis-node-index).00
is-type level-1
lsp-gen-interval 2
topology ipv6-unicast
!
config-per-interface: |
interface %(interface)
ip router isis 1
ipv6 router isis 1
isis hello-multiplier 3
isis network point-to-point
isis fast-reroute lfa
isis fast-reroute remote-lfa tunnel mpls-ldp
!
config-per-loopback: |
interface %(interface)
ip router isis 1
ipv6 router isis 1
isis passive
!
ldpd:
config: |
mpls ldp
dual-stack transport-connection prefer ipv4
!
address-family ipv4
discovery targeted-hello accept
!
!
!
config-per-interface: |
mpls ldp
address-family ipv4
interface %(interface)
!
address-family ipv6
interface %(interface)
!
!
config-per-loopback: |
mpls ldp
router-id %(address-v4)
!
address-family ipv4
discovery transport-address %(address-v4)
!
address-family ipv6
discovery transport-address %(address-v6)
!
!
frr:
#perf: yes
#valgrind: yes
base-configs:
all: |
hostname %(node)-%(daemon)
password 1
log file %(logdir)/%(node)-%(daemon).log
log commands
zebra: |
debug zebra rib detail
debug zebra packet
debug zebra mpls
isisd: |
debug isis events
debug isis route-events
debug isis spf-events
debug isis lfa
debug isis lsp-gen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment