280
display bgp vpnv4 peer
Description
Use the display bgp vpnv4 peer command to display information about BGP VPNv4 peers.
Syntax
display bgp vpnv4 all peer [ ip-address verbose | verbose ] [ | { begin | exclude | include } regular-
expression ]
display bgp vpnv4 vpn-instance vpn-instance-name peer [ group-name log-info | ip-address { log-info |
verbose } | verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Specifies all VPNv4 peers.
vpn-instance vpn-instance-name: Displays information about the specified VPN. vpn-instance-name is the
instance name of an MPLS L3VPN, which is a case-sensitive string of 1 to 31 characters.
group-name: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters.
log-info: Displays log information.
ip-address: Specifies the IP address of the peer.
verbose: Displays detailed information.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.
Examples
# Display information about BGP VPNv4 peers of VPN instance vpn1.
<Sysname> display bgp vpnv4 vpn-instance vpn1 peer
BGP local router ID : 2.2.2.2
Local AS number : 100
Total number of peers : 1 Peers in established state : 1
Peer AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State
10.1.1.1 200 24 29 0 1 00:18:47 Established
Table 117 Command output
Field Description
BGP Local router ID Router ID of the local BGP router