hostname TCD0021
buggy
!
logging buffered debug 10240
logging file debug /var/log/freertr.log
logging rotate 655360000 /var/log/freertr.old
!
crypto rsakey rsa import $v10$TUlJRW9RSUJBQUtDQVFCZmlhTmNSd1oydzU3aW9xVHJuSzRVMTh5Q1NVbTRvc2RlTW9PYXRsdGF5MEFtVS9sdVFwQVptVlRFd1NVb29MSVpuOUV2aEhqR0NaUHU5MlF6bzBGU05kUTZudmtUZDZzaWd1ZFBLR0pmRFNLdDVvWTBqRVR5elNlVVI4K0NpcStUOEt4ZGVIbmZXQ1EzeU9YTkU5SnhPVkhyM3hORUxRMzlKVHdCdHNZYWNMWHlnTGFrUUM5UVhFSmJodENYMzg5MmRHajA0c0lKWFJiYzJsRnM2Q1h2Zy9udEgwbzgrbTVFZENDOW9FWC9VNWZYTEo5T2I5RDlJbUIzeTdSU3dxUUkxWTNCbTYvVXdjZWNqOS90QzhFL1JoRWNnZ1hSOERobHVKQTEyYU93N3l4a01jbDFNTk5HbEViT2JNTkVyeXQrUUZVQmVTMThrMi9ncUxiM0MvTlBBZ01CQUFFQ2dnRUFHZEFMVmtST1o4cEU1SUVEUkRHS0MxR2ZETmlXVlkrTmhGTHJvZUtCWGsrcUhuRHo1S21SVzRsRkVRQUtkU2F0MkNTSkZXaWFaUTl6YTg1bHdWbnJyVFdrQ002cEIyeCt6WTFHeCtsbVlyNGV6NU9JVVN4UStMVWJhNEhYZkRMU2E0dE1WdGpWUE5ZSXV4WEptUll3OXF5QkNOUzExT2JEYjlFZW5HdndySFhRNkZWcDBzVXE2d1JTL2FDK1ZrMGZpZXpIN0UxdWlMcUFYY0VaWjRSVGtESlozbERONXB5NjVBT1lraDVaRXArODFDaWJPUm81N29yMlRLYmFmb0dmY2tzQWh2dkZqYlZhbmxXRDJjQm02YkNXV2dTaXk3NFA5RURmY1pEQ0cwOE5HbHJ0MDNncFp3Y1UrREltRmNPY3ZvTjhudjYvdEZNc1FkLzhmeTZMc1FLQmdRQ2tBd0RZR0hmbjcwcjQ2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82RTlLUUpKWjhSbStjT3p2ZzlQWm1VOExtUG56SW5mdXlxdkhERGxEcE56ZzJQcUNtV3NMMkcwTDJkdndvcElBemdKWFFkQXRk
!
aaa userlist usr
 username rare
 username rare password $v10$cmFyZQ==
 exit
!
scheduler errors
 time 600000
 delay 30000
 command clear errors freerror@nop.hu
 start
 exit
!
scheduler upgrade
 time 600000
 delay 60000
 random-time 60000
 random-delay 300000
 command flash upgrade
 start
 exit
!
prefix-list all4
 sequence 10 permit 0.0.0.0/0 ge 0 le 0
 exit
!
prefix-list all6
 sequence 10 permit ::/0 ge 0 le 0
 exit
!
vrf definition CORE
 iface4start 1000
 iface6start 1000
 exit
!
vrf definition INB_MGNT
 rd 20965:9
 rt-import 20965:1
 rt-export 20965:1
 exit
!
vrf definition lin
 exit
!
vrf definition oob
 exit
!
vrf definition p4
 description P4 VRF _NEVER_EVER_ CONFIGURE IT
 exit
!
router ospf4 1
 vrf CORE
 router-id 10.9.9.9
 traffeng-id 0.0.0.0
 segrout 100
 bier 256 100
 area 0 enable
 area 0 segrout
 area 0 bier
 exit
!
router ospf6 1
 vrf CORE
 router-id 10.9.9.9
 traffeng-id ::
 segrout 100
 bier 256 100
 area 0 enable
 area 0 segrout
 area 0 bier
 exit
