6
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 the BGP VPNv4 peers of the 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 4
Command output
Field Description
BGP Local router ID
Router ID of the local BGP router
local AS number
Local AS number
Total number of peers
Total number of peers
Peers in established state
Number of peers in the state of established
Peer
IP address of the peer
AS
AS number of the peer group
MsgRcvd
Number of messages received
MsgSent
Number of messages sent
OutQ
Number of messages waiting to be sent to the peer
PrefRcv
Number of received prefixes
Up/Down
Duration of the BGP session in the current state
State
Status of the peer
# Display detailed information about BGP VPNv4 peers of VPN instance vpn1.
<Sysname> display bgp vpnv4 vpn-instance vpn1 peer verbose
Peer: 10.1.1.1 Local: 2.2.2.2
Type: EBGP link
BGP version 4, remote router ID 10.1.1.1
BGP current state: Established, Up for 00h19m26s
BGP current event: KATimerExpired
BGP last state: OpenConfirm