拓扑及规划:
CE1 地址为10.0.12.1/24,10.0.13.1/24,1.1.1.1 , 宣告进ospf,bgp as-number 10,与ce2 ce3 建立bgp v4 邻居
CE2 CE3 类似
step 1:
接口配置地址,ospf ,bgp 配置完毕
[ce1]disp ospf pe b OSPF Process 1 with Router ID 10.0.12.1 Peer Statistic Information Total number of peer(s): 2 Peer(s) in full state: 2 ----------------------------------------------------------------------------- Area Id Interface Neighbor id State 0.0.0.0 GE1/0/0 10.0.12.2 Full 0.0.0.0 GE1/0/1 10.0.13.1 Full ----------------------------------------------------------------------------- [ce1]disp bgp pe BGP local router ID : 10.0.12.1 Local AS number : 10 Total number of peers : 2 Peers in established state : 2 Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv 2.2.2.2 4 10 3 3 0 00:00:30 Established 0 3.3.3.3 4 10 3 4 0 00:00:17 Established 0
step 2:
原文:https://www.cnblogs.com/abel2020/p/14021610.html