13 show ip bgp regexp, 14 show ip bgp route-map – Accton Technology ES4626 User Manual

Page 589

Advertising
background image

589

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

13.8.5.1.13 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

Command Mode: all modes

.

Usage Guide:

We can select BGP route of the required AS with normal expression

Example:

Switch#sh ip bgp 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

13.8.5.1.14 show ip bgp route-map

Command: show ip bgp [<ADDRESS-FAMILY>] route-map [<NAME>]

Function:

For displaying the BGP routes meets the specific related route map

Parameter: <ADDRESS-FAMILY>

: such as “ipv4 unicast”

<NAME>

: Name of route map

Default:

None

Command Mode:

All modes

Usage Guide:

Configure the route map with the route-map command, through which it

can be displayed that process routes with route map. The command will display the

routes meet specific route map

Example:

Switch#sh ip bgp route-map rmp

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

Advertising
This manual is related to the following products: