The display bgp group command displays information about BGP peer groups, excluding the BGP unnumbered peer groups.
The display bgp unnumbered group command displays information about BGP unnumbered peer groups.
Parameter | Description | Value |
---|---|---|
vpnv4 |
Displays the BGP peer group of VPNv4. |
- |
all |
Displays information about all VPNv4 peer groups. |
- |
group-name |
Specifies the name of a peer group. |
The value is a string of 1 to 47 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
instance instance-name |
Displays BGP routes of a specified BGP multi-instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
labeled |
Indicates a labeled address family. |
- |
Usage Scenario
Configuring BGP peer groups simplifies BGP network configuration and improves BGP route advertisement efficiency.
The display bgp group command displays information about peer groups, including the members in the peer groups and the configuration of the peer groups. This command is used in the following scenarios:The display bgp unnumbered group command displays information about a BGP unnumbered peer group, including members in the peer group and configurations of the peer group. This command is used in the following scenarios:
Precautions
BGP has multiple address families, and the configurations of these address families are isolated from each other. Information about peer groups in address families can be displayed by specifying different parameters.
If no parameter is specified, the display bgp group command displays information about peer groups in the IPv4 unicast address family by default.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp vpnv4 all group
Group in VPNV4:
BGP peer-group: aa
Remote AS number isn't specified
Type : external
PeerSession Members:
3.3.3.3
Peer Members:
3.3.3.3
***********************
BGP peer-group: bb
Remote AS 100
Type : internal
PeerSession Members:
NONE
Peer Members:
4.4.4.4
Group in VPN-Instance:
BGP peer-group: cc
Remote AS number isn't specified
VPN-Instance(IPv4-family): vpn1
Type : external
PeerSession Members:
2.2.2.1
Peer Members:
2.2.2.1
<HUAWEI> display bgp vpnv4 all group rr1
Group in VPNV4:
No such a peer-group
Group in VPN-Instance:
BGP peer-group: rr1
Remote AS number isn't specified
VPN-Instance: 1
Type : external
Configured hold timer value: 180
Keepalive timer value: 60
Minimum route advertisement interval is 30 seconds
PeerSession Members:
NONE
Peer Preferred Value: 0
No routing policy is configured
Peer Members:
No Peer Exists
<HUAWEI> display bgp group my-peer
BGP peer-group: my-peer
Remote AS: 200
Authentication type configured: None
Group's BFD has been enabled
Type : internal
Maximum allowed route limit: 150000
Threshold: 75%
Configured hold timer value: 180
Keepalive timer value: 60
Minimum route advertisement interval is 15 seconds
listen-only has been configured
TCP-MSS configured value: 200
PeerSession Members:
2.2.2.2
Send best-external has been configured
Peer Preferred Value: 0
No routing policy is configured
Peer Members:
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
2.2.2.2 4 200 0 0 0 00:00:47 Active 0
<HUAWEI> display bgp group dyn-peer
BGP peer-group: dyn-peer
Remote AS: Dynamic
Authentication type configured: None
Type : listen external
Configured hold timer value: 180
Keepalive timer value: 60
Connect-retry timer value: 32
Minimum route advertisement interval is 30 seconds
PeerSession Members:
NONE
Peer Preferred Value: 0
No routing policy is configured
Peer Members:
Info: No peer exists.
Item | Description |
---|---|
Group in VPNV4 | Information about all VPNv4 peer groups. |
Group in VPN-Instance | Information about peer groups in a VPN instance. |
BGP peer-group | Name of a BGP peer group. |
Remote AS | Number of the AS where the peer group resides.
|
Remote AS number isn't specified | This information is displayed when the peer group is an EBGP peer group with no AS number configured. |
AS | Number of the AS where a peer group member resides. |
Type | Types of peers:
|
PeerSession Members | A member that has established a session connection with a peer. |
Peer Preferred Value | Preferred value of the peer. |
Peer Members | The following information is about peers. |
Peer | Peer IP address. |
Configured hold timer value | Value of the hold time. |
Keepalive timer value | Value of the Keepalive time. |
Minimum route advertisement interval | Minimum interval at which routes are advertised: |
VPN-Instance | VPN instance names. |
Authentication type configured | BGP authentication type: The options are as follows:
|
Maximum allowed route limit | Maximum number of allowed BGP routes. |
listen-only has been configured | The device listens to connection requests but does not initiate connection requests. |
TCP-MSS configured value | TCP MSS value used for setting up the TCP connection with the peer group. |
Send best-external has been configured | The device has been enabled to advertise BGP Best External routes to the peer group. |
V | BGP version number. |
MsgRcvd | Number of received messages. |
MsgSent | Number of sent messages. |
OutQ | Number of messages to be sent to neighbors. |
Up/Down | Duration in which the BGP session remains in the current state. |
State | BGP Finite State Machine.
|
PrefRcv | Number of route prefixes received from a peer. |
Threshold | Alarm threshold, that is, the percentage of the number of BGP routes to the maximum number of routes that can be received. |