show ip bgp routes large-community

Displays information for all BGP routes with large-community attributes matching the specified value.

Syntax

show ip bgp routes [ detail ] large-community ADMIN:OPER1:OPER2 [ vrf vrf-name ]

Modes

Privileged EXEC mode

Parameters

detail
Optionally displays detailed information for all BGP routes with large-community attributes matching the specified value. If you omit this keyword, brief information is displayed.
ADMIN
A four-octet namespace identifier for a BGP Large-Communities Global Administrator.
OPER1
A four-octet operator-defined value for BGP Large-Communities Local Data Part 1.
OPER2
A four-octet operator-defined value for BGP Large-Communities Local Data Part 2.
vrf vrf-name
Specifies a VRF instance.

Examples

The following example provides a summary of information about the large community.

device# show ip bgp routes large-community 1:2:3
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.151.0/24   192.168.1.20    0          100        0      BEx
         AS_PATH: 1639
3      150.150.152.0/24   192.168.1.20    0          100        0      E
         AS_PATH: 1639

The following example provides detailed information about the large community.

device# show ip bgp routes detail large-community 1:2:3
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
1       Prefix: 150.150.150.0/24, Rx path-id:0x00000000, Tx path-id:0x00040001, rank:0x00000001, Status: BEx,  Age: 5d3h17m25s
         NEXT_HOP: 192.168.1.20, Metric: 0, Learned from Peer: 192.168.1.20 (1639)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: igp,  Weight: 0,  GROUP_BEST: 1
         AS_PATH: 1639
            LARGE-COMMUNITIES: 1:1:1 2:2:2 3:3:3 4:4:4 5:5:5 6:6:6
            Adj_RIB_out count: 6,  Admin distance 20
2       Prefix: 150.150.151.0/24, Rx path-id:0x00000000, Tx path-id:0x00040001, rank:0x00000001, Status: BEx,  Age: 5d3h17m25s
         NEXT_HOP: 192.168.1.20, Metric: 0, Learned from Peer: 192.168.1.20 (1639)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: igp,  Weight: 0,  GROUP_BEST: 1
         AS_PATH: 1639
            LARGE-COMMUNITIES: 1:1:1 2:2:2 3:3:3 4:4:4 5:5:5 6:6:6
            Adj_RIB_out count: 6,  Admin distance 20
3       Prefix: 150.150.152.0/24, Rx path-id:0x00000000, Tx path-id:0x00040001, rank:0x00000002, Status: E,  Age: 5d3h17m25s
         NEXT_HOP: 192.168.1.20, Metric: 0, Learned from Peer: 192.168.1.20 (1639)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: igp,  Weight: 0,  GROUP_BEST: 1
         AS_PATH: 1639
            LARGE-COMMUNITIES: 1:1:1 2:2:2 3:3:3 4:4:4 5:5:5 6:6:6