Showing posts with label BGP Command Reference. Show all posts
Showing posts with label BGP Command Reference. Show all posts

show ip bgp injected-paths



show ip bgp injected-paths To display all the injected paths in the BGP routing table, use the show ip bgp injected-paths command in EXEC mode.

show ip bgp injected-paths
Syntax Description: This command has no arguments or keywords. Command Modes EXEC Examples

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.

bgp inject-map exist-map



bgp inject-map exist-map

To inject a more specific route into a Border Gateway Protocol (BGP) routing table, use the bgp inject-map exist-map command in address family or router configuration mode. To disable the conditional injection of a selected route, use the no form of this command.

bgp inject-map {inject-map-name} exist-map {exist-map-name}[copy-attributes]
no bgp inject-map {inject-map-name} exist-map {exist-map-name}[copy-attributes]

Syntax: inject-map-name
Description: Defines the prefixes that will be created and installed to the local BGP table.

Syntax: exist-map-name
Description: Specifies the prefix that the BGP speaker will track.


Syntax: copy-attributes
Description: (Optional) Configures the injected route to inherit the attributes of the aggregate route.

Defaults: The BGP Conditional Route Injection feature is not enabled by default.

Command Modes: Address family configuration, Router configuration

Usage Guidelines:
If the copy-attributes keyword is not specified when the bgp inject-map command is used, thecomponents will use the default attributes for locally originated routes. If the copy-attribute keyword is used, the components will inherit the same attributes as the aggregate route.

To enable conditional route injection, the exist-map must contain both the match ip address prefix-list and match ip route-source prefix-list match clauses in the route map paragraph.

Examples:

The following example configures the router for conditional route injection:

(config-router)# bgp inject-map map1 exist-map map2 copy-attributes

Related Commands:
  • ip prefix-list -> Displays information about a prefix list or prefix list entries.
  • neighbor remote-as -> Adds an entry to the BGP or multiprotocol BGP neighbor table.
  • route-map (IP) -> Defines the conditions for redistributing routes from one routing protocol into another, or enables policy routing.
  • show ip bgp -> Displays entries in the BGP routing table.
  • show ip bgp injected-paths -> Displays injected paths in the BGP routing table.