- show bgp group
- <brief | detail | summary>
- <group-name>
- <instance instance-name>
- <logical-system (all | logical-system-name)>
- <rtf>
Command introduced before JUNOS Release 7.4.
Display information about the configured Border Gateway Protocol (BGP) groups.
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-system (all | logical-system-name) — (Optional) Perform this operation on all logical systems or on a particular logical system.
rtf — (Optional) Display BGP group route targeting information.
view
Table 14 describes the output fields for the show bgp group command. Output fields are listed in the approximate order in which they appear.
Table 14: show bgp group Output Fields
user@host> show bgp group
Group Type: Internal AS: 21 Local AS: 21 Name: from_vpn04_to_other Index: 0 Flags: <> Holdtime: 0 Total peers: 3 Established: 3 10.255.14.178+179 10.255.71.24+179 10.255.14.182+179 inet.0: 2/7/0 Group Type: External Local AS: 21 Name: from_vpn04_to_vpn06 Index: 1 Flags: <Export Eval> Export: [ internal-and-bgp ] Holdtime: 0 Traffic Statistics Interval: 300 Total peers: 1 Established: 1 100.1.3.2+2910 inet.0: 5/10/0 Groups: 2 Peers: 4 External: 1 Internal: 3 Down peers: 0 Flaps: 2 Table Tot Paths Act Paths Suppressed History Damp State Pending inet.0 17 7 0 0 0 0
user@host> show bgp group
Group Type: External Local AS: 65500 Name: as65501peers Index: 0 Flags: Export <Eval> Export: [ export-policy ] Holdtime: 0 Total peers: 1 Established: 1 192.168.4.222+179 Trace options: all Trace file: /var/log/bgp size 10485760 files 10 inet.0: 7/10/9/0 inet.2: 0/0/0/0 Groups: 1 Peers: 1 External: 1 Internal: 0 Down peers: 0 Flaps: 0 Table Tot Paths Act Paths Suppressed History Damp State Pending inet.0 10 7 0 0 0 0 inet.2 0 0 0 0 0 0
The output for the show bgp group brief command is identical to that for the show bgp group command. For sample output, see show bgp group.
user@host> show bgp group detail
Group Type: Internal AS: 21 Local AS: 21
Name: from_vpn04_to_other Index: 0 Flags: <>
Holdtime: 0
Total peers: 3 Established: 3
10.255.14.178+179
10.255.71.24+179
10.255.14.182+179
Route Queue Timer: unset Route Queue: empty
Table inet.0
Active prefixes: 2
Received prefixes: 7
Suppressed due to damping: 0
Advertised prefixes: 5
Group Type: External Local AS: 21
Name: from_vpn04_to_vpn06 Index: 1 Flags:<Export Eval>
Export: [ internal-and-bgp ]
Holdtime: 0
Traffic Statistics Interval: 300
Total peers: 1 Established: 1
100.1.3.2+2910
Route Queue Timer: unset Route Queue: empty
Table inet.0
Active prefixes: 5
Received prefixes: 10
Suppressed due to damping: 0
Advertised prefixes: 6
Groups: 2 Peers: 4 External: 1 Internal: 3 Down peers: 0 Flaps: 2
Table inet.0
Received prefixes: 17
Active prefixes: 7
Suppressed due to damping: 0
Received external prefixes: 10
Active external prefixes: 5
Externals suppressed: 0
Received internal prefixes: 7
Active internal prefixes: 2
Internals suppressed: 0
RIB State: BGP restart is complete
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
user@host> show bgp group summary
Group Type Peers Established Active/Received/Damped from_vpn04_to_other Internal 3 3 inet.0 : 2/7/0 from_vpn04_to_vpn06 External 1 1 inet.0 : 5/10/0 Groups: 2 Peers: 4 External: 1 Internal: 3 Down peers: 0 Flaps: 2 inet.0 : 7/17/0 External: 5/10/0 Internal: 2/7/0
user@host> show bgp group summary
Group Type Peers Established Active/Received/Accepted/Damped as65501peers External 1 1 Trace options: all Trace file: /var/log/bgp size 10485760 files 10 inet.0 : 7/10/9/0 inet.2 : 0/0/0/0 Groups: 1 Peers: 1 External: 1 Internal: 0 Down peers: 0 Flaps: 0 inet.0 : 7/10/9/0 External: 7/10/9/0 Internal: 0/0/0/0 inet.2 : 0/0/0/0 External: 0/0/0/0 Internal: 0/0/0/0