BGP Local-Preference Configuration |
Dynalconf HOME |
Cisco BGP Local-Preference Configuration using Dynamips/Dynagen
Control the exit from AS65000 to 5.5.5.5/32 by its own AS.
R1#sh bgp ipv4 unicast
Network Next Hop LocPrf
*>i 5.5.5.5/32 11.11.11.11 110 ===> Local Preference 110
* i 10.5.5.0/24 11.11.11.11 100
*>i 10.10.10.10 100 ===> lowest BGP neighbor router-id
R10#sh bgp ipv4 unicast
Network Next Hop LocPrf
* 5.5.5.5/32 10.2.10.2
*>i 11.11.11.11 110 ===> Local Preference 110
*> 10.5.5.0/24 10.2.10.2 ===> prefer eBGP route
* i 11.11.11.11 100
R11#sh bgp ipv4 unicast
Network Next Hop LocPrf
*> 5.5.5.5/32 10.3.11.3 110 ===> Local Preference 110
* i 10.5.5.0/24 10.10.10.10 100
*> 10.3.11.3 ===> prefer eBGP route
1. Dynagen .net file 2. R1 3. R2 4. R3 5. R4 6. R5 7. R10 8. R11
R1 : sh ip route
: sh bgp ipv4 unicast summary
: sh bgp ipv4 unicast
R10 : sh ip route
: sh bgp ipv4 unicast summary
: sh bgp ipv4 unicast
R11 : sh ip route
: sh bgp ipv4 unicast summary
: sh bgp ipv4 unicast
1. R1
2. R10
3. R11
| Dynalconf HOME |