拓扑

实验00 Basic BGP Configuration
- R2 是先no 掉 ipv4,然后进去到 address-falimy 单独 Activate
#R1
router bgp 65100
neighbor 10.12.1.2 remote-as 65200
neighbor 10.12.1.2 password CISCO
neighbor 10.12.1.2 timers 10 40
#R2
router bgp 65200
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 10.12.1.1 remote-as 65100
neighbor 10.12.1.1 password CISCO
neighbor 10.12.1.1 timers 20 100
address-family ipv4
neighbor 10.12.1.1 activate
exit-address-family
- verification
- show ip bgp ipv4 unicast summary
- show ip bgp ipv4 unicast neighbors 10.12.1.2
- show ip bgp summary
- 查看配置时的参数,协商后真正使用的参数,谁是本地179
- show tcp brief
实验01 Prefix Advertisement
- 在R1上配置EIGRP,Static,OSPF,查看路由表,确认获取到路由
- 配置 BGP
router eigrp MY_EIGRP
!
address-family ipv4 unicast autonomous-system 100
!
topology base
exit-af-topology
network 10.13.1.0 0.0.0.255
exit-address-family
!
router ospf 100
network 10.15.1.0 0.0.0.255 area 0
!
router bgp 65100
bgp log-neighbor-changes
network 192.168.1.1 mask 255.255.255.255
network 192.168.3.3 mask 255.255.255.255
network 192.168.4.4 mask 255.255.255.255
redistribute ospf 100
neighbor 10.12.1.2 remote-as 65200
neighbor 10.12.1.2 password CISCO
neighbor 10.12.1.2 timers 10 40