13.6.1 Verifying BGP4 Peer Groups
- <Structure of this section>
(1) List of operation commands
The following tables list the operation commands for BGP4 peer group.
Command name |
Description |
---|---|
show ip bgp |
Shows information related to the BGP4 protocol. |
(2) Verifying BGP4 Peer Groups
To check the peering information about the peers in a peer group, use the show ip bgp command with the peer-group parameter specified.
>show ip bgp peer-group INTERNAL-GROUP Date 20XX/07/17 18:40:00 UTC Local AS: 65531, Local Router ID: 172.16.2.100 BGP Peer AS Received Sent Up/Down Status 172.16.2.2 65531 36 42 20XX/07/16 18:42:26 Established 172.16.3.3 65531 51 63 20XX/07/16 12:42:31 Established |
(3) Checking the peers that belong to BGP4 peer group
To display information about the peers in a peer group, use the show ip bgp command with the neighbors parameter specified.
>show ip bgp neighbors EXTERNAL-GROUP Date 20XX/07/17 18:45:09 UTC Peer Address Peer AS Local Address Local AS Type Status 192.168.4.4 65533 192.168.4.214 65531 External Established 192.168.5.5 65534 192.168.5.189 65531 External Active |
(4) Checking BGP4 peer group to which a peer belongs
To check which peer group a peer belongs to, use the show ip bgp command with the neighbors parameter and a <Peer Address> or <Host name> argument specified.
>show ip bgp neighbors 172.16.2.2 Date 20XX/07/17 18:45:09 UTC BGP Peer: 172.16.2.2, Remote AS: 65531 Remote Router ID: 172.16.2.20, Peer Group: INTERNAL-GROUP ..1 BGP Status:Established HoldTime: 90 , Keepalive: 30 Established Transitions: 1 Established Date: 20XX/07/16 18:42:26 BGP Version: 4 Type: Internal Local Address: 172.16.2.214, Local AS: 65531 Local Router ID: 172.16.2.100 Next Connect Retry:-, Connect Retry Timer: - Last Keep Alive Sent: 18:42:20, Last Keep Alive Received: 18:42:20 BGP Message UpdateIn UpdateOut TotalIn TotalOut 12 14 36 42 BGP Capability Negotiation: <IPv4-Uni Refresh Refresh(v)>> Send : <IPv4-Uni Refresh Refresh(v)> Receive: <IPv4-Uni Refresh Refresh(v)>> Password : UnConfigured BFD Name: -, BFD ID: -, BFD State: - |
-
The peer belongs to the peer group INTERNAL-GROUP.