!
interface template1
 description core links
 lldp enable
 vrf forwarding CORE
 ipv4 address dynamic dynamic
 ipv4 pim enable
 ipv4 pim bier-tunnel 9
 ipv4 pim join-source loopback0
 ipv6 address dynamic dynamic
 ipv6 enable
 ipv6 pim enable
 ipv6 pim bier-tunnel 9
 ipv6 pim join-source loopback0
 polka enable 9 65536 100
 mpls enable
 mpls rsvp4
 mpls rsvp6
 router ospf4 1 enable
 router ospf4 1 area 0
 router ospf4 1 suppress-prefix
 router ospf4 1 segrout index 9
 router ospf4 1 bier index 9
 router ospf6 1 enable
 router ospf6 1 area 0
 router ospf6 1 suppress-prefix
 router ospf6 1 segrout index 9
 router ospf6 1 bier index 9
 shutdown
 no log-link-change
 exit
!
interface loopback0
 description TCD0021@lo0
 vrf forwarding CORE
 ipv4 address 10.9.9.9 255.255.255.255
 ipv6 address fd00:51e5:4bd::a:9:9:9 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
 template template1
 router ospf4 1 unsuppress-prefix
 router ospf6 1 unsuppress-prefix
 no shutdown
 exit
!
interface loopback20965
 no description
 vrf forwarding INB_MGNT
 ipv4 address 172.16.66.9 255.255.255.255
 no shutdown
 no log-link-change
 exit
!
interface ethernet0
 description CPU_PORT _NEVER_EVER_ CONFIGURE IT
 no shutdown
 no log-link-change
 exit
!
interface ethernet1
 description out of band management port
 vrf forwarding oob
 ipv4 address 10.10.10.40 255.255.255.0
 no shutdown
 no log-link-change
 exit
!
interface sdn1
 description frontpanel port 1/0
 mtu 1500
 macaddr 0052.334c.5a5c
 shutdown
 log-link-change
 exit
!
interface sdn10
 description frontpanel port 10/0
 mtu 1500
 macaddr 006b.3528.5629
 shutdown
 log-link-change
 exit
!
interface sdn11
 description frontpanel port 11/0
 mtu 1500
 macaddr 0043.103b.0053
 shutdown
 log-link-change
 exit
!
interface sdn12
 description frontpanel port 12/0
 mtu 1500
 macaddr 0032.6540.3c64
 shutdown
 log-link-change
 exit
!
interface sdn13
 description frontpanel port 13/0
 mtu 1500
 macaddr 002e.5850.6d13
 shutdown
 log-link-change
 exit
!
interface sdn14
 description frontpanel port 14/0
 mtu 1500
 macaddr 002b.4660.0f4b
 shutdown
 log-link-change
 exit
!
interface sdn15
 description frontpanel port 15/0
 mtu 1500
 macaddr 000f.2a4e.4331
 shutdown
 log-link-change
 exit
!
interface sdn16
 description frontpanel port 16/0
 mtu 1500
 macaddr 0036.6e6c.6a34
 shutdown
 log-link-change
 exit
!
interface sdn2
 description frontpanel port 2/0
 mtu 1500
 macaddr 0022.192b.5925
 shutdown
 log-link-change
 exit
!
interface sdn3
 description frontpanel port 3/0
 mtu 1500
 macaddr 001b.0a22.523c
 shutdown
 log-link-change
 exit
!
interface sdn4
 description frontpanel port 4/0
 mtu 1500
 macaddr 005c.3b50.447c
 shutdown
 log-link-change
 exit
!
interface sdn43
 description frontpanel port 43/0
 mtu 1500
 macaddr 0052.6c68.2c16
 vrf forwarding CORE
 ipv4 address 10.12.13.43 255.255.255.0
 ipv6 address fd00:515e:4bd::a:c:d:2b ffff:ffff:ffff:ffff:ffff:ffff:ffff:ff00
 template template1
 no shutdown
 exit
!
interface sdn47
 description frontpanel port 47/0
 mtu 1500
 macaddr 001b.5711.7d00
 vrf forwarding CORE
 ipv4 address 10.12.14.47 255.255.255.0
 ipv6 address fd00:51e5:4be::a:c:d:2f ffff:ffff:ffff:ffff:ffff:ffff:ffff:ff00
 template template1
 no shutdown
 exit
