display bgp group [ group-name ]
display bgp vpnv4 { all | vpn-instance vpn-instance-name } group [ group-name ]
display bgp ipv6 group [ group-name ]
display bgp vpnv6 all group [ group-name ]
display bgp vpnv6 vpn-instance vpn-instance-name group [ group-name ]
display bgp multicast group [ group-name ]
| Parameter | Description | Value |
|---|---|---|
group-name |
Specifies the peer group. |
The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
vpnv4 |
Displays information about BGP VPNv4 peer groups. |
- |
all |
Displays the peer groups of all VPNv4s. |
- |
vpn-instance vpn-instance-name |
Specifies the name of the VPN 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. |
ipv6 |
Displays information about IPv6 peer groups. |
- |
vpnv6 |
Displays information about BGP VPNv6 peer groups. |
- |
multicast |
Displays information about MBGP peer groups.
|
- |
Usage Scenario
Configuring BGP peer groups simplifies BGP network configuration and improves the route advertisement efficiency.
Precautions
BGP has multiple address families, each of which is configured independently. 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 default information about peer groups in the IPv4 unicast address family.
# Display the peer group "my-peer".
<sysname> display bgp group my-peer
BGP peer-group: my-peer
Remote AS: 100
Authentication type configured: None
Group's BFD has been enabled
Type : internal
Configured hold timer value: 180
Keepalive timer value: 60
Connect-retry timer value: 32
Minimum route advertisement interval is 15 seconds
PeerSession Members:
10.1.1.2
Maximum allowed route limit: 100
Threshold: 75%, Parameter: always connect-retry(default)
Peer Preferred Value: 0
No routing policy is configured
Peer Members:
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
10.1.1.2 4 100 35 42 0 00:29:01 Established 0
Item |
Description |
|---|---|
BGP peer-group |
Indicates the name of the BGP peer group. |
Remote AS |
Indicates the remote AS ID. |
Authentication type configured |
Indicates the configured BGP authentication type:
|
Group's BFD has been enabled |
Indicates that the peer group is enabled with BFD. |
Type |
Indicates the types of peers:
|
Configured hold timer value |
Indicates the configured hold time value, in seconds. |
Keepalive timer value |
Indicates the Keepalive time value, in seconds. |
Connect-retry timer value |
Indicates the ConnectRetry timer value, in seconds. |
Minimum route advertisement interval |
Indicates the minimum interval for advertising routes. |
PeerSession Members |
Indicates peers that set up session connections. |
Maximum allowed route limit |
Indicates the maximum number of the allowed BGP routes. |
Threshold |
Indicates the alarm threshold, that is, the percentage of the number of BGP routes out of the total number of the receivable routes. By default, it is 75%. |
Parameter |
If peer route-limit command is configured, this parameter will be displayed:
|
Peer Preferred Value |
Indicates preferred values of peers. |
Peer Members |
Indicates that the following displayed information is about peers. |
Peer |
Indicates the IP address of the peer. |
V |
Indicates the BGP version number. |
As |
Indicates the ID of the AS that the peers belong to. |
MsgRcvd |
Indicates the number of received messages. |
MsgSent |
Indicates the number of sent messages. |
OutQ |
Indicates the number of messages to be sent to neighbors. |
Up/Down |
Indicates the period during which BGP is in the current state. |
State |
Indicates the BGP state mechanism:
|
PrefRcv |
Indicates the number of prefixes received by the local peer from the remote peer. |
# Display information about all BGP peer groups of VPNv4.
<sysname> display bgp vpnv4 all group Group in VPNV4: BGP peer-group: aa Remote AS: 100 Authentication type configured: None Type : internal PeerSession Members: 3.3.3.9 Peer Members: 3.3.3.9 Group in VPN-Instance: BGP peer-group: v4 Remote AS number isn't specified VPN-Instance(IPv4-family): vpn1 Authentication type configured: None Type : external PeerSession Members: 3.2.6.5 10.1.2.2 Peer Members: 3.2.6.5 10.1.2.2
Item |
Description |
|---|---|
Group in VPNV4 |
Indicates information about all VPNv4 peer groups. |
Remote AS number isn't specified |
Indicates that the information is displayed when the peer group is a combined EBGP peer group. |
Group in VPN-Instance |
Indicates information about peer groups of the VPN instance. |
VPN-Instance |
Indicates the name of the VPN instance. |
# Display information about all BGP IPv6 peer groups.
<sysname> display bgp ipv6 group BGP peer-group: in Remote AS: 100 Authentication type configured: None Type : internal PeerSession Members: 2::1 Peer Members: 1::1 2::1 *********************** BGP peer-group: ex Remote AS number not specified Authentication type configured: None Type : external PeerSession Members: 20::1 Peer Members: 10::1 20::1
# Display information about the BGP VPNv6 peer group named bb.
<sysname> display bgp vpnv6 all group bb Group in VPNV6: BGP peer-group: bb Remote AS: 100 Authentication type configured: None Type : internal Configured hold timer value: 180 Keepalive timer value: 60
Connect-retry timer value: 32
Minimum route advertisement interval is 0 seconds PeerSession Members: NONE Peer Preferred Value: 0 No routing policy is configured Peer Members: Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv 3.3.3.9 4 100 1621 1436 0 20:38:19 Established 1 Group in VPN-Instance:
# Display information about all BGP VPNv6 peer groups.
<sysname> display bgp vpnv6 all group Group in VPNV6: BGP peer-group: bb Remote AS: 100 Authentication type configured: None Type : internal PeerSession Members: NONE Peer Members: 3.3.3.9 Group in VPN-Instance: BGP peer-group: v6 Remote AS number isn't specified VPN-Instance(IPv6-family): vpn1 Authentication type configured: None Type : external PeerSession Members: 2001::1 Peer Members: 2001::1
# Display information about all IPv6 peer groups of the VPN instance named vpna on the local router.
<sysname> display bgp vpnv6 vpn-instance vpna group BGP peer-group: v6 Remote AS number isn't specified VPN-Instance(IPv6-family): vpna Authentication type configured: None Type : external PeerSession Members: 2001::1 Peer Members: 2001::1
# Display information about the IPv6 peer group named g1 of the VPN instance named vpna on the local router.
<sysname> display bgp vpnv6 vpn-instance vpna group g1 BGP peer-group: g1 Remote AS number isn't specified VPN-Instance(IPv6-family): vpna Authentication type configured: None Type : external Configured hold timer value: 180 Keepalive timer value: 60
Connect-retry timer value: 32
Minimum route advertisement interval is 30 seconds PeerSession Members: 2001::1 Peer Preferred Value: 0 No routing policy is configured Peer Members: Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv 2001::1 4 65410 1336 1559 0 21:06:47 Established 1