OcNOS-RON : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Show Commands : show bgp A.B.C.D/M
show bgp A.B.C.D/M
Use this command to display BGP route information for a network prefix.
Command Syntax
show bgp ipv4 (unicast|multicast) A.B.C.D/M
show ip bgp A.B.C.D/M
show ip bgp ipv4 (unicast|multicast) A.B.C.D/M
show ip bgp A.B.C.D/M (vrf (VRFNAME|all|default))
show ip bgp A.B.C.D/M longer-prefixes
show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes
show ip bgp A.B.C.D/M longer-prefixes (vrf (VRFNAME|all|default))
Parameters
ipv4
IPv4 routes
unicast
Unicast prefixes
multicast
Multicast prefixes
A.B.C.D/M
IP prefix (network/length), for example, 35.0.0.0/8
longer-prefixes
 
Display route and more specific routes
VRFNAME
VPN routing/forwarding instance name
all
All VRFs
default
Default VRF
Command Mode
Privileged Exec and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show bgp ipv4 unicast 22.22.22.22/32
BGP routing table entry for 22.22.22.22/32
Paths: (2 available, best #1, table Default-IP-Routing)
Not advertised to any peer
Local
11.11.11.2 from 11.11.11.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal, best
Last update: Fri Feb 16 09:46:54 2001
 
Local
11.11.12.2 from 11.11.12.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
Last update: Fri Feb 16 09:46:52 2001
Last modified date: 08/28/2023