show ip bgp routes large-community reg-expression

Displays information for all BGP routes with large-community attributes matching the specified regular expression (REGEX).

Syntax

show ip bgp routes [ detail ] large-community reg-expression regex_value

Modes

Privileged EXEC mode

Parameters

detail
Optionally displays detailed information for all BGP routes with large-community attributes matching the specified REGEX. If you omit this keyword, brief information is displayed.
regex_value
REGEX value.

Examples

The following example displays the BGP routes that match the specified REGEX value.

device# show ip bgp routes large-community reg-expression (1|8):(.*):(.*)
Searching for matching routes, use ^C to quit...
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
       E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
       S:SUPPRESSED F:FILTERED s:STALE x:BEST-EXTERNAL
       Prefix             Next Hop        MED        LocPrf     Weight Status
1      150.150.150.0/24   192.168.1.20    0          100        0      BEx
         AS_PATH: 1639
2      150.150.150.0/24   192.168.2.20    0          100        0      E
         AS_PATH: 1639
3      150.150.151.0/24   192.168.1.20    0          100        0      BEx
         AS_PATH: 1639
4      150.150.151.0/24   192.168.2.20    0          100        0      E
         AS_PATH: 1639
5      150.150.152.0/24   192.168.1.20    0          100        0      E
         AS_PATH: 1639
6      150.150.152.0/24   192.168.2.20    0          100        0      E
         AS_PATH: 1639