RP/0/0/CPU0:R-1#sh run
!
route-policy PASS
pass
end-policy
!
router bgp 1
bgp router-id 1.1.1.1
address-family ipv4 unicast
redistribute connected
!
neighbor 1.1.12.2
remote-as 2
address-family ipv4 unicast
route-policy PASS in
route-policy PASS out
!
!
!
####################################################
RP/0/0/CPU0:R-2#sh run
!
route-policy PASS
pass
end-policy
!
router bgp 2
bgp router-id 2.2.1.1
address-family ipv4 unicast
redistribute connected
!
neighbor 1.1.12.1
remote-as 1
address-family ipv4 unicast
route-policy PASS in
route-policy PASS out
!
!
!
####################################################
RP/0/0/CPU0:R-1#sh ip rou
Wed May 31 13:35:58.004 UTC
Gateway of last resort is not set
C 1.1.1.0/24 is directly connected, 00:17:32, Loopback0
L 1.1.1.1/32 is directly connected, 00:17:32, Loopback0
C 1.1.12.0/24 is directly connected, 00:17:32, GigabitEthernet0/0/0/0
L 1.1.12.1/32 is directly connected, 00:17:32, GigabitEthernet0/0/0/0
B 2.2.1.0/24 [20/0] via 1.1.12.2, 00:16:25
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#sh bgp ipv4 uni
Wed May 31 13:36:09.183 UTC
BGP router identifier 1.1.1.1, local AS number 1
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000 RD version: 7
BGP main routing table version 7
BGP NSR Initial initsync version 3 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 1.1.1.0/24 0.0.0.0 0 32768 ?
*> 1.1.12.0/24 0.0.0.0 0 32768 ?
* 1.1.12.2 0 0 2 ?
*> 2.2.1.0/24 1.1.12.2 0 0 2 ?
Processed 3 prefixes, 4 paths
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#sh bgp ipv4 uni su
Wed May 31 13:36:11.893 UTC
BGP router identifier 1.1.1.1, local AS number 1
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000 RD version: 7
BGP main routing table version 7
BGP NSR Initial initsync version 3 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
BGP is operating in STANDALONE mode.
Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
Speaker 7 7 7 7 7 0
Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd
1.1.12.2 0 2 21 21 7 0 0 00:17:39 2
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#sh ip bgp 1.1.12.2
Wed May 31 13:37:17.668 UTC
BGP routing table entry for 1.1.12.0/24
Versions:
Process bRIB/RIB SendTblVer
Speaker 5 5
Last Modified: May 31 13:19:31.932 for 00:17:45
Paths: (2 available, best #1)
Advertised to peers (in unique update groups):
1.1.12.2
Path #1: Received by speaker 0
Advertised to peers (in unique update groups):
1.1.12.2
Local
0.0.0.0 from 0.0.0.0 (1.1.1.1)
Origin incomplete, metric 0, localpref 100, weight 32768, valid, redistributed, best, group-best
Received Path ID 0, Local Path ID 0, version 5
Path #2: Received by speaker 0
Not advertised to any peer
2
1.1.12.2 from 1.1.12.2 (2.2.1.1)
Origin incomplete, metric 0, localpref 100, valid, external, group-best
Received Path ID 0, Local Path ID 0, version 0
Origin-AS validity: not-found
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#sh ip bgp 2.2.1.1
Wed May 31 13:37:40.697 UTC
BGP routing table entry for 2.2.1.0/24
Versions:
Process bRIB/RIB SendTblVer
Speaker 7 7
Last Modified: May 31 13:19:32.932 for 00:18:07
Paths: (1 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
2
1.1.12.2 from 1.1.12.2 (2.2.1.1)
Origin incomplete, metric 0, localpref 100, valid, external, best, group-best
Received Path ID 0, Local Path ID 0, version 7
Origin-AS validity: not-found
RP/0/0/CPU0:R-1#
|
cs |
'네트워크 > BGP' 카테고리의 다른 글
[BGP] 개요 (0) | 2025.04.12 |
---|---|
[BGP] BGP 테이블 2 (0) | 2025.04.11 |
[BGP] BGP 테이블 1 (0) | 2025.04.11 |
[BGP] eBGP, iBGP 기본 설정 (0) | 2025.04.10 |
[BGP] iBGP, eBGP 구성 (0) | 2023.06.01 |