show ip bgp



show ip bgp

To display entries in the Border Gateway Protocol (BGP) routing table, use the show ip bgp command in EXEC command.

show ip bgp [network] [network-mask] [longer-prefixes] [prefix-list prefix-list-name | route-map
route-map-name] [shorter prefixes mask-length]

Syntax

  1. network (Optional) Network number, entered to display a particular network in the BGP routing table.
  2. network-mask (Optional) Displays all BGP routes matching the address and mask pair.
  3. longer-prefixes (Optional) Displays the route and more specific routes.
  4. prefix-list | route-map (Optional) Displays selected routes from a BGP routing table based on the contents of a prefix list or route map.
  5. prefix-list-name | route-map-name (Optional) The name of the route map or prefix list that is specified for the above argument.
  6. shorter prefixes mask-length (Optional) Displays learned prefixes that are longer than the maximum length but shorter than the specified mask for the prefix.
Command Modes : EXEC

Examples: (Please Click for Clear View)










Related Commands
  • clear ip bgp Resets a BGP connection or session.
  • neighbor soft-reconfiguration Configures the Cisco IOS software to start storing updates.