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.
|
Example
• View the information about BGP peer 192.168.20.2.
admin@Xorplus# run show bgp neighbor 192.168.20.2