display bgp flow vpnv6 vpn-instance peer

Function

The display bgp flow vpnv6 vpn-instance peer command displays BGP IPv6 VPN FlowSpec peer information.

Format

display bgp flow vpnv6 vpn-instance vpn-instance-name peer

Parameters

Parameter Description Value
vpn-instance-name

Specifies the name of a 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.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

After BGP FlowSpec is enabled and a BGP FlowSpec peer relationship is established, you can run the display bgp flow vpnv6 vpn-instance peer command to query information about the BGP FlowSpec peer.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about BGP IPv6 VPN FlowSpec peers.
<HUAWEI> display bgp flow vpnv6 vpn-instance vpna peer
 
 BGP local router ID : 0.0.0.0
 Local AS number : 200
 Total number of peers : 1                 Peers in established state : 0

  VPN-Instance vpna, Router ID 0.0.0.0:
  Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State  PrefRcv
  2001:DB8:1::1   4         200        0        0     0 00:06:15        Idle        0
Table 1 Description of the display bgp flow vpnv6 vpn-instance peer command output
Item Description
BGP local router ID

ID of the local router.

Local AS number

Local AS number.

AS

AS number.

Total number of peers

Total number of BGP peers.

Peers in established state

Number of BGP peers in Established state.

Peer

IP address of the BGP (IPv6) FlowSpec peer or BGP VPN FlowSpec peer.

V

BGP version used by the BGP (IPv6) FlowSpec peer or BGP VPN FlowSpec peer.

MsgRcvd

Number of received messages.

MsgSent

Number of sent messages.

OutQ

Number of messages to be sent to a specified peer.

Up/Down

Duration during which a BGP session stays in the current state.

State

Status of the BGP (IPv6) FlowSpec peer or BGP VPN FlowSpec peer:

  • Idle: BGP denies any connection request. This is the initial status of BGP.
  • Active: BGP tries to establish a TCP connection. This is the intermediate status of BGP.
  • Connect: BGP is waiting for the establishment of the TCP connection to complete before performing further actions.
  • OpenSent: BGP is waiting for an Open message from the peer.
  • OpenConfirm: BGP is waiting for a Notification message or a Keepalive message.
  • Established: BGP FlowSpec peers can exchange Update, Notification, and Keepalive messages.
  • No neg: The address family is not enabled for the BGP peer. In this state, Update messages can be exchanged in other address families whose capabilities have been successfully negotiated. If the address family is enabled for the BGP peer, the local BGP peer receives a Notification message, and the peer relationship is disconnected. Then, the BGP peer changes to the Idle state and re-establishes the peer relationship.
PrefRcv

Number of route prefixes received from a peer.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >