show bgp filter-list
Use this command to display routes that match a regular expression filter list.
Command Syntax
show bgp filter-list WORD
show bgp (ipv4|ipv6) (unicast|multicast) filter-list WORD
show bgp (ipv6) filter-list WORD
show ip bgp filter-list WORD
show ip bgp ipv4 (unicast|multicast) filter-list WORD
show ip bgp filter-list WORD (exact-match)
show ip bgp filter-list WORD (exact-match) (vrf (VRFNAME|all|default))
show ip bgp filter-list WORD (vrf (VRFNAME|all|default))
show ip bgp ipv4 (unicast|multicast) filter-list WORD (exact-match)(vrf (VRFNAME|all|default))
Parameters
WORD
Regular-expression filter list
ipv4
IPv4 routes
ipv6
IPv6 routes
unicast
Unicast prefixes
multicast
Multicast prefixes
exact-match
Exact match of the filter list
VRFNAME
VPN routing/forwarding instance name
all
All VRFs
default
Default VRF
vrf
VPN Routing/Forwarding instance name
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show bgp filter-list bgp-local-only
BGP table version is 1, local router ID is 102.67.98.95
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
*> 2001:43f8:bb1::/6 :: 0 100 32768 ?
Total number of prefixes 1
Last modified date: 07-13-2023