vrouter-bgp-neighbor-show
This command displays information about Border Gateway Protocol (BGP) neighbors.
Syntax vrouter-bgp-neighbor-show
vrouter-name name-string |
Specifies the name of the vRouter. |
Specifies the following BGP neighbor arguments: |
|
neighbor ip-address |
Specifies the IP address of the neighbor. |
l3-port l3-port-number |
Specifies the Layer 3 port used for BGP. |
ver ver-number |
Specifies the BGP version. |
remote-as remote-as-number |
Specifies the AS number of the remote connection. |
msg_rcvd msg_rcvd-number |
Specifies the number of messages received from the receive socket buffer. |
msg_sent msg_sent-number |
Specifies the number of messages written to the transmit socket buffer. |
tblver tblver-number |
Specifies the version of the routing table. |
inQ inQ-number |
Specifies the number of BGP packets queued for a neighbor. |
outQ outQnumber |
Specifies 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 |
Specifies 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 |
Specifies the neighbor router name. |
multi-protocol ipv4-unicast|ipv6-unicast|l2vpn-evpn |
Specify a multi-protocol for BGP. |
description description-string |
Specify a BGP neighbor description. |
vrf vrf |
Specify the name of 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