display bgp flow routing-table

Function

The display bgp flow routing-table command displays BGP Flow Specification routes.

Format

display bgp flow routing-table

Parameters

None

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To view information about BGP Flow Specification routes, active or inactive, run the display bgp flow routing-table command.

Example

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

# Display BGP Flow Specification routes.
<HUAWEI> display bgp flow routing-table
BGP Local router ID is 0.0.0.0
 Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete
 RPKI validation codes: V - valid, I - invalid, N - not-found

 Total Number of Routes: 1

 * >  ReIndex : 66
      Dissemination Rules:
       Protocol       : eq 24
       Src. Port      : eq 24
       ICMP Type      : eq 24
       ICMP Code      : eq 22
       TCP-flags      : match 22
       FragmentType   : match(Don't fragment)
       MED      : 0                   PrefVal  : 0                   
       LocalPref:                           
       Path/Ogn :  i
Table 1 Description of the display bgp flow routing-table command output
Item Description
Total Number of Routes

Number of BGP Flow Specification routes.

ReIndex

BGP Flow Specification route index.

Dissemination Rules

Rules applied to the BGP VPN Flow Specification and BGP VPNv4 Flow Specification routes.

Protocol

Filtering rule based on the IP protocol, displayed in one of the following formats:

  • eq: equal to the protocol number.
  • lt: smaller than the protocol number.
  • gt: greater than the protocol number.
Src. Port

Filtering rule based on the source port number, displayed in one of the following formats:

  • eq: equal to the source port number.
  • lt: smaller than the source port number.
  • gt: greater than the source port number.
ICMP Type

Filtering rule based on the type code of an ICMP packet, displayed in one of the following formats:

  • eq: equal to the type code of an ICMP packet.
  • lt: smaller than the type code of an ICMP packet.
  • gt: greater than the type code of an ICMP packet.
ICMP Code

Filtering rule based on the code of an ICMP packet, displayed in one of the following formats:

  • eq: equal to the code of an ICMP packet.
  • lt: smaller than the code of an ICMP packet.
  • gt: greater than the code of an ICMP packet.
TCP-flags

Filtering rule based on the TCP flag, displayed in one of the following formats:

  • match: same as the TCP flag.
  • not: different from the TCP flag.
  • any-match: matching any bit of a specified TCP flag value.
FragmentType

Filtering rule based on the packet fragment type.

  1. Packet fragment type.
  • Last fragment: indicates the last fragment of a fragmented packet.
  • First fragment: indicates the first fragment of a fragmented packet.
  • Is a fragment: It is a fragment.
  • Don't fragment: Fragmentation is not supported.

2. The display format is as follows (all types are used as an example):

  • any-match (Last Fragment, First Fragment, Is a fragment, Don't Fragment): Packets matching any fragment type are filtered.
  • Not (Last Fragment, First Fragment, Is a fragment, Don't Fragment): Packets matching any fragment type are not filtered.
  • match (Last Fragment, First Fragment, Is a fragment, Don't Fragment): Packets that match all fragment types are filtered.
  • any-match not (Last Fragment, First Fragment, Is a fragment, Don't Fragment): Packets that match all fragment types are not filtered.

The packet fragment type can be in any combination, and information is displayed based on the received packet.

MED

Route count.

PrefVal

Preferred value of a protocol.

Path/Ogn

AS_Path number and Origin attribute.

LocalPref

Local preference.

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