Allied Telesis VERSION 5.4.3-2.6 Switch User Manual


 
BGP and BGP4+ Commands
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
C613-50032-01 REV D AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 3.223
show ip bgp community (BGP)
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+)
command within an IPv6 environment.
For information on output options, see “Controlling “show” Command Output” on
page 3.6.
You may use any combination and repetition of parameters listed in the <type>
placeholder.
Syntax show ip bgp community [<type>] [exact-match]
Syntax [VRF] show ip bgp [global|vrf <vrf-name>] community [<type>] [exact-match]
Mode User Exec and Privileged Exec
Examples Note that the AS numbers shown are examples only.
Parameter Description
global
When VRF-Lite is configured, apply the command to the global routing
and forwarding table.
vrf
Apply the command to the specified VRF instance.
<vrf-name> The name of the VRF instance.
<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.
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
no-advertise 64510:64511
awplus#
show ip bgp community no-advertise no-advertise
no-advertise exact-match
awplus#
show ip bgp community no-export 64510:64511
no-advertise local-AS no-export