This command displays Border Gateway Protocol (BGP) information for a virtual router (vRouter) service on a fabric, cluster, or standalone switch.

Syntax   vrouter-bgp-show

vrouter-name name-string

Name for the vRouter service.

The following BGP arguments:

neighbor ip-address

The neighbor IP address to use for BGP filtering.

l3-port l3port-usable-port name

The L3 port name for the BGP session.

remote-as external|internal|-2..4294967295

The remote Autonomous System (AS) number. This is a value between 1, and 4294967295.

local-as external|internal|-2..4294967295

The locally configured AS number. This is a value between 1, and 4294967295.

vrf vrouter-vrf

Name of the VRF.


Specify if the next-hop is the same router or not.


Specify if you want routers to prepend the local AS to AS_PATH advertisements.


Specify if you want to prevent routers from appending the globally configured ASN in outbound BGP UPDATEs toward customer networks that are using the "Local AS" mechanism. This option will append the old ASN instead.

password password-string

The password.

ebgp-multihop number

Specify a value for external BGP to accept or attempt BGP connections to external peers, not directly connected, on the network. This is a value between 1, and 255.

update-source vrouter loopback-interface ip

The source IP address of BGP packets sent by the router. This parameter is required if you want BGP to perform peering over a loopback interface.

update-source-interface update-source-interface-string

The source interface of BGP packets sent by the router. This parameter is required for peering over any interface.

prefix-list-in vrouter prefix-list name

The prefix list to filter traffic inbound.

prefix-list-out vrouter prefix-list name

The prefix list to filter traffic outbound.


Specify if a route reflector client is used.


Specify if you want to override capability.


Specify if you want a soft reconfiguration of inbound routes.

max-prefix max-prefix-number

The maximum number of prefixes.


Specify if you want a warning message when the maximum number of prefixes is exceeded.


Specify if you want BFD protocol support for fault detection.


Specify if you want to always use BFD multihop port for fault detection.

multi-protocol ipv4-unicast|ipv6-unicast|l2vpn-evpn

Specify a multi-protocol for BGP.

weight none|weight

Specify a default weight value between 0, and 65535 for the neighbor routes.


Specify if you want to announce default routes to the neighbor or not.

neighbor-keepalive-interval seconds

The BGP keepalive interval in seconds. This is a value between 0, and 65535 seconds.

neighbor-holdtime seconds

The BGP neighbor hold time in seconds. This is a value between 0, and 65535 seconds.

connect-retry-interval seconds

The interval between retrying a connection. The interval can be from 0 to 65535 seconds.


Specify to enable interoperability between different Netvisor ONE versions for unnumbered BGP neighbors. This option sends both link local address, and the global next hop address even if they are the same.

route-map-in vrouter route-map name

Name of the route map for incoming routes.

route-map-out vrouter route-map name

Name of the route map for outgoing routes.


Specify if you want to reject routes with local AS in AS_PATH. Normally, when you do not set this option, nodes reject routes containing their own AS which helps prevent routing loops. However, in some cases nodes that belong to the same AS have no direct connectivity; for example when you form clusters, and choose not to use the cluster link for iBGP communication. In this case the only way to direct routes through connected eBGP neighbors is to set this option so that routes are not rejected from the cluster peer.

interface vrouter interface nic

The interface to reach the neighbor.

advertisement-interval seconds

The minimal time between sending out BGP routing updates. This is a value between 0, and 600 seconds.

The default value is zero (0) seconds.

description description-string

The BGP neighbor description.

Defaults   None.

Access   CLI


Version 1.2

Command introduced.

Version 2.2

Parameters next-hop-self and password added.

Version 2.2.2

The parameters ebgp-multihop, and update-source vrouter added.

Version 2.2.3

The parameters prefix-list-in and prefix-list-out added. The parameters override-capability, soft-reconfig-inbound, max-prefix, and max-prefix-warn added.

Version 2.2.6

The parameters bfd|no-bfd added.

Version 2.3.1

The parameter multi-protocol added.

Version 2.4

The parameters weight and default-originate added. The parameters neighbor-keepalive-interval, neighbor-holdtime, route-map-in vrouter, and route-map-out vrouter added.

Version 2.4.1

The options ipv4-multicast|ipv6-multicast| vpnv4-unicast are deprecated for multi-protocol.

Version 2.5.2

The parameter allowas-in|no-allowas-in added.

Version 2.6.2

The parameters bfd-multihop and interface added.

Version 3.0.2

The parameter connection-retry-interval added.

Version 3.1.0

The parameter advertisement-interval added.

Version 5.1.2

The parameter l3-port added.

Version 6.0.0

The parameter description added.

Version 6.0.1

The parameter update-source-interface added.

Version 6.1.0

The parameters local-as, no-prepend, replace-as added. The option l2vpn-evpn to the multi-protocol parameter.

Version 6.1.1

The parameter unnumbered-interop|no-unnumbered-interop added.

Usage   Each fabric, cluster, standalone switch, or virtual network (vNET) can provide its tenants with a vRouter service that forwards traffic between networks, and implements Layer 4 protocols. Use this command to display information about BGP on the vRouter service.

Examples  To display abridged BGP vRouter service information, use the following command:

CLI (network-admin@switch) > vrouter-bgp-show format neighbor,remote-as,update-source,multi-protocol

vrouter-name   neighbor     remote-as update-source multi-protocol

-------------- ------------ --------- ------------- --------------

vrouter-bgw-11 64311     ipv4-unicast

vrouter-bgw-11 64312     ipv4-unicast

vrouter-bgw-11 64313     ipv4-unicast

vrouter-bgw-11 64314     ipv4-unicast

vrouter-bgw-11 64518     ipv4-unicast

vrouter-bgw-11    60000     ipv4-unicast

vrouter-bgw-11 66611  l2vpn-evpn

vrouter-bgw-11 66611  l2vpn-evpn