show bgp extcommunity-list

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

show bgp {{ip | ipv4} {unicast | multicast}} extcommunity-list commlist-name [exact-match] [vrf vrf-name]

Syntax Description

ip

Displays BGP information for the IPv4 address family.

ipv4

Displays BGP information for the IPv4 address family.

unicast

Displays BGP information for the unicast address family.

multicast

Displays BGP information for the multicast address family.

commlist-name

Name of an extended community-list. The commlist-name can be any case-sensitive, alphanumeric string up to 63 characters.

exact-match

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

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 the routes that match a community list:

switch(config)# show bgp ipv4 unicast extcommunity-list test1

Related Commands

Command
Description

ip extcommunity-list

Creates an extended community list.