Show ip bgp – Enterasys Networks X-Pedition XSR CLI User Manual

Page 320

Advertising
background image

BGP Clear and Show Commands

6-124 Configuring the Border Gateway Protocol

show ip bgp

This command displays entries in the BGP routing table.

Syntax

show ip bgp [network][network-mask][longer-prefixes]

Mode

EXEC configuration: 

XSR>

Examples

The following is sample output from the command:

XSR#show ip bgp

Local router ID is 1.1.1.4
Status codes: s suppressed, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? = incomplete

Network Next Hop Metric LocPrf Weight Path
*> 192.4.4.0/24 192.168.72.100 0 300 100 300 ?
*> 192.1.1.0/24 192.168.72.100 0 300 100 300 ?
* 55.5.5.0/24 52.52.52.3 200 100 200 ?
*> 55.5.5.0/24 192.168.72.100 0 300 100 300 ?
*> 6.6.6.2/32 192.168.72.100 0 300 100 300 ?

Local Router ID: IP Address of the router
Status codes:

s – the bgp table entry is suppressed

* - the bgp table entry is valid

> - the bgp table entry is the best entry for the network

i – the bgp table entry is learned via IBGP

Origin Codes:

i – Entry originated from an IGP

e – Entry originated from an EGP

? – Entry originated from an unknown source (i.e redistribution)

network

Number of a network in the BGP routing table.

network-mask

All BGP routes matching the address and mask pair.

longer-prefixes

Routes and specific routers are displayed.

Advertising