I have a confusion to configure BGP in my network. I have 2 nexus switches and they will be connected with MPLS router. There will be vPC between 2 nexus switches and eBGP will be configured between nexus switches and MPLS routers. No other dynamic or static routing protocol would be configured. HSRP would be configured in nexus switches.
My confusion is that I am configuring vPC between 2 nexus switches, is it necessary to configure iBGP between 2 nexus switches or not? When I configure the vPC, then 2 switches will be a single switch logically. If iBGP is needed, please mention the reason.
Please find the attachment of the network.
Your vPC is on the south side. You should configure iBGP between Nexus switches. Why? Because: If you shutdown eBGP from one of the switches that is master HSRP, you will lose external connectivity.
Is there any way except iBGP? If iBGP is mandatory then is any additional separate link required or vPC peer links are enough? Any dynamic routing protocol like ospf should be configured?
If I perform object tracking like below:
witch# configure terminal
switch(config)# track 1 interface ethernet 2/2 line-protocol
switch(config)# interface ethernet 1/2
switch(config-if)# hsrp 2
switch(config-if-hsrp)# track 1 decrement 20
switch(config-if-hsrp)# copy running-config startup-config
Is iBGP is needed if I use object tracking????
BGP routes could be withdrawn while the line is still up.
Can you track on routes being learned?