Displaying the bgp4 route table – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 782

Advertising
background image

748

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

Displaying BGP4 information

Displaying the BGP4 route table

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

“How BGP4 selects a path for a

route”

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

preferred route to the router IP table. However, if you want to view all the routes BGP4 knows about,
you can display the BGP4 table using either of the following methods.

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.

The best parameter displays the routes received from the neighbor that the Layer 3 Switch selected
as the best routes to their destinations.

The cidr-only option lists only the routes whose network masks do not match their class network
length.

IBGP routes selected as best routes

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

EBGP routes selected as best routes

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

TABLE 109

BGP4 summary route information (Continued)

This field...

Displays...

TurboIron#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.3.0.0/8 10.192.168.4

100 0 BE

AS_PATH: 65001 4355 701 80

2 10.4.0.0/8 10.192.168.4

100 0 BE

AS_PATH: 65001 4355 1

3 10.4.60.212/22 10.192.168.4

100 0 BE

AS_PATH: 65001 4355 701 1 189

4 10.6.0.0/8 10.192.168.4

100

0 BE

AS_PATH: 65001 4355 3356 7170 1455

5 10.8.8.1/24 10.192.168.4

100

0 BE

AS_PATH: 65001

Advertising