OcNOS-RON : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Show Commands : show ip bgp vpnv4
show ip bgp vpnv4
Use this command to display information relating to VPNv4.
Command Syntax
show ip bgp vpnv4 all
show ip bgp vpnv4 all A.B.C.D
show ip bgp vpnv4 all neighbors
show ip bgp vpnv4 all neighbors A.B.C.D
show ip bgp vpnv4 all summary
show ip bgp vpnv4 all tags
show ip bgp vpnv4 rd WORD
show ip bgp vpnv4 rd WORD A.B.C.D
show ip bgp vpnv4 rd WORD label
show ip bgp vpnv4 rd WORD neighbors
show ip bgp vpnv4 rd WORD neighbors A.B.C.D
show ip bgp vpnv4 rd WORD summary
show ip bgp vpnv4 view WORD all
show ip bgp vpnv4 vrf NAME
show ip bgp vpnv4 vrf NAME A.B.C.D
show ip bgp vpnv4 vrf NAME label
show ip bgp vpnv4 vrf NAME summary
Parameters
all
Displays information about all VPNv4 NLRIs
A.B.C.D
Network
neighbors
TCP and BGP neighbor connections
A.B.C.D
Network
summary
Summary display
tags
BGP tags for prefixes
rd
Route distinguisher
WORD
BGP view name
A.B.C.D
Network
label
MPLS Labels for prefixes
neighbors
TCP and BGP neighbor connections
A.B.C.D
Network
summary
Summary display
view
VPNv4 NLRI-specific information
WORD
BGP view name
vrf
VRF VPNv4 NLRIs
NAME
VPN Routing/Forwarding instance name
A.B.C.D
Network
label
MPLS Labels for prefixes
summary
Summary display
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
This is a sample output from the show ip bgp vpnv4 all command displaying VPNv4 specific information
#show ip bgp vpnv4 all
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:1 (VRF1)
* i 10.10.9.0/24 10.10.0.1 0 141 0 65000 ?
*> 10.10.9.0/24 10.10.14.50 0 0 65000 ?
*> 10.10.10.0/24 10.10.14.50 0 65000 ?
* i 10.10.15.0/24 10.10.0.1 141 0 65000 ?
*> 10.10.15.0/24 10.10.14.50 0 0 65000 ?
 
#show ip bgp vpnv4 all neighbors
 
BGP neighbor is 24.10.10.2, remote AS 65000, local AS 65000, internal link
BGP version 4, remote router ID 179.112.0.1
BGP state = Established, up for 10:04:14
Last read 10:04:14, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (new)
Address family IPv4 Unicast: advertised and received
Address family IPv4 Multicast: received
Address family IPv6 Unicast: received
Received 1641 messages, 0 notifications, 0 in queue
Sent 1280 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 676, neighbor version 676
Index 2, Offset 0, Mask 0x4
Community attribute sent to this neighbor (both)
60000 accepted prefixes
0 announced prefixes
 
Connections established 2; dropped 1
Local host: 24.10.10.1, Local port: 179
Foreign host: 24.10.10.2, Foreign port: 32959
Nexthop: 24.10.10.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Table 4-69 explains the fields shows for each route.
 
Table 4-69: show ip bgp vpnv4 all neighbors output details 
Field
Description
BGP neighbor
Router ID of the BGP neighbor.
remote AS
Autonomous system number of the neighbor.
local AS
Autonomous system number of the local system.
internal link
internal link: iBGP neighbor (in the same AS).
BGP version
The version of BGP being used by the neighbor device.
BGP state
The current state of the neighbor connection and length of time within the current state.Possible states are: Idle, Connect, Active, and Established.
Last read
The amount of time in Hours : Minutes : Seconds since this device last checked the Hold Time parameters.
hold time
The amount of time this device waits for a Keepalive or Update message before the BGP connection is closed.
Keepalive interval
KEEPALIVE messages are sent periodically to ensure that the connection is live.
Neighbor capabilities
New or optional parameters called “Capabilities.” Provides a graceful way to advertise new or unique options without causing peering to terminate. The capabilities are communicated in TLV fields. (see RFC 3392).
 
In the example output above, the following capabilities were advertised by the neighbor and were received and understood by this device:
Route refresh
Address family IPv4 Unicast
Address family IPv6 Unicast
Received
Message count, notification count, number of messages waiting in the queue.
Sent
Message count, notification count, number of messages waiting in the queue.
Route refresh request
Route requests sent and received.
For address family
As stated – in this case IPv4 Unicast.
BGP table version
For each of the address families agreed upon, BGP maintains a separate table.
neighbor version
Tracks prefixes that have been sent and those that need to be sent.
connections established
The number of times the router has established a TCP connection and the two peers have agreed to speak BGP with each other.
“Dropped” means the number of time the connection has failed or gone down.
local host
foreign host
Local host is the IP address and the port number of the local system used for the peering session.
Foreign host is the IP address and the port of the neighbor.
BGP always uses the TCP port number 179 for the peer originating the session.
nexthop
The IP address of the next hop used to reach the neighbor.
eBGP or iBGP peers do not need to be directly connected. Peering sessions can be set up across multiple hops. If the neighbors are directly connected, the IP address of the local system is listed as the next hop.
nexthop global
The global IPv6 address of the next hop
nexthop local
The link-local IPv6 address of the next hop
non shared network
The peering session is running on a non shared network.
last reset
Time since this peering session was last reset. The reason for the reset is displayed on this line.
notification error message
Last error message sent.
Last modified date: 08/28/2023