OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Show Commands : show bgp prefix-list
show bgp prefix-list
Use this command to display routes matching the prefix-list.
Command Syntax
show bgp prefix-list WORD
show bgp (ipv4|ipv6) (unicast|multicast|) prefix-list WORD (vrf (VRFNAME|all|default|))
show ip bgp prefix-list WORD
show ip bgp prefix-list WORD (exact-match)
show ip bgp prefix-list WORD (exact-match) (vrf (VRFNAME|all|default))
show ip bgp ipv4 (unicast|multicast) prefix-list WORD
show ip bgp ipv4 (unicast|multicast) prefix-list WORD (exact-match)
Parameters
WORD
Name of the IP prefix list
ipv4
IPv4 routes
ipv6
IPv6 routes
unicast
Unicast prefixes
multicast
Multicast prefixes
exact-match
Exact match of the prefix list
vrf
VPN Routing/Forwarding instance
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.
Example
#show ip bgp prefix-list Route1
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