Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
BGP Commands
page 44-168
OmniSwitch CLI Reference Guide
September 2009
show ip bgp neighbors
Displays the configured IPv4 BGP peers.
show ip bgp neighbors [ip_address]
Syntax Definitions
ip_address
A 32-bit IP address. 
Defaults
N/A
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
Usage Guidelines
There are two output options for this command. If you specify show ip bgp peer without a peer IP address, 
then you see summary information for all peers known to the local BGP speaker. If you enter a specific 
peer IP address with the command, then you see detailed parameter information for that peer only.
Examples
-> show ip bgp neighbors 
Legends:Nbr = Neighbor
As = Autonomous System
Nbr address     As    Admin state Oper state   BgpId           Up/Down
---------------+-----+-----------+------------+---------------+-----------
192.40.4.29     3     enabled     estab        192.40.4.29     00h:14m:48s
192.40.4.121    5     disabled    idle         0.0.0.0         00h:00m:00s 
output definitions
Nbr address
The IP address for this BGP peer. Assign this address through the 
As
The autonomous system to which this peer belongs. A peer’s AS num-
ber is assigned through th
 command.
Admin state
Indicates whether this peer has been enabled or disabled through the 
 command.
Oper state
The current BGP state for this peer. Possible states are idleconnect
activeopensentopenconfirm, and established.
BgpId
The unique BGP identifier of the peer. This value is configured 
through th
command.
Up/Down
The time since this peer has transitioned to its current UP or DOWN 
state. If the peer is currently Established, then this is the time that the 
peer has been UP. If the peer is currently Idle, then this is the time the 
peer has been DOWN.