Open xivamar opened 7 years ago
delivered to devel/master
Fixed on build:
switch# show version
OpenSwitch 0.4.0 (Build: appliance-ops-0.4.0-meraswitch/devel/master-20170126080249-dev)
switch#
BGP routing table from DUT1:
switch# show ip bgp
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Local router-id 1.1.1.1
Network Next Hop Metric LocPrf Weight Path
*> 1.1.1.1/32 0.0.0.0 0 0 32768 i
*>i172.16.10.0/24 4.4.4.4 0 100 0 65502 i
*>i172.17.10.0/24 4.4.4.4 0 100 0 65504 i
*>i192.168.10.0/24 4.4.4.4 0 100 0 i
Total number of entries 4
switch#
Hi, command 'neighbor х.х.х.х next-hop-self' is not added in running-config file:
switch# show ip bgp
...
Local router-id 101.0.0.10
Network Next Hop Metric LocPrf Weight Path
*>i100.0.0.0/23 2.2.2.2 0 100 0 64500 i
*>i101.0.0.0/30 2.2.2.2 0 100 0 64500 i
*> 103.0.0.0/22 0.0.0.0 0 0 32768 i
*> 120.0.0.0/24 0.0.0.0 0 0 32768 i
Total number of entries 4
switch# show running-config
Current configuration:
...
!Version OpenSwitch 0.4.0 (Build: appliance-ops-0.4.0-meraswitch/devel/master-20170202134441-dev)
!
router bgp 77
network 103.0.0.0/22
network 120.0.0.0/24
bgp fast-external-failover
neighbor 2.2.2.2 remote-as 77
neighbor 2.2.2.2 update-source loopback1
neighbor 4.4.4.4 remote-as 77
neighbor 4.4.4.4 update-source loopback1
...
Next configuration was used for bgp router:
router bgp 77
network 103.0.0.0/22
network 120.0.0.0/24
bgp fast-external-failover
neighbor 2.2.2.2 remote-as 77
neighbor 2.2.2.2 update-source loopback1
neighbor 2.2.2.2 next-hop-self
neighbor 4.4.4.4 remote-as 77
neighbor 4.4.4.4 update-source loopback1
neighbor 4.4.4.4 next-hop-self
P.S: Another topology was taken for example.
The command
neighbor х.х.х.х default-originate
isn't implemented: