show ip bgp extcommunity

To display Border Gateway Protocol (BGP) routes that match an extended community, use the show ip bgp extcommunity command.

show ip bgp extcommunity generic {non-transitive | transitive} [as4-number] [exact-match] [vrf vrf-name]

Syntax Description

generic

Displays the routes that match the generic specifice extended communities.

non-transitive

Displays the routes that match the non-transitive extended communities.

transitive

Displays the routes that match the transitive extended communities.

as4-number

(Optional) AS number. The as4-number is a 32-bit integer in the form of a plaintext integer or <higher 16-bit decimal number>.<lower 16-bit decimal number> .

exact-match

(Optional) Displays an exact match of the extended community.

vrf vrf-name

(Optional) Specifies the virtual router context (VRF) name. The name can be any case-sensitive, alphanumeric string up to 32 characters.


Command Default

None

Command Modes

Any command mode

Command History

Release
Modification

5.0(3)N1(1)

This command was introduced.


Usage Guidelines

This command requires the LAN Enterprise Services license.

Examples

This example shows how to display routes that match an extended community:

switch(config)# show ip bgp extcommunity generic transitive 1.3:30

Related Commands

Command
Description

ip extcommunity-list

Creates an extended community list.