From: Jonathan Hays (nomad@gfoyle.org)
Date: Thu Jan 29 2004 - 10:15:15 GMT-3
you wrote:
>-----Original Message-----
>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
>Behalf Of xiaoyana@msn.com
>Sent: Thursday, January 29, 2004 3:12 AM
>To: ccielab@groupstudy.com
>Subject: about bgp show command
>
>
>router bgp 2
> no synchronization
> bgp default local-preference 75
> bgp log-neighbor-changes
> network 172.16.2.0 mask 255.255.255.0
> neighbor 10.1.1.2 remote-as 2
> neighbor 172.17.1.2 remote-as 1
>
>
>I set the default local-preference 75,but when i type show ip
>bgp is show:
>
>Status codes: s suppressed, d damped, h history, * valid, >
>best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
>*> 172.16.2.0/24 0.0.0.0 0 32768 i
>
>why the locprf is empty??? why not it is 75?
= = =
It doesn't display in the output of "sh ip bgp" for local routes. Try
"sh ip bgp 172.16.2.0" and you will see the local preference value.
Aslo, did you enter the command "clear ip bgp *" after making the change
( or "clear ip bgp * soft")?
See below:
R9_FRSw#sh ip bgp
BGP table version is 8, local router ID is 139.10.9.9
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* i139.10.6.0/24 139.10.69.6 0 100 0 i
*> 139.10.9.0/24 0.0.0.0 0 32768 i
R9_FRSw#clear ip bgp * soft
######
Note the change to '75'.
######
R9_FRSw#sh ip bgp
BGP table version is 8, local router ID is 139.10.9.9
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* i139.10.6.0/24 139.10.69.6 0 75 0 i
*> 139.10.9.0/24 0.0.0.0 0 32768 i
R9_FRSw#
R9_FRSw#sh ip bgp 139.10.9.0
BGP routing table entry for 139.10.9.0/24, version 8
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
139.10.69.6
Local
0.0.0.0 from 0.0.0.0 (139.10.9.9)
Origin IGP, metric 0, localpref 75, weight 32768, valid, sourced,
local, best
R9_FRSw#
HTH,
Jonathan
This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:52 GMT-3