13.3.2 Checking the peer type and connection mode
The following figure shows the display corresponding to Figure 13-9: Example of connection configuration. To view peer connection information, use the show ip bgp operation command with the neighbors parameter specified. To view detailed information, specify the detail parameter.
> show ip bgp neighbors Date 20XX/10/18 22:45:55 UTC Peer Address Peer AS Local Address Local AS Type Status 10.1.2.2 65531 10.1.2.1 65531 Internal Established 192.168.2.2 65531 192.168.2.1 65531 Internal Established 10.2.2.2 65533 10.1.2.1 65531 External Established 172.16.2.2 65532 172.16.2.1 65531 External Established |
> show ip bgp neighbors detail
Date 20XX/10/17 15:52:14 UTC
BGP Peer: 10.1.2.2 , Remote AS: 65531
Remote Router ID: 10.1.2.102
BGP Status: Established HoldTime: 180 , Keepalive: 60
Established Transitions: 1 Established Date: 20XX/10/17 15:51:00
BGP Version: 4 Type: Internal
Local Address: 10.1.2.1 Local AS: 65531
Local Router ID: 192.168.1.100
Next Connect Retry: - Connect Retry Timer: -
Last Keep Alive Sent: 15:52:00 Last Keep Alive Received: 15:52:00
BGP Message UpdateIn UpdateOut TotalIn TotalOut
0 0 2 4
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: -
BGP Peer: 192.168.2.2 , Remote AS: 65531
Remote Router ID: 192.168.1.102
BGP Status: Established HoldTime: 180 , Keepalive: 60
Established Transitions: 1 Established Date: 20XX/10/17 15:50:43
BGP Version: 4 Type: Internal
Local Address: 192.168.2.1 Local AS: 65531
Local Router ID: 192.168.1.100
Next Connect Retry: - Connect Retry Timer: -
Last Keep Alive Sent: 15:51:43 Last Keep Alive Received: 15:51:43
BGP Message UpdateIn UpdateOut TotalIn TotalOut
0 0 2 4
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: -
BGP Peer: 10.2.2.2 , Remote AS: 65533
Remote Router ID: 10.2.2.102
BGP Status: Established HoldTime: 180 , Keepalive: 60
Established Transitions: 1 Established Date: 20XX/10/17 15:50:30
BGP Version: 4 Type: External
Local Address: 10.1.2.1 Local AS: 65531
Local Router ID: 192.168.1.100
Next Connect Retry: - Connect Retry Timer: -
Last Keep Alive Sent: 15:51:30 Last Keep Alive Received: 15:51:30
BGP Message UpdateIn UpdateOut TotalIn TotalOut
0 0 2 4
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: -
BGP Peer: 172.16.2.2 , Remote AS: 65532
Remote Router ID: 172.16.1.102
BGP Status: Established HoldTime: 180 , Keepalive: 60
Established Transitions: 1 Established Date: 20XX/10/17 15:49:35
BGP Version: 4 Type: External
Local Address: 172.16.2.1 Local AS: 65531
Local Router ID: 192.168.1.100
Next Connect Retry: - Connect Retry Timer: -
Last Keep Alive Sent: 15:51:35 Last Keep Alive Received: 15:51:35
BGP Message UpdateIn UpdateOut TotalIn TotalOut
0 0 3 5
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: -
> |