一、实验拓扑: 二、实验要求: 1、查看R1正常状态下BGP状态:show ip bgp neighbor; 2、R1进程下将邻居修改为remote-as 234,再次查看BGP状态是否如下: ①Idle:正在做3次握手重置;Active:Open包发送失败了; ②TCP经过16次尝试建邻居后,还会再尝试:此过程idle 和 active会切换;
三、命令部署: R1(config)#router bgp 1 R1(config-router)#neighbor 12.1.1.2 remote-as 234
四、验证: 1、查看R1正常状态下BGP状态:show ip bgp neighbor R1#show ip bgp neighbor BGP state = Established, up for 02:08:06
2、R1进程下将邻居修改为remote-as 234,再次查看BGP状态: R1#show ip bgp neighbor BGP state = Active
R1#show ip bgp summary Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 12.1.1.2 4 234 6 6 0 0 0 never Active