The display bgp vpn-instance group command displays information about BGP peer groups in a specified VPN instance.
display bgp vpnv4 vpn-instance vpn-instance-name group
display bgp vpnv4 vpn-instance vpn-instance-name group group-name
display bgp instance instance-name vpnv4 vpn-instance vpn-instance-name group
display bgp instance instance-name vpnv4 vpn-instance vpn-instance-name group group-name
display bgp labeled vpn-instance vpn-instance-name group
display bgp labeled vpn-instance vpn-instance-name group group-name
Parameter | Description | Value |
---|---|---|
vpnv4 |
Displays information about BGP VPNv4 peer groups. |
- |
vpn-instance vpn-instance-name |
Displays information about BGP peer groups in a specified VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
group-name |
Specifies the name of a 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. |
instance instance-name |
Specifies the name of a 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 |
Specify labeled-unicast sub-address family. |
- |
Usage Scenario
Configuring BGP peer groups simplifies BGP network configuration and improves route advertisement efficiency.
The display bgp vpn-instance group command displays information about BGP peer groups in a specified VPN instance, including peers in the peer group and configuration information about the peer group. The display bgp vpn-instance group command is used in the following scenarios: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 vpn-instance group command displays default information about peer groups in the IPv4 unicast address family.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp vpnv4 vpn-instance vpn2 group
BGP peer-group: bb
Remote AS number isn't specified
VPN-Instance(IPv4-family): vpn2
Authentication type configured: None
Type : external
PeerSession Members:
10.1.1.2
Peer Members:
10.1.1.2
Item | Description |
---|---|
BGP peer-group | Name of a BGP peer group. |
Remote AS | Number of the AS where a peer group resides. |
AS | Number of the AS where a member of a peer group resides. |
Authentication type configured | BGP authentication type:
|
Type | Type of a peer group:internal:
|
PeerSession Members | Peers with which sessions have been established. |
Peer Members | Peer information. |
Peer | IP address of a peer. |
V | BGP version. |