实验25BGP邻居建立与路由发布详细分析..doc
文本预览下载声明
实验25 BGP邻居建立与路由发布
一、组网拓扑图:
实验需求:
部分配置命令:
IGP部分配置:
RT1:
router bgp 10
no synchronization
bgp log-neighbor-changes
network 10.10.0.0 mask 255.255.0.0
neighbor 10.10.0.2 remote-as 10
neighbor 10.10.0.2 update-source Loopback0
neighbor 10.10.13.2 remote-as 30
no auto-summary
!
RT2:
router ospf 1
router-id 10.10.0.2
log-adjacency-changes
redistribute connected metric 1000 metric-type 1 subnets
passive-interface default
no passive-interface Serial0/1
no passive-interface FastEthernet1/0
network 10.10.0.2 0.0.0.0 area 0
network 10.10.1.0 0.0.0.255 area 0
default-information originate always metric 2000 metric-type 1
!
RT5:
router ospf 1
router-id 10.10.0.5
log-adjacency-changes
passive-interface default
no passive-interface Serial0/0
no passive-interface FastEthernet1/0
network 10.10.0.5 0.0.0.0 area 0
network 10.10.1.0 0.0.0.255 area 0
network 10.10.5.0 0.0.0.255 area 0
!
RT6:
router ospf 1
router-id 10.10.0.6
log-adjacency-changes
passive-interface default
no passive-interface Serial0/0
no passive-interface FastEthernet1/0
network 10.10.0.6 0.0.0.0 area 0
network 10.10.1.0 0.0.0.255 area 0
network 10.10.6.0 0.0.0.255 area 0
!
BGP部分配置:
RT1:
router bgp 10
no synchronization
bgp log-neighbor-changes
network 10.10.0.0 mask 255.255.0.0
neighbor 10.10.0.2 remote-as 10
neighbor 10.10.0.2 update-source Loopback0
neighbor 10.10.13.2 remote-as 30
no auto-summary
!
RT2:
router bgp 10
no synchronization
bgp log-neighbor-changes
network 10.10.0.0 mask 255.255.0.0
neighbor 10.10.0.1 remote-as 10
neighbor 10.10.0.1 update-source Loopback0
neighbor 10.20.24.2 remote-as 40
no auto-summary
!
RT3:
router bgp 30
no synchronization
bgp log-neighbor-changes
network 10.30.0.0 mask 255.255.0.0
neighbor 10.10.13.1 remote-as 10
neighbor 10.30.34.2 remote-as 40
no auto-summary
!
RT4:
router bgp 40
no synchronization
bgp log-neighbor-changes
network 10.40.0.0 mask 255.255.0.0
neighbor 10.20.24.1 remote-as 10
neighbor 10.30.34.1 r
显示全部