
Base configuration BGP Peer 1
ipv4/v6 address
set interfaces ethernet eth0 vif 64 address 93.155.130.38/30
set interfaces ethernet eth0 vif 64 address '2001:678:904::2/112'
IPv4 Peer 1 configurations
set protocols bgp 47453 neighbor 93.155.130.37 remote-as 47453
set protocols bgp 47453 neighbor 93.155.130.37 soft-reconfiguration inbound
IPv6 Peer 1 configurations
set protocols bgp 47453 neighbor '2001:678:904::1' address-family ipv6-unicast soft-reconfiguration inbound
set protocols bgp 47453 neighbor '2001:678:904::1' remote-as 47453
Test configuration BGP Peer 1
test IPv4 connection peer
admin@edgerouter# run show ip bgp summary Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd 93.155.130.37 4 47453 2567 8803 22075 0 0 1m 42
test IPv6 connection peer
admin@edgerouter# run show ipv6 bgp summary Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd 2001:678:904::1 4 47453 2518 2210 60 0 0 1m 11
IPv4 Peer 1 received routes
admin@edgerouter# run show ip bgp neighbors 93.155.130.37 received-routes Network Next Hop Metric LocPrf Weight Path *>i 10.0.0.0 93.155.130.91 100 0 ? *>i 10.10.15.0/24 93.155.130.91 100 0 ? *>i 10.19.0.0/16 93.155.130.91 100 0 ?
IPv4 Peer 1 advertised routes
admin@edgerouter# run show ip bgp neighbors 93.155.130.37 advertised-routes Network Next Hop Metric LocPrf Weight Path *>i 2.56.52.0/22 93.155.130.18 100 0 44901 31287 41280 i *>i 2.57.216.0/22 93.155.130.18 100 0 44901 47872 49628 209012 i *>i 5.10.32.0/21 93.155.130.18 100 0 44901 47872 20771 20771 199045 i *>i 5.10.34.0/24 93.155.130.18 100 0 44901 47872 20771 20771 199045 i *>i 5.10.35.0/24 93.155.130.18 100 0 44901 47872 20771 20771 199045 i *>i 5.10.38.0/24 93.155.130.18 100 0 44901 47872 20771 20771 199045 i *>i 5.10.39.0/24 93.155.130.18 100 0 44901 47872 20771 20771 199045 i
IPv6 Peer 1 received routes
admin@edgerouter# run show ipv6 bgp neighbors 2001:678:904::1 received-routes Network Next Hop Metric LocPrf Weight Path *>i 2001:678:904::/48 2001:678:904::1(fe80::764d:28ff:fe86:1f1c) 100 0 i *>i 2001:678:904::/112 2001:678:904::1(fe80::764d:28ff:fe86:1f1c) 100 0 ? *>i 2001:678:904::2:0/112 2001:678:904::1(fe80::764d:28ff:fe86:1f1c)
IPv6 Peer 1 advertised routes
admin@edgerouter# run show ipv6 bgp neighbors 2001:678:904::1 advertised-routes Network Next Hop Metric LocPrf Weight Path *>i 2001:678:904::/112 2001:678:904::2(fe80::b6fb:e4ff:fe1a:57ef) 100 32768 ? *>i 2001:678:904::5:0/112 2001:678:904::2(fe80::b6fb:e4ff:fe1a:57ef) 100 32768 ? *>i 2001:678:904:1::/64 2001:678:904::2(fe80::b6fb:e4ff:fe1a:57ef)
Base configuration BGP Peer 2
set interfaces ethernet eth5 vif 50 address 93.155.130.90/29
set interfaces ethernet eth5 vif 50 address '2001:678:904:2::2/64'
set protocols bgp 47453 neighbor 93.155.130.89 remote-as 47453
set protocols bgp 47453 neighbor 93.155.130.89 soft-reconfiguration inbound
set protocols bgp 47453 neighbor '2001:678:904:2::1' address-family ipv6-unicast soft-reconfiguration inbound
set protocols bgp 47453 neighbor '2001:678:904:2::1' remote-as 47453
Base configuration BGP Peer 3
set interfaces tunnel tun1 address 93.155.130.17/30
set interfaces tunnel tun1 address '2001:678:904::5:1/112'
set protocols bgp 47453 neighbor 93.155.130.18 remote-as 44901
set protocols bgp 47453 neighbor 93.155.130.18 soft-reconfiguration inbound
set protocols bgp 47453 neighbor '2001:678:904::5:2' address-family ipv6-unicast soft-reconfiguration inbound
set protocols bgp 47453 neighbor '2001:678:904::5:2' remote-as 44901
Show IPv4 BGP Peers
admin@edgerouter# run show ip bgp summary BGP router identifier 93.155.130.38, local AS number 47453 BGP table version is 22492 396 BGP AS-PATH entries 118 BGP community entries Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd 93.155.130.18 4 44901 12557 4637 22492 0 0 21:00:32 2173 93.155.130.37 4 47453 2698 9038 22492 0 0 1d14h30m 42 93.155.130.89 4 47453 2689 9007 22492 0 0 1d14h30m 42 2001:678:904::1 4 47453 2651 2325 22492 0 0 1d14h30m 0 2001:678:904::5:2 4 44901 4814 4622 22492 0 0 21:00:35 0 2001:678:904:2::1 4 47453 2652 2322 22492 0 0 1d14h30m 0 Total number of neighbors 6 Total number of Established sessions 6
Show IPv6 BGP Peers
admin@edgerouter# run show ipv6 bgp summary BGP router identifier 93.155.130.38, local AS number 47453 BGP table version is 60 396 BGP AS-PATH entries 118 BGP community entries Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd 2001:678:904::1 4 47453 2652 2326 60 0 0 1d14h31m 11 2001:678:904::5:2 4 44901 4817 4625 60 0 0 21:01:52 3 2001:678:904:2::1 4 47453 2654 2323 60 0 0 1d14h31m 11 Total number of neighbors 3 Total number of Established sessions 3
Show BGP prefix
admin@edgerouter# run show ip bgp 93.155.130.0/24 BGP routing table entry for 93.155.130.0/24 Paths: (2 available, best #1, table Default-IP-Routing-Table) Advertised to non peer-group peers: 93.155.130.18 Local 93.155.130.89 from 93.155.130.89 (93.155.130.9) Origin IGP, metric 0, localpref 200, valid, internal, best Last update: Mon Aug 24 09:31:15 2020 Local 93.155.130.37 from 93.155.130.37 (93.155.130.9) Origin IGP, metric 0, localpref 100, valid, internal Last update: Mon Aug 24 09:31:15 2020
Show ip route atribute
admin@edgerouter# run show ip route Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 > - selected route, * - FIB route, p - stale info IP Route Table for VRF "default" S *> 0.0.0.0/0 [1/0] via 93.155.130.37, eth0.64 S 0.0.0.0/0 [200/0] via 93.155.130.91, eth5.50 B *> 2.56.52.0/22 [20/0] via 93.155.130.18, tun1, 20:21:24 B *> 2.57.216.0/22 [20/0] via 93.155.130.18, tun1, 20:21:24 B *> 5.10.32.0/21 [20/0] via 93.155.130.18, tun1, 20:21:24 B *> 5.10.34.0/24 [20/0] via 93.155.130.18, tun1, 20:21:24 B *> 5.10.35.0/24 [20/0] via 93.155.130.18, tun1, 20:21:24 B *> 5.10.38.0/24 [20/0] via 93.155.130.18, tun1, 20:21:24 B *> 5.10.39.0/24 [20/0] via 93.155.130.18, tun1, 20:21:24 B *> 5.32.128.0/24 [20/0] via 93.155.130.18, tun1, 20:21:24 B *> 5.32.129.0/24 [20/0] via 93.155.130.18, tun1, 03:55:53 B *> 5.32.130.0/24 [20/0] via 93.155.130.18, tun1, 20:21:24 B *> 10.0.0.0/8 [20/0] via 93.155.130.91, eth5.50, 1d13h55m B *> 10.10.15.0/24 [20/0] via 93.155.130.91, eth5.50, 1d13h55m B *> 10.19.0.0/16 [20/0] via 93.155.130.91, eth5.50, 1d13h55m C *> 93.155.130.16/30 is directly connected, tun1 C *> 93.155.130.36/30 is directly connected, eth0.64 C *> 93.155.130.88/29 is directly connected, eth5.50 B *> 93.155.131.0/24 [20/0] via 93.155.130.89, eth5.50, 1d13h56m B *> 93.155.169.0/24 [20/0] via 85.118.95.6 (recursive via 93.155.130.89 ), 1d13h55m C *> 127.0.0.0/8 is directly connected, lo B *> 172.16.20.0/24 [20/0] via 93.155.130.37, eth0.64, 1d13h55m B *> 172.16.60.0/24 [20/0] via 93.155.130.37, eth0.64, 1d13h55m