show bgp group
Syntax
show bgp group<brief| detail| summary><group-name><instanceinstance-name><logical router(all |logical-router-name)><rtf>Description
Display information about the configured BGP groups.
Options
none—Display group information about all BGP groups.
brief | detail | summary—(Optional) Display the specified level of output.
group-name—(Optional) Display group information for the specified group.
instanceinstance-name—(Optional) Display information about a particular BGP peer in the specified instance. The instance name can bemasterfor the main instance, or any valid configured instance name or its prefix.
logical-router (all |logical-router-name)—(Optional) Perform this operation on all logical routers or on a particular logical router.
rtf—(Optional) Display BGP group route targeting information.Required Privilege Level
Sample Output
show bgp group instanceshow bgp group detailshow bgp group rtf detailOutput Fields
Group type—Type of BGP group:InternalorExternal.
AS—AS number of the peer. For internal BGP (IBGP), this number is the same asLocal AS.
Local AS—AS number of the local router.
Name—Name of a specific BGP group.
Flags—Flags associated with the BGP group.Flagsis used by Juniper Networks Customer Support.
Export—Export policies configured for the BGP group with theexportstatement.
Total peers—Total number of peers in the group.
Established—Number of peers in the group that are in the established state.
ip-addresses—List of peers who are members of the group. The address is followed by the peer's port number.
Route Queue Timer—Number of seconds until queued routes are sent. If this time has already elapsed, this field displays the number of seconds by which the updates are delayed.
Route Queue—Number of prefixes that are queued up for sending to the peers in the group.
Table inet.number—Information about the routing table.
Received prefixes—Total number of prefixes from the peer, both active and inactive, that are in the routing table.Active prefixes—Number of prefixes received from the peer that are active in the routing table.Suppressed due to damping—Number of routes currently inactive because of damping or other reasons. These routes do not appear in the forwarding table and are not exported by routing protocols.Received external prefixes—Total number of prefixes from the external BGP (EBGP) peers, both active and inactive, that are in the routing table.Active external prefixes—Number of prefixes received from the EBGP peers that are active in the routing table.Externals suppressed—Number of routes received from EBGP peers currently inactive because of damping or other reasons.Received internal prefixes—Total number of prefixes from the IBGP peers, both active and inactive, that are in the routing table.Active internal prefixes—Number of prefixes received from the IBGP peers that are active in the routing table.Internals suppressed—Number of routes received from IBGP peers currently inactive because of damping or other reasons.RIB State—Status of the graceful restart process for this routing table. Values can beBGPrestart is complete,BGPrestart in progress,VPNrestart in progress, orVPNrestart is complete.
Groups—Total number of groups.
External—Total number of external peers.
Internal—Total number of internal peers.
Down peers—Total number of unavailable peers.
Flaps—Total number of flaps that occurred.
Table—Name of a routing table.
Tot Paths—Total number of paths.
Act Paths—Number of active routes.
Suppressed—Number of routes currently inactive because of damping or other reasons. These routes do not appear in the forwarding table and are not exported by routing protocols.
History—Number of withdrawn routes stored locally to keep track of damping history.
Damp State—Number of active routes with a figure of merit greater than zero, but lower than the threshold at which suppression occurs.
Pending—Routes being processed by BGP import policy.
Group—Group the peer belongs to in the BGP configuration.
Receive mask—Mask of the received target included in the advertised route.
Entries—Number of route entries received.
Target—Route target that is to be passed by route-target filtering. If a route advertised from the provider edge (PE) router matches an entry in the route-target filter, the route is passed to the peer.
Mask—Mask that specifies the peer to receive routes with the given route target.show bgp group instance
user@host>show bgp groupinstance masterGroup Type: Internal AS: 10045 Local AS: 10045Name: pe-to-asbr2 Flags: <Export Eval>Export: [ match-all ]Total peers: 1 Established: 14.4.4.4+179bgp.l3vpn.0: 1/1/0vpn-green.inet.0: 1/1/0Groups: 1 Peers: 1 External: 0 Internal: 1 Down peers: 0 Flaps: 0Table Tot Paths Act Paths Suppressed History Damp State Pendingbgp.l3vpn.0 1 1 0 0 0 0show bgp group detail
user@host>show bgp group detailGroup Type: Internal AS: 10045 Local AS: 10045Name: pe-to-asbr2 Flags: <Export Eval>Export: [ match-all ]Total peers: 1 Established: 14.4.4.4+179Route Queue Timer: unset Route Queue: emptyTable bgp.l3vpn.0Active prefixes: 1Received prefixes: 1Suppressed due to damping: 0Table vpn-green.inet.0Active prefixes: 1Received prefixes: 1Suppressed due to damping: 0Group Type: External Local AS: 10045Name: pe-ce Flags: <Export Eval>Export: [ gr-export ]Total peers: 1 Established: 111.156.0.6+1868Route Queue Timer: unset Route Queue: emptyTable vpn-green.inet.0Active prefixes: 3Received prefixes: 4Suppressed due to damping: 0Groups: 2 Peers: 2 External: 1 Internal: 1 Down peers: 0 Flaps: 0Table bgp.l3vpn.0Received prefixes: 1Active prefixes: 1Suppressed due to damping: 0Received external prefixes: 0Active external prefixes: 0Externals suppressed: 0Received internal prefixes: 1Active internal prefixes: 1Internals suppressed: 0RIB State: BGP restart is completeRIB State: VPN restart is completeTable vpn-green.inet.0Received prefixes: 5Active prefixes: 4Suppressed due to damping: 0Received external prefixes: 4Active external prefixes: 3Externals suppressed: 0Received internal prefixes: 1Active internal prefixes: 1Internals suppressed: 0RIB State: BGP restart is completeRIB State: VPN restart is completeshow bgp group rtf detail
user@host>show bgp group rtf detailGroup: asbrReceive mask: 00000001Table: bgp.rtarget.0 Flags: Filter Entries: 4Target Mask109:1/64 00000001109:2/64 00000001701:1/64 0000000110458:2/64 00000001Group: mesh_0Receive mask: 0000000eTable: bgp.rtarget.0 Flags: Filter Entries: 12Target Mask109:1/64 00000002701:1/64 00000002701:2/64 0000000210458:1/64 0000000e10458:2/64 0000000610458:3/64 0000000610458:5/64 0000000610458:6/64 0000000410458:7/64 0000000810458:8/64 0000000810458:10/64 00000002