show bgp
Use this command to display the status of BGP routes.
Command Syntax
show bgp ipv4
show bgp (ipv6)
show bgp (ipv4|ipv6) (unicast|multicast)
show ip bgp
show ip bgp ipv4 (unicast|multicast)
show bgp (vrf (VRFNAME|all|default))
show ip bgp (vrf (VRFNAME|all|default))
Parameters
ipv4
IPv4 routes
ipv6
IPv6 routes
unicast 
Unicast prefixes
multicast 
Multicast prefixes
VRFNAME
VPN routing/forwarding instance name
all
All VRFs
default
Default VRF
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show ip bgp
BGP table version is 1, local router ID is 12.0.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network         Next Hop      Metric    LocPrf   Weight   Path
*> 1.1.1.1/32   0.0.0.0          0         100      32768      i
 
Total number of prefixes 1
Last modified date: 08/28/2023