Routing is done based on the longest match. With both routes installed (the bgp route will only be installed when the route is valid) then a packet to 10.10.10.25 will match the BGP-route with a longer match then the static route. So the BGP-route is used. A packet for 10.10.57.5 that won't match a learned route from a routing-protocol will match your static route and that one is used for the packet.
[toc:faq]The ProblemOn traditional switches whenever we have a trunk
interface we use the VLAN tag to demultiplex the VLANs. The switch needs
to determine which MAC Address table to look in for a forwarding
decision. To do this we require the switch to do...
[toc:faq]Introduction:Netdr is a tool available on a RSP720, Sup720 or
Sup32 that allows one to capture packets on the RP or SP inband. The
netdr command can be used to capture both Tx and Rx packets in the
software switching path. This is not a substitut...
IntroductionOSPF, being a link-state protocol, allows for every router
in the network to know of every link and OSPF speaker in the entire
network. From this picture each router independently runs the Shortest
Path First (SPF) algorithm to determine the b...