OcNOS-RON-6.3.1 : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Show Commands : show bgp regexp
show bgp regexp
Use this command to display routes matching the AS path regular expression.
Command Syntax
show bgp regexp LINE
show bgp (ipv4|ipv6) (unicast|multicast) regexp LINE
show bgp (ipv6) regexp LINE
show ip bgp regexp LINE
show ip bgp vrf (VRFNAME|all|default) regexp LINE
show ip bgp ipv4 (unicast|multicast) regexp LINE
Parameters
ipv4
IPv4 routes
ipv6
IPv6 routes
unicast
Unicast prefixes
multicast
Multicast prefixes
LINE
A regular expression to match the AS paths
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 bgp regexp ^$
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::/64 :: 0 100 32768 ?
 
Total number of prefixes 1
 
Last modified date: 07-13-2023