对等体组主要是为管理员提供方便,没有什么特别意义。 预配置 R1(config)#int lo0 R1(config-if)#ip add 1.1.1.1 255.255.255.0 R1(config-if)#int s2/1 R1(config-if)#ip add 12.0.0.1 255.255.255.0 R1(config-if)#no sh R1(config)#router os 11 R1(config-router)#net 0.0.0.0 0.0.0.0 a 0
R2(config)#int lo0 R2(config-if)#ip add 2.2.2.2 255.255.255.0 R2(config-if)#int s2/1 R2(config-if)#ip add 12.0.0.2 255.255.255.0 R2(config-if)#no sh R2(config-if)#int s2/2 R2(config-if)#ip add 23.0.0.2 255.255.255.0 R2(config-if)#no sh R2(config)#router os 11 R2(config-router)#net 0.0.0.0 0.0.0.0 a 0
R3(config)#int lo0 R3(config-if)#ip add 3.3.3.3 255.255.255.0 R3(config-if)#int s2/1 R3(config-if)#ip add 23.0.0.3 255.255.255.0 R3(config-if)#no sh R3(config-if)#int s2/2 R3(config-if)#ip add 34.0.0.3 255.255.255.0 R3(config)#router os 11 R3(config-router)#net 0.0.0.0 0.0.0.0 a 0
实验过程: 第三步:配置R3 Router b 123 Nei libo peer Nei libo remot 123 Nei libo up lo0 Nei 1.1.1.1 peer libo Nei 2.2.2.2 peer libo 第四步:调试过程 R1#sh ip b s BGP router identifier 1.1.1.1, local AS number 123 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 2.2.2.2 4 123 10 10 1 0 0 00:06:25 0 3.3.3.3 4 123 7 7 1 0 0 00:03:50 0
R2#sh ip b s BGP router identifier 2.2.2.2, local AS number 123 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 1.1.1.1 4 123 12 12 1 0 0 00:08:40 0 3.3.3.3 4 123 4 4 1 0 0 00:00:06 0
R3#sh ip b s BGP router identifier 3.3.3.3, local AS number 123 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 1.1.1.1 4 123 10 10 1 0 0 00:06:24 0 2.2.2.2 4 123 4 4 1 0 0 00:00:26 0