[Xorp-users] Local-preference

Kristian Larsson kristian@juniks.net
Mon, 19 Dec 2005 09:27:28 +0100


This should be real simple.. how do I see the
local-preference of a route?

I've tried looking at
show bgp routes ipv6 unicast
show bgp routes ipv6 unicast detail (which looks
exactly the same as non-detailed)

show route table ipv6 unicast final
show route table ipv6 unicast ebgp 

and nowhere is localpref to find. There is a
metric attribute but is it the one I'm looking
for?

And am I correct when I beleive that
policy policy-statement test {
  term one {
    then {
      localpref: 120; 
      }
    }
  }
}
Will set the local preference to 120?

And is this only applicable at the
protocols bgp
level? Is it not possible to set per neighbor?

Regards,
Kristian