show bgp quote-regexp

Use this command to display route matching an AS path quoted regular expression.

Command Syntax

Copy
show bgp quote-regexp WORD
show bgp (ipv4|ipv6) (unicast|multicast|) quote-regexp WORD
show ip bgp quote-regexp WORD
show ip bgp ipv4 (unicast|multicast) quote-regexp WORD

Parameters

WORD

A regular expression to match the AS paths. Use quotes to enclose the regular expression.

ipv4

IPv4 route information

ipv6

IPv6 route information

unicast

Unicast prefixes

multicast

Multicast prefixes

Command Mode

Execution modePrivilege mode

Applicability

This command was introduced before OcNOS version 1.3.

Example

Copy
#show bgp quote-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