vrouter-bgp-neighbor-show
This command displays information about Border Gateway Protocol (BGP) neighbors.
Syntax vrouter-bgp-neighbor-show
vrouter-name name-string |
Name of the vRouter. |
The following BGP neighbor arguments: |
|
neighbor ip-address |
The IP address of the neighbor. |
l3-port l3-port-number |
The Layer 3 port used for BGP. |
ver ver-number |
The BGP version. |
remote-as remote-as-number |
The AS number of the remote connection. |
msg_rcvd msg_rcvd-number |
The number of messages received from the receive socket buffer. |
msg_sent msg_sent-number |
The number of messages written to the transmit socket buffer. |
tblver tblver-number |
The version of the routing table. |
inQ inQ-number |
The number of BGP packets queued for a neighbor. |
outQ outQnumber |
The number of BGP packets queued for transmission to a neighbor. |
up/down up/down-string |
Specifies if the neighbor is up or down. |
state/pfxrcd state/pfxrcd-string |
The current state of the BGP session. The state can be any of the following types: • 1 — Idle • 2 — Connect • 3 — Active • 4 — OpenSent • 5 — OpenConfirm • 6 — Established |
remote-router remote-router-string |
The neighbor router name. |
multi-protocol ipv4-unicast|ipv6-unicast|l2vpn-evpn |
The multi-protocol for BGP. |
description description-string |
The BGP neighbor description. |
vrf vrf |
Name of the VRF. |
Defaults None
Access CLI
History
Version 2.0 |
Command introduced. |
Version 2.4.1 |
The parameter remote-router added. |
Version 5.1.3 |
The parameter l3-port added. |
Version 6.0.0 |
The parameter description added. |
Version 6.1.0 |
The option, l2vpn-evpn added to the multi-protocol parameter. |
Usage Use this command to display information about BGP neighbors configured on a vRouter.
Examples To display all information about BGP neighbors, use the following command:
CLI (network-admin@switch) > vrouter-bgp-neighbor-show
vrouter-name: vrouter1
neighbor: 10.9.100.201
ver: 4
remote-as: 100
msg_rcvd: 11
msg_sent: 19
tblver: 0
inQ: 0
outQ: 0
up/down: 00:54:04
state/pfxrcd: Connect
remote-router: vrouter2
description: none
vrouter-name: vrouter2
neighbor: 10.9.100.101
ver: 4
remote-as: 100
msg_rcvd: 12
msg_sent: 18
tblver: 0
inQ: 0
outQ: 0
up/down: 00:53:37
state/pfxrcd: Connect
remote-router: vrouter1
description: none