1.
enable
2.
configure
terminal
3.
router
bgp
autonomous-system-number
4.
bgp
log-neighbor-changes
5.
bgp
soft-reconfig-backup
6.
neighbor
{ip-address |
peer-group-name}
remote-as
autonomous-system-number
7.
neighbor
{ip-address |
peer-group-name}
soft-reconfiguration [inbound]
8.
neighbor
{ip-address |
peer-group-name}
route-map
map-name {in |
out}
9.
Repeat Steps 6 through 8 for every peer that is to be configured with inbound soft reconfiguration.
10.
exit
11.
route-map
map-name
[permit |
deny] [sequence-number]
12.
set
local-preference
number-value
13.
end
14.
show
ip
bgp
neighbors
[neighbor-address]
15.
show
ip
bgp
[network] [network-mask]
Examples
The following partial output from the
show
ip
bgp
neighbors command shows information about the TCP and BGP connections to the BGP neighbor 192.168.2.1. This peer supports route refresh.
BGP neighbor is 192.168.1.2, remote AS 40000, external link
Neighbor capabilities:
Route refresh: advertised and received(new)
The following partial output from the
show
ip
bgp
neighbors command shows information about the TCP and BGP connections to the BGP neighbor 192.168.3.2. This peer does not support route refresh so the soft-reconfig inbound paths for BGP peer 192.168.3.2 will be stored because there is no other way to update any inbound policy updates.
BGP neighbor is 192.168.3.2, remote AS 50000, external link
Neighbor capabilities:
Route refresh: advertised
The following sample output from the
show
ip
bgp command shows the entry for the network 172.17.1.0. Both BGP peers are advertising 172.17.1.0/24, but only the received-only path is stored for 192.168.3.2.
BGP routing table entry for 172.17.1.0/24, version 11
Paths: (3 available, best #3, table Default-IP-Routing-Table, RIB-failure(4))
Flag: 0x820
Advertised to update-groups:
1
50000
192.168.3.2 from 192.168.3.2 (172.17.1.0)
Origin incomplete, metric 0, localpref 200, valid, external
50000, (received-only)
192.168.3.2 from 192.168.3.2 (172.17.1.0)
Origin incomplete, metric 0, localpref 100, valid, external
40000
192.168.1.2 from 192.168.1.2 (172.16.1.0)
Origin incomplete, metric 0, localpref 200, valid, external, best