BGP Commands
show ip bgp community
Use this command to display routes matching the communities.
You may use any combination and repetition of parameters listed in the <type> placeholder.
Syntax
show ip bgp community [<type>] [exact-match]
Parameter
<type>
AA:NN
local-AS
no-advertise
no-export
exact-match
Privileged Exec mode and Exec mode
Mode
Examples
awplus#
awplus#
awplus#
awplus#
awplus#
awplus#
awplus#
Please note that the AS numbers shown are for exemplification only.
set community
Related Commands
show ip bgp community-info
Use this command to list all BGP community information.
Syntax
show ip bgp community-info
Privileged Exec mode and Exec mode
Mode
Example
awplus#
38.106
Description
{ [AA:NN][local-AS][no-advertise][no-export]}
Specifies the Autonomous System (AS) community number, in AA:NN
format.
Do not send outside local Autonomous Systems (well-known community).
Do not advertise to any peer (well-known community).
Do not export to next AS (well-known community).
Specifies that the exact match of the communities is displayed. This
optional parameter cannot be repeated.
show ip bgp community 64497:64499 exact-match
show ip bgp community 64497:64499 64500:64501 exact-match
show ip bgp community 64497:64499 64500:64501 no-advertise
64510:64511
show ip bgp community no-advertise no-advertise no-advertise
exact-match
show ip bgp community no-export 64510:64511 no-advertise
local-AS no-export
show ip bgp community no-export 64510:64511 no-advertise
64497:64499 64500:64501 no-export
show ip bgp community no-export 64497:64499 no-advertise
local-AS no-export
show ip bgp community-info
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
C613-50007-01 REV B