35
Parameters
vpn-instance-name
: Specifies the name of a VPN instance, which is a case-sensitive string of 1 to 31
characters.
ipv6-address
: Specifies the IPv6 address of a peer.
verbose
: Displays the 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 brief information about the IPv6 BGP peers in the VPN instance
vpn1
.
<Sysname> display bgp vpnv6 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
2001::1 200 4 6 0 2 00:00:09 Established
Table 14
Command output
Field Description
BGP local router ID
Router ID of the local BGP router
Peer
IPv6 address of the peer
AS
AS number of the peer
MsgRcvd
Number of messages received
MsgSent
Number of messages sent
OutQ
Number of messages to be sent to the peer
PrefRcv
Number of prefixes received
Up/Down
Duration of the BGP session in the current state
State
Current state of the peer
# Display detailed information about the IPv6 BGP peers in the VPN instance
vpn1
.
<Sysname> display bgp vpnv6 vpn-instance vpn1 peer verbose
BGP Peer is 2001::1, remote AS 200,
Type: EBGP link
BGP version 4, remote router ID 2.2.2.2
BGP current state: Established, Up for 00h00m54s
BGP current event: RecvUpdate