02-17-2019 08:57 PM
HI,
I need small clarification on bgp unshut.
I actually need to unshut a bgp peer ipv4 for a vrf Voice_data.
While doing it, i did not get into the address-family ipv4 vrf Voice_Data to unshut the bgp peer 135.45.70.225 initially due to which I got the below result added
BGP table version is 1, main routing table version 1
For address family: IPv4 Unicast
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
135.45.70.225 4 xxxxx 0 0 1 0 0 never Idle
For address family: VPNv4 Unicast
BGP activity 32667/29154 prefixes, 354322/343258 paths, scan interval 60 secs
3510 received paths for inbound soft reconfiguration
BGP activity 32667/29154 prefixes, 350290/343258 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
135.45.70.225 4 xxxxx 0 0 1 0 0 3d18h Idle (Admin)
And when I realized that the actual peer that i need to unshut is under the address-family ipv4 vrf Voice_Data then i have done unshut properly.
xxx(config)#router bgp 54771
xxx(config-router)#add
xxx(config-router)#address-family ipv4 vrf Voice_Data
xxx(config-router-af)#no neighbor 135.45.70.225 shutdown
xxx(config-router-af)#end
xxx#show ip bgp all summary
This is what i notice now.
BGP table version is 1, main routing table version 1
For address family: IPv4 Unicast
BGP router identifier x.x.x.x local AS number 54771
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
135.45.70.225 4 xxxx 0 0 1 0 0 never Idle
For address family: VPNv4 Unicast
BGP activity 32667/29154 prefixes, 354322/343258 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
135.45.70.225 4 xxxxx 155 273 145882 0 0 00:00:05 2016
As per above output i now see ipv4 unicast neighborship got added to the ipv4 vrf Voice_data bgp neighborship in the result.
How do i remove only the ipv4 unicast neighborship for 135.45.70.225 without leading to any impact to ipv4 vrf Voice_data . Ultimately I should just be able to see ipv4 vrf Voice_data bgp neighborship result in the show ip bgp all summary output.
Please advise . I am just worried about the configuration if i configure as below might remove complete neighborship configuration or not.
router bgp 54771
no neighbor 135.45.70.225 remote-as xxxxx
This is what i have currently in running config for bgp.
xxx#show run | sec bgp
router bgp 54771
bgp router-id 135.45.228.34
bgp log-neighbor-changes
neighbor 135.45.70.225 remote-as 21326
!
address-family ipv4 vrf Voice_Data
redistribute connected
neighbor 135.45.70.225 remote-as 21326
neighbor 135.45.70.225 activate
neighbor 135.45.70.225 soft-reconfiguration inbound
Regards,
James.
Solved! Go to Solution.
02-18-2019 09:12 AM
I figured it out on my own..
router bgp xxxx
no neighbor x.x.x.x remote as xx
This will just remove the ipv4 unicast peer bgp neighborship without interrupting the bgp peer neighbor x.x.x.x configuration that is under the address-family ipv4...
Regards,
James.
02-18-2019 09:12 AM
I figured it out on my own..
router bgp xxxx
no neighbor x.x.x.x remote as xx
This will just remove the ipv4 unicast peer bgp neighborship without interrupting the bgp peer neighbor x.x.x.x configuration that is under the address-family ipv4...
Regards,
James.
02-21-2019 02:25 AM
router bgp 54771
no neighbor 135.45.70.225 remote-as xxxxx
after configure above command . you will get only vpnv4 unicast neighbor . IF your ip address in under vrf so no need to configure it under ipv4 unicast family.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide