PREV NEXT INDEX

Avici Systems Inc.


show ip bgp community


Displays all learned networks associated with the specified community or all routes that include the community attribute.

Syntax: show ip bgp community community

community

Identifies the community displayed. Valid values are integers from 1 to 4294967295.

Description: Use the show ip bgp community command to display all routes that include the community attribute.

Use the community argument to display all the routes for the specified community.

Use the show ip community-list to display the names of all defined community lists.

Factory Default: None.

Command Mode: Executive and privileged.

Example: The following sample output from the show ip bgp community command displays information for a community named 123:

router#show ip bgp community 123

Status codes: * - valid Origin codes: i - IGP

d - damped e - EGP

h - history ? - incomplete

s - suppressed > - best

a - aggregate

i - internal

Network Next Hop Metric LocPrf Weight Path

*> 100.100.104.0/24 80.80.80.2 0 100 0 90 ? comm 0:999

*> 192.168.37.0/24 80.80.80.2 0 100 0 90 ? comm 0:37

*> 192.168.38.0/24 80.80.80.2 0 100 0 90 ? comm 0:38

*> 192.168.39.0/24 80.80.80.2 0 100 0 90 ? comm 0:39

*> 192.168.40.0/24 80.80.80.2 0 100 0 90 ? comm 0:40

.

.

.



The following table describes the fields in the display:

Table 5-9. Fields Displayed by show ip bgp community 
Field Description

Status codes

Status of the entry in the table. Valid values are:

  • * - Entry is valid.

  • d - Route is currently damped.

  • h - Route has earned some penalty points, but not enough points to exceed threshold. See bgp dampening.

  • > - Entry identifies the best route for that network.

i - Entry was learned from an IGP (IS-IS or OSPF) in the local autonomous system.

Network

IP address of a network.

Next Hop

IP address of the next system used when forwarding packets to the destination network. 0.0.0.0 in this field indicates the router has non-BGP routes to the network.

Metric

Inter-autonomous system metric.

LocPrf

Local preference value. See the set local-preference route map configuration command. Default value is 100.

Weight

Weight of the route as defined by set weight and network weight route map configuration commands.

Path

Autonomous system path to the destination network. One entry in this field per autonomous system in the path.

Origin codes

Identifies the origin of the entry. Valid values are:

  • i - Entry originated in IGP. Entry was advertised by the network route configuration command.

  • e - Entry originated in EGP.

  • ? - Entry origin is not clear. Reachability information learned from some other source (usually indicates router is redistributed from IGP into BGP).

Related Commands: show ip bgp community-list
show ip bgp community


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: Routing_Pol.fm
    HTML File Name: Routing_Pol45.html
    Last Updated: 05/10/04 at 16:38:37

Please email suggestions and comments to: doc@avici.com