Use this command to show the preference value associated with the type of route. Lower numbers have a greater preference. A route with a preference of 255 cannot be used to forward traffic.
| Format | show ipv6 route preferences |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| Local | Preference of directly-connected routes. |
| Static | Preference of static routes. |
| OSPF Intra | Preference of routes within the OSPF area. |
| OSPF Inter | Preference of routes to other OSPF routes that are outside of the area. |
| OSPF External | Preference of OSPF external routes. |
| BGP External | Preference of BGP external routes. |
| BGP Internal | Preference of routes to other BGP routes that are outside of the area. |
| BGP Local | Preference of routes within the BGP area. |
Example:
(lb6m) #show ipv6 route preferences Local.......................................... 0 Static......................................... 1 OSPF Intra..................................... 110 OSPF Inter..................................... 110 OSPF External.................................. 110 BGP External................................... 20 BGP Internal................................... 200 BGP Local...................................... 200