show ip bgp regexp


show ip bgp [ ipv4 unicast | ipv4 multicast | vpnv4 all | vpnv4 vrf vrfName |
l2vpn all | l2vpn vpls vplsName | l2vpn vpws vpwsName | route-target signaling ]
regexp pathExpression [ fields fieldOptions ] [ filter ]

Release Information

Command introduced before JunosE Release 7.1.0.
l2vpn and all keywords added in JunosE Release 7.1.0.
vpls keyword and vplsName variable added in JunosE Release 7.1.0.
vpws keyword and vpwsName variable added in JunosE Release 8.1.0.
route-target signaling keywords added in JunosE Release 8.2.0.


Displays information about BGP routes whose AS path matches the specified regular expression. Regular expressions match numbers for which the specified path is a substring—for example, if you specify 20, 200 matches because 20 is a substring of 200. You can disallow substring matching by using the underscore (_) metacharacter to constrain matching to the specified pattern; for example, _20_. You can use output filtering on the display.



Privileged Exec, User Exec

Related Documentation