show bgp A.B.C.D
Use this command to display BGP route information for a network.
Command Syntax
show bgp (ipv4) (unicast|multicast) A.B.C.D
show ip bgp A.B.C.D
show ip bgp ipv4 (unicast|multicast) A.B.C.D
Parameters
ipv4
IPv4 routes
unicast
Unicast prefixes
multicast
Multicast prefixes
A.B.C.D
IP prefix (network), for example, 35.0.0.0
Command Mode
Privileged Exec and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
OcNOS#show ip bgp 80.80.80.0
BGP routing table entry for 80.80.80.0/24
Paths: (1 available, no best path)
Not advertised to any peer
300
15.15.15.1 (inaccessible) from 11.11.11.2 (15.15.15.2)
Origin incomplete, metric 0, localpref 100, valid, internal
rx path_id: 0 tx path_id: -1
Last update: Wed May 11 15:22:36 2016
Table 4-47 explains the output fields.
Table 4-47: show ip bgp output details
Field | Description |
---|
Paths | The paths listed in the routing table, along with path information, and whether the path are being advertised. |
Metric | If shown, the value of the inter-autonomous system metric. |
LocalPref | Local preference value as set with the set local-preference route-map configuration command. |
rx path_id | Autonomous system receive path to the source network. There can be one entry in this field for each autonomous system in the path. |
tx path_id | Autonomous system transmit path to the destination network. There can be one entry in this field for each autonomous system in the path. |
Last update | Last time since the neighbor transitioned to or from the established state. |
Last modified date: 08/28/2023