FRRouting¶
Aliases: frr, frr-conf, vtysh, frrouting
Filenames: frr.conf, vtysh.conf, bgpd.conf, zebra.conf, ospfd.conf,
ospf6d.conf, staticd.conf, isisd.conf, pimd.conf, *.frr
FRR is the routing stack under Cumulus Linux, SONiC and several other
platforms in this package, and frr.conf is what operators actually paste
into a runbook, so it gets its own lexer rather than being folded into a
vendor one. Because the filename patterns cover the daemon config files
directly, pygmentize frr.conf works with no -l flag.
Interface names cover kernel conventions (swp1, eth0, ens192, bond0,
vlan100, bare lo) as well as the vendor-style names FRR sees on other
platforms.
frr version and frr defaults head almost every frr.conf and drive
analyse_text.
!
frr version 8.4.2
frr defaults datacenter
hostname leaf1
log syslog informational
service integrated-vtysh-config
!
vrf TENANT-A
vni 50001
exit-vrf
!
interface swp1
description spine1:swp1
ip address 10.1.1.1/31
!
interface lo
ip address 10.0.0.1/32
!
router bgp 65101
bgp router-id 10.0.0.1
bgp bestpath as-path multipath-relax
no bgp ebgp-requires-policy
neighbor SPINE peer-group
neighbor SPINE remote-as external
neighbor swp1 interface peer-group SPINE
!
address-family ipv4 unicast
network 10.0.0.1/32
maximum-paths 64
redistribute connected route-map ALLOW-ALL
exit-address-family
!
address-family l2vpn evpn
neighbor SPINE activate
advertise-all-vni
advertise-svi-ip
exit-address-family
exit
!
route-map ALLOW-ALL permit 10
exit
!
ip prefix-list PL-LOOPBACKS seq 10 permit 10.0.0.0/24 le 32
!
line vty
!