▀ Configuration for BGP PIC (with OSPF)
▄ Cisco ASR 903 Router Design and Deployment Guide
route-policy PERMIT
if destination in (172.16.22.22/32) then
pass
else
drop
endif
end-policy
!
Verifying BGP PIC & RFC3107
ASR903-R1# show ip bgp
BGP table version is 270, local router ID is 172.16.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 172.16.1.1/32 0.0.0.0 0 32768 i
*bi 172.16.4.4/32 172.16.3.3 0 100 0 i
*>i 172.16.2.2 0 100 0 i
*bi 10.10.7.0/24 172.16.3.3 0 100 0 i
*>i 172.16.2.2 0 100 0 i
ASR903-R1# show ip bgp 172.16.4.4
BGP routing table entry for 172.16.4.4/32, version 269
Paths: (2 available, best #2, table default)
Additional-path-install
Not advertised to any peer
Refresh Epoch 1
Local
172.16.3.3 (metric 2) from 172.16.3.3 (172.16.3.3)
Origin IGP, metric 0, localpref 100, valid, internal, backup/repair
Originator: 172.16.4.4, Cluster list: 172.16.3.3, 203.0.113.101
mpls labels in/out nolabel/28
rx pathid: 0, tx pathid: 0
Refresh Epoch 3
Local
172.16.2.2 (metric 2) from 172.16.2.2 (172.16.2.2)
Origin IGP, metric 0, localpref 100, valid, internal, best
Originator: 172.16.4.4, Cluster list: 172.16.2.2, 203.0.113.102
mpls labels in/out nolabel/28
rx pathid: 0, tx pathid: 0x0
ASR903-R1# show ip bgp label
Network Next Hop In label/Out label
172.16.1.1/32 0.0.0.0 imp-null/nolabel
172.16.4.4/32 172.16.3.3 nolabel/28
172.16.2.2 nolabel/28
10.10.7.0/24 172.16.3.3 nolabel/30