C613-50631-01 Rev A Command Reference for IE340 Series 1561
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
SHOW
IP BGP COMMUNITY (BGP ONLY)
show ip bgp community (BGP only)
Overview Use this command to display routes that match specified communities from a BGP
instance within an IPv4 environment. Use the show bgp ipv6 community (BGP4+
only) command within an IPv6 environment.
For information on filtering and saving command output, see the “Getting Started
with AlliedWare Plus” Feature Overview and Configuration Guide.
You may use any combination and repetition of parameters listed in the <type>
placeholder.
Syntax
show ip bgp community [<type>] [exact-match]
Mode User Exec and Privileged Exec
Examples Note that the AS numbers shown are examples only.
awplus# show ip bgp community 64497:64499 exact-match
awplus# show ip bgp community 64497:64499 64500:64501
exact-match
awplus# show ip bgp community 64497:64499 64500:64501
64510:64511no-advertise
awplus# show ip bgp community no-advertise
no-advertiseno-advertise exact-match
awplus# show ip bgp community no-export 64510:64511
no-advertise local-AS no-export
awplus# show ip bgp community no-export 64510:64511
no-advertise 64497:64499 64500:64501 no-export
awplus# show ip bgp community no-export 64497:64499
no-advertise local-AS no-export
Parameter Description
<type> {[AA:NN][local-AS][no-advertise][no-export]}
AA:NN Specifies the Autonomous System (AS)
community number, in AA:NN format.
local-AS Do not send outside local Autonomous Systems
(well-known community).
no-advertise Do not advertise to any peer (well-known
community).
no-export Do not export to next AS (well-known
community).
exact-match Specifies that the exact match of the communities is displayed. This
optional parameter cannot be repeated.