Comware Based
1752603 Members
4951 Online
108788 Solutions
New Discussion

bgp: prefer ibgp over imported direct route

 
SP_PH
Occasional Contributor

bgp: prefer ibgp over imported direct route

Hello,

i want to prefer an ibgp router over an imported direct route.

But even when i higher the pref values it does not work:

dis bgp routing-table 10.11.12.0 24

 BGP local router ID : 192.168.0.2
 Local AS number : 34432
 Paths:   2 available, 1 best

 BGP routing table entry information of 10.11.12.0/24:
 Imported route.
 From            : 0.0.0.0 (0.0.0.0)
 Original nexthop: 10.11.12.3
 AS-path         : (null)
 Origin          : igp
 Attribute value : MED 10, pref-val 0, pre 0
 State           : valid, local, best,
 Advertised to such 1 peer(s):
    192.168.0.1

 BGP routing table entry information of 10.11.12.0/24:
 From            : 192.168.223.46 (91.14.231.93)
 Relay Nexthop   : 0.0.0.0
 Original nexthop: 192.168.223.46
 Community       : <34432:999>
 AS-path         :
 Origin          : igp
 Attribute value : MED 0, localpref 250, pref-val 250, pre 250
 State           : valid, internal,
 Not advertised to any peer yet

Stefan