Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »


The run show bgp neighbor command displays information about BGP peers.


Command Syntax

run show bgp neighbor [<ip> [advertised-routes | received-routes | routes]] 


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

<ip>Optional. Specifies the IP address of a peer. If not specified, it will display information of all the BGP peers.
[advertised-routes | received-routes | routes]

Optional. 

  • advertised-routes: Displays the routes advertised to a specified peer.
  • received-routes:  Displays the routes received from a specified peer.
  • route:  Displays all the routes received or advertised to a specified peer.


Example

•  View the information about BGP peer 192.168.20.2.

admin@Xorplus# run show bgp neighbor 192.168.20.2
  • No labels