101 show ip bgp quote-regexp, 102 show ip bgp regexp, Show ip bgp quote – PLANET XGS3-24040 User Manual

Page 564: Regexp, Show ip bgp regexp

Advertising
background image


35-277

Network Next Hop Metric LocPrf Weight Path

* 100.1.1.0/24 10.1.1.66 0 200 300 ?

*> 10.1.1.100 0 32768 ?

Total number of prefixes 1

35.101 show ip bgp quote-regexp

Command: show ip bgp [<ADDRESS-FAMILY>] quote-regexp [<WORD>]

Function: For displaying the BGP route meets the specific AS related regular expression.

Parameter: <ADDRESS-FAMILY>: >: address-family such as “ipv4 unicast”

<WORD>: Regular expression

Default: None

Command Mode: Admin and configuration mode

Usage Guide: Selecting the required route through regular expressions.

Example:

Switch#sh ip bgp quote-regexp ^300$

BGP table version is 2, local router ID is 11.1.1.100

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

S Stale

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path

*> 100.1.1.0/24 10.1.1.68 0 0 300 ?

Total number of prefixes 1

Switch#sh ip bgp quote-regexp 100

BGP table version is 2, local router ID is 11.1.1.100

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

S Stale

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path

* 100.1.1.0/24 10.1.1.64 0 0 500 100 600 ?

Total number of prefixes 1

35.102 show ip bgp regexp

Command: show ip bgp [<ADDRESS-FAMILY>] regexp [<LINE>]

Function: For displaying the BGP routes meets specific AS related normal expressions.

Parameter: <ADDRESS-FAMILY>: >: address-family such as “ipv4 unicast”

<LINE>: Regular expression

Default: None

Advertising