Status code | Description | Comments |
s | suppressed | Whether the route is suppressed and will not be advertised to the neighbors. |
d | damped | When the penalty of a flapping route exceeds the suppress limit, the route is damped and remains in a withdrawn state until its penalty decreases below the reuse limit. |
h | history | When the penalty of a flapping route does not exceed the suppress limit, the route is not damped and BGP maintains a history of the flapping route. |
p | stale | When the BGP neighbor from which a route is learned is in graceful restart, the route is retained in the BGP routing table, but marked as stale. |
* | valid | Whether the route is valid. When a route is not suppressed, damped, or present in the history, it is valid. |
> | best | The route selected as the best path and installed in the kernel routing table. |
i | internal | Whether the route is learned from an iBGP peer. If this symbol is not present, the route was learned from an eBGP peer. |
Origin code | Description | Comments |
i | IGP | The route originated from an Interior Gateway Protocol. |
e | EGP | The route originated from an Exterior Gateway Protocol. |
? | incomplete | Origin not known. Typically, these are routes redistributed from an Interior Gateway Protocol. |
Field | Description |
---|---|
Network | Network prefix installed in BGP. If multiple routes exist for the same prefix, only the first prefix is identified and others have blank spaces. The status codes are explained in Table 4-66. |
Next Hop | IP address of the nexthop for this route. |
Metric | Multiple-Exit Discriminator (MED). If there are multiple paths to the same destination from a single routing protocol, then the multiple paths have the same administrative distance and the best path is selected based on this metric. The path with the lowest metric is selected as the optimal path and installed in the routing table. |
LocPrf | Local preference set with the set local-preference command. This value is used only with iBGP sessions within the local autonomous system to determine if a route towards a destination is the “best” one. The path with the highest local preference is preferred. |
Weight | This field applies only to routes within an individual router. If a route was learned from a peer, it has a default weight of 0. All routes generated by the local router have a weight of 32,768. |
Path and origin | The autonomous systems through which the prefix advertisement passed. The origin codes are explained in Table 4-67 |