Displaying the bgp4 route table, Displaying, The bgp4 route table – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 309

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

295

53-1003246-01

Displaying BGP4 information

8

Displaying the BGP4 route table

BGP4 uses filters that you define as well as the algorithm described in

“How BGP4 selects a path

for a route”

on page 200 to determine the preferred route to a destination. BGP4 sends only the

preferred route to the IP table. To view all the learned BGP4 routes, you can display the BGP4 table.

To view the BGP4 route table, enter the following command.

Syntax: show ip bgp routes [[network] ip-addr] | num | [age secs] | [as-path-access-list num] |

[best] | [cidr-only] | [community num | no-export | no-advertise | internet | local-as] |
[community-access-list num] | [community-list num | [detail option] | [filter-list num,
num,..
.] |[next-hop ip-addr] | [no-best] | [not-installed-best] | [prefix-list string] |
[regular-expression regular-expression] | [route-map map-name] | [summary] |
[unreachable]

The ip-addr option displays routes for a specific network. The network keyword is optional. You can
enter the network address without entering network in front of it.

The num option specifies the table entry with which you want the display to start. For example, if
you want to list entries beginning with table entry 100, specify 100.

The age secs parameter displays only the routes that have been received or updated more recently
than the number of seconds you specify.

The as-path-access-list num parameter filters the display using the specified AS-path ACL.

BEST routes not installed in IP
forwarding table

Number of BGP4 routes that are the best BGP4 routes to their
destinations but were not installed in the IP route table because the
device received better routes from other sources (such as OSPF or static
IP routes).

Unreachable routes (no IGP route for
NEXTHOP)

Number of routes in the BGP4 route table whose destinations are
unreachable because the next-hop is unreachable.

IBGP routes selected as best routes

Number of “best” routes in the BGP4 route table that are IBGP routes.

EBGP routes selected as best routes

Number of “best” routes in the BGP4 route table that are EBGP routes.

TABLE 43

BGP4 summary route information (Continued)

This field...

Displays...

Virtual ADX(config-bgp)# show ip bgp routes

Total number of BGP Routes: 97371

Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED

E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED

Prefix Next Hop Metric LocPrf Weight Status

1

10.0.0.0/8 192.168.4.106 100 0 BE

AS_PATH: 65001 4355 701 80

2

10.0.0.0/8 192.168.4.106 100 0 BE

AS_PATH: 65001 4355 1

3

10.60.212.0/22 192.168.4.106 100 0 BE

AS_PATH: 65001 4355 701 1 189

4

10.0.0.0/8 192.168.4.106 100 0 BE

AS_PATH: 65001 4355 3356 7170 1455

5

10.8.1.0/24 192.168.4.106 0 100 0 BE

AS_PATH: 65001

Advertising