SROS Command Line Interface Reference Guide

Enable Mode Command Set

 

 

show ip bgp <network ip> [</length> <network-mask>]

Use the show ip bgp <network ip> command to display details about the specified route, including the advertising router IP address, router ID, and the list of neighbors to which this route is being advertised.

Syntax Description

<network ip>

Shows only routes for the specified network.

</length>

Optional. Shows only routes for the specified network matching the prefix length

 

(e.g., /24).

<network-mask>

Optional. Shows only routes for the specified network matching the network mask

 

(e.g. 255.255.255.0).

Default Values

No default value necessary for this command.

Command Modes

#

Enable Command Mode

Usage Examples

The following example shows detailed output of this command:

#show ip bgp 10.15.240.0/28

BGP routing table entry for 10.15.240.0/28 Paths: (1 available, best #1)

Advertised to peers: 1.1.5.10

1001

10.15.43.17from 10.15.43.17 (8.1.1.1) Origin IGP, metric 2, valid, external, best

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

143

Page 143
Image 143
HP 7000 dl Router manual Show ip bgp network ip /length network-mask, #show ip bgp 10.15.240.0/28