One-stop Intelligent It Solutions

dw@donewin.com.hk    |    

WhenIissuethe"showiproutebgp"command,IseemyroutesbeinglearnedviaOSPFandBGP.HowcanIverifyontheNX-OSwhichonewillalwaysbeusedandwhichoneisabackup?

Cisco Switches FAQSFAQS

When I issue the “show ip route bgp” command, I see my routes being learned via OSPF and BGP. How can I verify on the NX-OS which one will always be used and which one is a backup?

Here is what is received:

Nexus_7010#show ip route bgp
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]

172.20.62.0/23, ubest/mbest: 1/0
    *via 10.194.160.2, [20/0], 18:53:35, bgp-[AS-Number], internal, tag [Number]
     via 10.194.16.5, Vlan116, [110/1043], 18:43:51, ospf-1, intra
172.20.122.0/23, ubest/mbest: 1/0
    *via 10.194.160.2, [20/0], 18:53:35, bgp-[AS-Number], internal, tag [Number]
     via 10.194.16.5, Vlan116, [110/1041], 18:43:51, ospf-1, intra

By default, BGP selects only a single best path and does not perform load balancing. As a result, the route marked with the * will always be used, unless it goes down, at which point any remaining routes will become the preferred path.

Prev:

Next:

Leave a Reply

Live Chat
Leave a message

    + 32 = 42