!
interface sdn5
 description frontpanel port 5/0
 mtu 1500
 macaddr 0071.1746.6717
 shutdown
 log-link-change
 exit
!
interface sdn6
 description frontpanel port 6/0
 mtu 1500
 macaddr 004c.2439.1b41
 shutdown
 log-link-change
 exit
!
interface sdn7
 description frontpanel port 7/0
 mtu 1500
 macaddr 004c.7545.7719
 shutdown
 log-link-change
 exit
!
interface sdn8
 description frontpanel port 8/0
 mtu 1500
 macaddr 0052.3718.6744
 shutdown
 log-link-change
 exit
!
interface sdn9
 description frontpanel port 9/0
 mtu 1500
 macaddr 0023.2b32.3b12
 shutdown
 log-link-change
 exit
!
router bgp4 1
 vrf CORE
 local-as 64512
 router-id 10.9.9.9
 address-family unicast multicast vpnuni ovpnuni vpls evpn
 neighbor 10.3.3.3 remote-as 64512
 no neighbor 10.3.3.3 description
 neighbor 10.3.3.3 local-as 64512
 neighbor 10.3.3.3 address-family unicast multicast vpnuni ovpnuni vpls evpn
 neighbor 10.3.3.3 distance 200
 neighbor 10.3.3.3 update-source loopback0
 neighbor 10.3.3.3 pmsitun
 neighbor 10.3.3.3 next-hop-self
 neighbor 10.3.3.3 send-community all
 afi-vrf INB_MGNT enable
 afi-vrf INB_MGNT redistribute connected
 redistribute connected
 redistribute static
 exit
!
router bgp6 1
 vrf CORE
 local-as 64512
 router-id 10.9.9.9
 address-family unicast multicast vpnuni ovpnuni vpls evpn
 neighbor fd00:51e5::a:3:3:3 remote-as 64512
 no neighbor fd00:51e5::a:3:3:3 description
 neighbor fd00:51e5::a:3:3:3 local-as 64512
 neighbor fd00:51e5::a:3:3:3 address-family unicast multicast vpnuni ovpnuni vpls evpn
 neighbor fd00:51e5::a:3:3:3 distance 200
 neighbor fd00:51e5::a:3:3:3 update-source loopback0
 neighbor fd00:51e5::a:3:3:3 pmsitun
 neighbor fd00:51e5::a:3:3:3 next-hop-self
 neighbor fd00:51e5::a:3:3:3 send-community all
 redistribute connected
 redistribute static
 exit
!
proxy-profile INB_MGNT
 vrf INB_MGNT
 source loopback20965
 exit
!
proxy-profile oob
 vrf oob
 exit
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
sensor ifaces-hw
 path interfaces-hw/interface/counter
 prefix freertr-ifaces
 prepend iface_hw_byte_
 command sho inter hwsumm
 name 0 ifc=
 key name interfaces-hw/interface
 replace \. _
 column 1 name st
 column 1 replace admin -1
 column 1 replace down 0
 column 1 replace up 1
 column 2 name tx
 column 3 name rx
 column 4 name dr
 exit
!
sensor ifaces-hwp
 path interfaces-hwp/interface/counter
 prefix freertr-ifaces
 prepend iface_hw_pack_
 command sho inter hwpsumm
 name 0 ifc=
 key name interfaces-hwp/interface
 replace \. _
 column 1 name st
 column 1 replace admin -1
 column 1 replace down 0
 column 1 replace up 1
 column 2 name tx
 column 3 name rx
 column 4 name dr
 exit
!
sensor ifaces-sw
 path interfaces-sw/interface/counter
 prefix freertr-ifaces
 prepend iface_sw_byte_
 command sho inter swsumm
 name 0 ifc=
 key name interfaces-sw/interface
 replace \. _
 column 1 name st
 column 1 replace admin -1
 column 1 replace down 0
 column 1 replace up 1
 column 2 name tx
 column 3 name rx
 column 4 name dr
 exit
!
sensor ifaces-swp
 path interfaces-swp/interface/counter
 prefix freertr-ifaces
 prepend iface_sw_pack_
 command sho inter swpsumm
 name 0 ifc=
 key name interfaces-swp/interface
 replace \. _
 column 1 name st
 column 1 replace admin -1
 column 1 replace down 0
 column 1 replace up 1
 column 2 name tx
 column 3 name rx
 column 4 name dr
 exit
