
Building configuration...
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
no ip dhcp use vrf connected
interface Serial1/0
ip address 12.0.0.1 255.0.0.0
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
ip address 14.0.0.1 255.0.0.0
serial restart-delay 0
no dce-terminal-timing-enable
!
router bgp 1
no synchronization
bgp log-neighbor-changes
neighbor 12.0.0.2 remote-as 2
neighbor 12.0.0.2 weight 7000
neighbor 14.0.0.4 remote-as 4
neighbor 14.0.0.4 weight 6000
no auto-summary
!
Building configuration...
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
no ip dhcp use vrf connected
ip address 12.0.0.2 255.0.0.0
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
ip address 23.0.0.2 255.0.0.0
serial restart-delay 0
no dce-terminal-timing-enable
!
router bgp 2
no synchronization
bgp log-neighbor-changes
neighbor 12.0.0.1 remote-as 1
neighbor 23.0.0.3 remote-as 3
no auto-summary
!
R3#SHOW RUN
Building configuration...
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
ip address 3.0.0.3 255.0.0.0
!
interface Serial1/0
ip address 23.0.0.3 255.0.0.0
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
ip address 34.0.0.3 255.0.0.0
serial restart-delay 0
no dce-terminal-timing-enable
!
no synchronization
bgp log-neighbor-changes
network 3.0.0.0
neighbor 23.0.0.2 remote-as 2
neighbor 34.0.0.4 remote-as 4
no auto-summary
Building configuration...
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
ip address 34.0.0.4 255.0.0.0
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
ip address 14.0.0.4 255.0.0.0
serial restart-delay 0
no dce-terminal-timing-enable
!
no synchronization
bgp log-neighbor-changes
neighbor 14.0.0.1 remote-as 1
neighbor 34.0.0.3 remote-as 3
no auto-summary
!
BGP table version is 2, local router ID is 14.0.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
* 3.0.0.0 12.0.0.2 0 2 3 i
*> 14.0.0.4 0 4 3 i
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router bgp 1
R1(config-router)#nei
R1(config-router)#neighbor 14.0.0.4 w
R1(config-router)#neighbor 14.0.0.4 weight 6000
R1(config-router)#end
R1#
BGP table version is 3, local router ID is 14.0.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
* 3.0.0.0 12.0.0.2 0 2 3 i
*> 14.0.0.4 6000 4 3 i
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router bgp 1
R1(config-router)#nei
R1(config-router)#neighbor 12.0.0.2 wei
R1(config-router)#neighbor 12.0.0.2 weight 7000
R1#
R1#clear ip bgp 12.0.0.2 soft in
BGP table version is 4, local router ID is 14.0.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
*> 3.0.0.0 12.0.0.2 7000 2 3 i
* 14.0.0.4 6000 4 3 i