Skip to content

Instantly share code, notes, and snippets.

@thehonker
Created May 7, 2019 13:32
Show Gist options
  • Select an option

  • Save thehonker/e39117a1d33ed5579ac68a17970ee125 to your computer and use it in GitHub Desktop.

Select an option

Save thehonker/e39117a1d33ed5579ac68a17970ee125 to your computer and use it in GitHub Desktop.
Working boot, ifupdown2, 6.0.2 unit file with frr 7.0
root@frr7-test:/var/log/frr# cat debug.log
2019/05/07 13:30:57.444258 ZEBRA: vty[??]@(config)# debug zebra events
2019/05/07 13:30:57.444773 ZEBRA: vty[??]@(config)# debug zebra kernel
2019/05/07 13:30:57.445151 ZEBRA: vty[??]@(config)# debug zebra rib
2019/05/07 13:30:57.445508 ZEBRA: vty[??]@(config)# interface ens18
2019/05/07 13:30:57.445757 ZEBRA: vty[??]@(config-if)# interface lo
2019/05/07 13:30:57.445969 ZEBRA: vty[??]@(config-if)# route-map set_src_addr permit 10
2019/05/07 13:30:57.446082 ZEBRA: vty[??]@(config-route-map)# set src 10.66.66.10
2019/05/07 13:30:57.446187 ZEBRA: vty[??]@(config-route-map)# ip protocol ospf route-map set_src_addr
2019/05/07 13:30:57.446296 ZEBRA: vty[??]@(config)# line vty
2019/05/07 13:30:57.446391 ZEBRA: vty[??]@(config-line)# end
2019/05/07 13:30:57.446461 ZEBRA: vty[??]@# disable
2019/05/07 13:30:57.465452 ZEBRA: zebra message comes from socket [16]
2019/05/07 13:30:57.465468 ZEBRA: zebra message comes from socket [16]
2019/05/07 13:30:57.465476 ZEBRA: zebra message comes from socket [16]
2019/05/07 13:30:57.465484 ZEBRA: zebra message comes from socket [16]
2019/05/07 13:30:57.465527 ZEBRA: client 16 says hello and bids fair to announce only ospf routes vrf=0
2019/05/07 13:30:57.465546 ZEBRA: bfd_client_register msg from client ospf: length=4
2019/05/07 13:30:57.543060 OSPF: vty[??]@(config)# interface ens18
2019/05/07 13:30:57.543274 OSPF: vty[??]@(config-if)# ip ospf area 10.66.20.120
2019/05/07 13:30:57.543368 OSPF: vty[??]@(config-if)# interface lo
2019/05/07 13:30:57.543505 OSPF: vty[??]@(config-if)# ip ospf area 10.66.20.120
2019/05/07 13:30:57.543583 OSPF: vty[??]@(config-if)# router ospf
2019/05/07 13:30:57.543982 OSPF: EXT (ospf_ext_link_ism_change): Set Adj. SID to interface ens18
2019/05/07 13:30:57.544008 OSPF: EXT (ospf_ext_pref_ism_change): Set Node SID to interface lo
2019/05/07 13:30:57.544076 ZEBRA: zebra message comes from socket [16]
2019/05/07 13:30:57.544092 ZEBRA: zebra message comes from socket [16]
2019/05/07 13:30:57.544192 ZEBRA: rib_add_multipath: 0:10.66.20.120/29: Inserting route rn 0x55ff1e7fd170, re 0x55ff1e911e70 (type 6) existing (nil)
2019/05/07 13:30:57.544213 ZEBRA: rib_add_multipath: 0:10.66.66.10/32: Inserting route rn 0x55ff1e7fca30, re 0x55ff1e911fb0 (type 6) existing (nil)
2019/05/07 13:30:57.545130 OSPF: vty[??]@(config-router)# ospf router-id 10.66.66.10
2019/05/07 13:30:57.545230 OSPF: vty[??]@(config-router)# area 10.66.20.120 stub
2019/05/07 13:30:57.545344 OSPF: vty[??]@(config-router)# route-map set_src_addr permit 10
2019/05/07 13:30:57.545477 OSPF: vty[??]@(config-route-map)# line vty
2019/05/07 13:30:57.545556 OSPF: vty[??]@(config-line)# end
2019/05/07 13:30:57.545617 OSPF: vty[??]@# disable
2019/05/07 13:30:57.559022 ZEBRA: zebra message comes from socket [28]
2019/05/07 13:30:57.559037 ZEBRA: zebra message comes from socket [28]
2019/05/07 13:30:57.559045 ZEBRA: zebra message comes from socket [28]
2019/05/07 13:30:57.559086 ZEBRA: client 28 says hello and bids fair to announce only static routes vrf=0
2019/05/07 13:30:57.634102 STATIC: vty[??]@(config)# line vty
2019/05/07 13:30:57.634604 STATIC: vty[??]@(config-line)# end
2019/05/07 13:30:57.634709 STATIC: vty[??]@# disable
2019/05/07 13:30:59.254495 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWADDR(20), len=72, seq=0, pid=0
2019/05/07 13:30:59.254556 ZEBRA: netlink_interface_addr RTM_NEWADDR ens18 flags 0x80:
2019/05/07 13:30:59.254564 ZEBRA: IFA_ADDRESS fe80::10e0:bbff:fe6e:454b/64
2019/05/07 13:30:59.254570 ZEBRA: IFA_CACHEINFO pref -1, valid -1
2019/05/07 13:30:59.254584 ZEBRA: MESSAGE: ZEBRA_INTERFACE_ADDRESS_ADD fe80::10e0:bbff:fe6e:454b/64 on ens18(0)
2019/05/07 13:30:59.254629 ZEBRA: rib_add_multipath: 0:fe80::/64: Inserting route rn 0x55ff1e92ef70, re 0x55ff1e92ee90 (type 2) existing (nil)
2019/05/07 13:30:59.254648 ZEBRA: rib_add_multipath: 0:fe80::/64 (MRIB): Inserting route rn 0x55ff1e92f170, re 0x55ff1e92f090 (type 2) existing (nil)
2019/05/07 13:30:59.254655 ZEBRA: rib_update : AFI_IP event 0
2019/05/07 13:30:59.254662 ZEBRA: rib_update : AFI_IP6 event 0
2019/05/07 13:30:59.254679 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWROUTE(24), len=116, seq=0, pid=0
2019/05/07 13:30:59.254687 ZEBRA: RTM_NEWROUTE ipv6 proto NS 0
2019/05/07 13:30:59.264649 ZEBRA: 0:fe80::/64: Adding route rn 0x55ff1e92ef70, re 0x55ff1e92ee90 (type 2)
2019/05/07 13:30:59.264663 ZEBRA: 0:fe80::/64: Redist update re 0x55ff1e92ee90 (type 2), old (nil) (type -1)
2019/05/07 13:30:59.264674 ZEBRA: 0:fe80::/64: Adding route rn 0x55ff1e92f170, re 0x55ff1e92f090 (type 2)
2019/05/07 13:30:59.264680 ZEBRA: 0:fe80::/64: Redist update re 0x55ff1e92f090 (type 2), old (nil) (type -1)
2019/05/07 13:31:02.110560 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWNEIGH(28), len=76, seq=0, pid=0
2019/05/07 13:31:02.446075 ZEBRA: Event driven route-map update triggered
2019/05/07 13:31:02.446111 ZEBRA: Event handler for route-map: set_src_addr
2019/05/07 13:31:02.446129 ZEBRA: zebra_rib_table_rm_update : AFI_IP rmap set_src_addr, route type ospf
2019/05/07 13:31:02.582034 ZEBRA: vty[??]@> echo PING
2019/05/07 13:31:02.708903 OSPF: vty[??]@> echo PING
2019/05/07 13:31:02.757944 STATIC: vty[??]@> echo PING
2019/05/07 13:31:07.512961 ZEBRA: vty[??]@> echo PING
2019/05/07 13:31:07.627134 OSPF: vty[??]@> echo PING
2019/05/07 13:31:07.778170 STATIC: vty[??]@> echo PING
2019/05/07 13:31:12.446095 ZEBRA: vty[??]@> echo PING
2019/05/07 13:31:12.530443 OSPF: vty[??]@> echo PING
2019/05/07 13:31:12.546858 OSPF: [EC 134217740] Packet[DD]: Neighbor 192.168.160.164 state is 2-Way, packet discarded.
2019/05/07 13:31:12.802376 STATIC: vty[??]@> echo PING
2019/05/07 13:31:17.459319 ZEBRA: vty[??]@> echo PING
2019/05/07 13:31:17.546884 OSPF: [EC 134217740] Packet[DD]: Neighbor 192.168.160.164 state is 2-Way, packet discarded.
2019/05/07 13:31:17.617743 OSPF: vty[??]@> echo PING
2019/05/07 13:31:17.752604 STATIC: vty[??]@> echo PING
2019/05/07 13:31:21.713662 STATIC: Terminating on signal
2019/05/07 13:31:21.714079 ZEBRA: connection closed socket [28]
2019/05/07 13:31:21.714125 ZEBRA: [EC 4043309117] Client 'static' encountered an error and is shutting down.
2019/05/07 13:31:21.714666 ZEBRA: Closing client 'static'
2019/05/07 13:31:21.714711 ZEBRA: release_daemon_table_chunks: Released 0 table chunks
2019/05/07 13:31:21.714730 ZEBRA: release_daemon_label_chunks: Released 0 label chunks
2019/05/07 13:31:21.714761 ZEBRA: client 28 disconnected. 0 static routes removed from the rib
2019/05/07 13:31:21.714986 OSPF: Terminating on signal
2019/05/07 13:31:21.715068 OSPF: ASBR[Status:255]: Update
2019/05/07 13:31:21.715416 OSPF: EXT (ospf_ext_link_ism_change): Set Adj. SID to interface ens18
2019/05/07 13:31:21.715595 OSPF: EXT (ospf_ext_pref_ism_change): Set Node SID to interface lo
2019/05/07 13:31:21.716334 ZEBRA: zebra message comes from socket [16]
2019/05/07 13:31:21.716348 ZEBRA: zebra message comes from socket [16]
2019/05/07 13:31:21.716356 ZEBRA: connection closed socket [16]
2019/05/07 13:31:21.716380 ZEBRA: [EC 4043309117] Client 'ospf' encountered an error and is shutting down.
2019/05/07 13:31:21.716434 ZEBRA: Terminating on signal
2019/05/07 13:31:21.716448 ZEBRA: Closing client 'ospf'
2019/05/07 13:31:21.716467 ZEBRA: release_daemon_table_chunks: Released 0 table chunks
2019/05/07 13:31:21.716477 ZEBRA: release_daemon_label_chunks: Released 0 label chunks
2019/05/07 13:31:21.716493 ZEBRA: rib_delnode: 0:10.66.20.120/29: rn 0x55ff1e7fd170, re 0x55ff1e911e70, removing
2019/05/07 13:31:21.716507 ZEBRA: rib_delnode: 0:10.66.66.10/32: rn 0x55ff1e7fca30, re 0x55ff1e911fb0, removing
2019/05/07 13:31:21.716524 ZEBRA: client 16 disconnected. 2 ospf routes removed from the rib
2019/05/07 13:31:21.716576 ZEBRA: VRF default id 0 is now inactive
2019/05/07 13:31:21.716584 ZEBRA: MESSAGE: ZEBRA_VRF_DELETE default
2019/05/07 13:31:21.716604 ZEBRA: VRF default id 0 deleted
2019/05/07 13:31:21.716793 ZEBRA: Zebra final shutdown
2019/05/07 13:31:21.718694 ZEBRA: rib_unlink: 0:10.66.20.120/29: rn 0x55ff1e7fd170, re 0x55ff1e911e70
2019/05/07 13:31:21.718708 ZEBRA: rib_unlink: 0:10.66.20.120/29: rn 0x55ff1e7fd170, re 0x55ff1e7fcff0
2019/05/07 13:31:21.718743 ZEBRA: rib_unlink: 0:10.66.66.10/32: rn 0x55ff1e7fca30, re 0x55ff1e911fb0
2019/05/07 13:31:21.718750 ZEBRA: rib_unlink: 0:10.66.66.10/32: rn 0x55ff1e7fca30, re 0x55ff1e7fc950
2019/05/07 13:31:21.718759 ZEBRA: rib_unlink: 0:10.66.20.120/29 (MRIB): rn 0x55ff1e7fd3f0, re 0x55ff1e7fd270
2019/05/07 13:31:21.718766 ZEBRA: rib_unlink: 0:10.66.66.10/32 (MRIB): rn 0x55ff1e7fcd50, re 0x55ff1e7fcc70
2019/05/07 13:31:21.718775 ZEBRA: rib_unlink: 0:fe80::/64: rn 0x55ff1e92ef70, re 0x55ff1e92ee90
2019/05/07 13:31:21.718784 ZEBRA: rib_unlink: 0:fe80::/64 (MRIB): rn 0x55ff1e92f170, re 0x55ff1e92f090
root@frr7-test:/var/log/frr#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment