[Contents] [Prev] [Next] [Index] [Report an Error]


show bgp group

Syntax

show bgp group 
<brief | detail | summary> 
<group-name> 
<instance instance-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.

instance instance-name—(Optional) Display information about a particular BGP peer in the specified instance. The instance name can be master for 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

view

Sample Output

show bgp group instance
show bgp group detail
show bgp group rtf detail

Output Fields

Group type—Type of BGP group: Internal or External.

AS—AS number of the peer. For internal BGP (IBGP), this number is the same as Local AS.

Local AS—AS number of the local router.

Name—Name of a specific BGP group.

Flags—Flags associated with the BGP group. Flags is used by Juniper Networks Customer Support.

Export—Export policies configured for the BGP group with the export statement.

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.

Groups—Total number of groups.

Peers—Total number of peers.

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 group instance master
Group Type: Internal    AS: 10045       Local AS: 10045
  Name: pe-to-asbr2                                     Flags: <Export Eval>
  Export: [ match-all ] 
  Total peers: 1        Established: 1
  4.4.4.4+179
  bgp.l3vpn.0: 1/1/0
  vpn-green.inet.0: 1/1/0

Groups: 1   Peers: 1    External: 0    Internal: 1    Down peers: 0   Flaps: 0
Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
bgp.l3vpn.0            1          1          0          0          0          0

show bgp group detail

user@host> show bgp group detail
Group Type: Internal    AS: 10045       Local AS: 10045
  Name: pe-to-asbr2                                     Flags: <Export Eval>
  Export: [ match-all ] 
  Total peers: 1        Established: 1
  4.4.4.4+179
  Route Queue Timer: unset Route Queue: empty
  Table bgp.l3vpn.0
    Active prefixes:            1
    Received prefixes:          1
    Suppressed due to damping:  0
  Table vpn-green.inet.0
    Active prefixes:            1
    Received prefixes:          1
    Suppressed due to damping:  0

Group Type: External                    Local AS: 10045
  Name: pe-ce                                           Flags: <Export Eval>
  Export: [ gr-export ] 
  Total peers: 1        Established: 1
  11.156.0.6+1868
  Route Queue Timer: unset Route Queue: empty
  Table vpn-green.inet.0
    Active prefixes:            3
    Received prefixes:          4
    Suppressed due to damping:  0

Groups: 2   Peers: 2    External: 1    Internal: 1    Down peers: 0   Flaps: 0
  Table bgp.l3vpn.0
    Received prefixes:          1
    Active prefixes:            1
    Suppressed due to damping:  0
    Received external prefixes: 0
    Active external prefixes:   0
    Externals suppressed:       0
    Received internal prefixes: 1
    Active internal prefixes:   1
    Internals suppressed:       0
    RIB State: BGP restart is complete
    RIB State: VPN restart is complete
  Table vpn-green.inet.0
    Received prefixes:          5
    Active prefixes:            4
    Suppressed due to damping:  0
    Received external prefixes: 4
    Active external prefixes:   3
    Externals suppressed:       0
    Received internal prefixes: 1
    Active internal prefixes:   1
    Internals suppressed:       0
    RIB State: BGP restart is complete
    RIB State: VPN restart is complete

show bgp group rtf detail

user@host> show bgp group rtf detail
Group: asbr
    Receive mask: 00000001
    Table: bgp.rtarget.0                    Flags: Filter   Entries: 4
        Target                           Mask
        109:1/64                         00000001
        109:2/64                         00000001
        701:1/64                         00000001
        10458:2/64                       00000001

Group: mesh_0
    Receive mask: 0000000e
    Table: bgp.rtarget.0                    Flags: Filter   Entries: 12
        Target                           Mask
        109:1/64                         00000002
        701:1/64                         00000002
        701:2/64                         00000002
        10458:1/64                       0000000e
        10458:2/64                       00000006
        10458:3/64                       00000006
        10458:5/64                       00000006
        10458:6/64                       00000004
        10458:7/64                       00000008
        10458:8/64                       00000008
        10458:10/64                      00000002

[Contents] [Prev] [Next] [Index] [Report an Error]