Allied Telesis VERSION 5.4.3-2.6, BGP4 manual Show ip bgp regexp BGP

Models: BGP4 VERSION 5.4.3-2.6

1 350
Download 350 pages 8.81 Kb
Page 339
Image 339

BGP and BGP4+ Commands

show ip bgp regexp (BGP)

Use this command to display routes matching the AS path regular expression within an IPv4 environment. Use the show bgp ipv6 regexp (BGP4+) command to display routes matching the AS path regular expression within an IPv6 environment.

Use the regular expressions listed below with the <expression> parameter

Use the regular expressions listed below with the <expression> parameter:

Symbol

Character

Meaning

^

Caret

Used to match the beginning of the input string. When used at

 

 

the beginning of a string of characters, it negates a pattern

 

 

match.

 

 

 

$

Dollar sign

Used to match the end of the input string.

 

 

 

.

Period

Used to match a single character (white spaces included).

 

 

 

*

Asterisk

Used to match none or more sequences of a pattern.

 

 

 

+

Plus sign

Used to match one or more sequences of a pattern.

 

 

 

?

Question

Used to match none or one occurrence of a pattern.

 

mark

 

 

 

 

_

Underscor

Used to match spaces, commas, braces, parenthesis, or the

 

e

beginning and end of an input string.

 

 

 

[ ]

Brackets

Specifies a range of single-characters.

 

 

 

-

Hyphen

Separates the end points of a range.

 

 

 

For information on output options, see “Controlling “show” Command Output” on page 3.6.

Syntax show ip bgp regexp <expression>

Syntax [VRF] show ip bgp [globalvrf <vrf-name>] regexp <expression>

Parameter

Description

global

When VRF-Lite is configured, apply the command to the global

 

routing and forwarding table.

 

 

vrf

Apply the command to the specified VRF instance.

 

 

<vrf-name>

The name of the VRF instance.

<expression> Specifies a regular-expression to match the BGP AS paths.

Mode User Exec and Privileged Exec

Examples

awplus# show ip bgp regexp myexpression

awplus# show ip bgp vrf red regexp 65550 65555

Related Commands show bgp ipv6 regexp (BGP4+)

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

C613-50032-01 REV D

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

3.241

Page 339
Image 339
Allied Telesis VERSION 5.4.3-2.6 manual Show ip bgp regexp BGP, Related Commands show bgp ipv6 regexp BGP4+