!
alias test tna-asic-temp command attach shell1 /opt/freertr/bin/sh_tna_temp.sh
alias test tna-asic-temp cmd2nd flash type /etc/freertr/tna_temp.cfg
alias test tna-asic-temp description display forwarding asic cpu temperature
!
alias test tna-linux-access command ssh 10.255.255.1 /vrf lin /user sysadmin /pass sysadmin
alias test tna-linux-access description access linux console
!
alias test tna-linux-temp command attach shell2 acpi -V
alias test tna-linux-temp description display main cpu temperature
!
alias test tna-port-detect command attach shell1 /opt/freertr/bin/sh_tna_ports.sh
alias test tna-port-detect cmd2nd test hwpop uclipm /etc/freertr/tna_ports.cfg server p4lang p4 ports ready auto normal apply add
alias test tna-port-detect description Detect TOFINO ports
!
alias test tna-port-remove command attach shell1 /opt/freertr/bin/sh_tna_ports.sh
alias test tna-port-remove cmd2nd test hwpop uclipm /etc/freertr/tna_ports.cfg server p4lang p4 ports ready auto normal apply del
alias test tna-port-remove description Remove NON RDY TOFINO ports
!
server telnet INB_MGNT
 security protocol telnet
 exec logging
 no exec authorization
 no login authentication
 login logging
 interface loopback20965
 vrf INB_MGNT
 exit
!
server telnet MC36_DEBUG
 security protocol telnet
 exec logging
 no exec authorization
 no login authentication
 login logging
 interface loopback0
 vrf CORE
 exit
!
server telnet oob
 security authentication usr
 security rsakey rsa
 security dsakey dsa
 security ecdsakey ecdsa
 second-port 22
 exec logging
 no exec authorization
 login authentication usr
 login logging
 vrf oob
 exit
!
server telnet p4
 security protocol telnet
 exec logging
 no exec authorization
 no login authentication
 login logging
 vrf p4
 exit
!
server p4lang p4
 export-vrf CORE 1
 export-vrf INB_MGNT 2
 export-port sdn1 0 0 0 0 0
 export-port sdn2 1 0 0 0 0
 export-port sdn3 2 0 0 0 0
 export-port sdn4 3 0 0 0 0
 export-port sdn5 4 0 0 0 0
 export-port sdn6 5 0 0 0 0
 export-port sdn7 6 0 0 0 0
 export-port sdn8 7 0 0 0 0
 export-port sdn9 12 0 0 0 0
 export-port sdn10 13 0 0 0 0
 export-port sdn11 14 0 0 0 0
 export-port sdn12 15 0 0 0 0
 export-port sdn13 28 0 0 0 0
 export-port sdn14 29 0 0 0 0
 export-port sdn15 30 0 0 0 0
 export-port sdn16 31 0 0 0 0
 export-port sdn43 130 10 0 1 0
 export-port sdn47 134 10 0 1 0
 interconnect ethernet0
 vrf p4
 exit
!
server dns SRV_DNS_NMAAS
 access-log
 access-total 4
 access-subnet 16
 zone rare.nmaas.eu defttl 86400
 zone rare.nmaas.eu axfr enable
 zone rare.nmaas.eu rr ipv4.rare.nmaas.eu ip4i loopback20965
 zone rare.nmaas.eu rr wdv.rare.nmaas.eu ip4a 172.16.66.10
 zone rare.nmaas.eu rr rare.nmaas.eu ns ns.rare.nmaas.eu
 interface loopback20965
 vrf INB_MGNT
 exit
!
server prometheus pr
 sensor ifaces-hw
 sensor ifaces-hwp
 sensor ifaces-sw
 sensor ifaces-swp
 vrf INB_MGNT
 exit
!
client proxy INB_MGNT
client name-server 172.16.66.9
client upgrade-server http://172.16.66.1/
client upgrade-backup
client config-server http://wdv.rare.nmaas.eu/webdav/
client config-username rare
client config-password $v10$cmFyZQ==
client config-backup
client config-archive
client time-server europe.pool.ntp.org
client time-zone CET
!
end
