display bgp flow routing-table (All views)

Function

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

Format

display bgp flow routing-table reindex { as-path | community-list | large-community | ext-community | cluster-list | advertised-peer | port | destination-port | dscp | protocol | source-port | icmp-type | icmp-code | tcp-flags | packet-length | fragment | ipv6-ext-community }

display bgp flow routing-table peer remoteIpv4Addr advertised-routes reindex { as-path | community-list | large-community | ext-community | cluster-list | advertised-peer }

Parameters

Parameter Description Value
as-path

Displays AS_Path information of the route.

-

community-list

Displays the community list of the route.

-

large-community

Displays the Large-Community attribute list of the route.

-

ext-community

Displays the ext-community list of the route.

-

cluster-list

Displays the cluster list of the route.

-

advertised-peer

Displays the information about the peer to which the route is sent.

-

port

Displays detailed information about the filtering rule based on the port number in the route.

-

destination-port

Displays detailed information about the filtering rule based on the destination port number in the route.

-

dscp

Displays detailed information about the filtering rule based on the DSCP value in the route.

-

protocol

Displays detailed information about the filtering rule based on the IP protocol in the route.

-

source-port

Displays detailed information about the filtering rule based on the source port number in the route.

-

icmp-type

Displays detailed information about the filtering rule based on the type code of an ICMP packet in the route.

-

icmp-code

Displays detailed information about the filtering rule based on the code of an ICMP packet in the route.

-

tcp-flags

Displays detailed information about the filtering rule based on the TCP flag in the route.

-

packet-length

Displays detailed information about the filtering rule based on the packet length in the route.

-

fragment

Displays detailed information about the filtering rule based on the fragment type in the route.

-

ipv6-ext-community

Displays the ipv6-ext-community attribute list of the route.

-

peer remoteIpv4Addr

Displays routes of a specified peer.

This value is in dotted decimal notation.

advertised-routes reindex

Displays detailed information about the route of a specified index.

The value is an integer ranging from 1 to 4294967295.

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 the extended community list of the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 194 ext-community
BGP flow-ipv4 routing table entry information of 194:
 Local : r1
 Ext-Community:RT <300:1>
# Display the Large-Community attribute list of the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 194 large-community
BGP flow-ipv4 routing table entry information of 194:
 From  : 1.1.1.1 (1.1.1.1)
 Large-Community:<400:1:1>
# Display the community list of the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 194 community-list
BGP flow-ipv4 routing table entry information of 194:
 From  : 1.1.1.1 (1.1.1.1)
 Community:<400:1>
# Display information about the filtering rule based on the source port number in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 2 source-port
BGP flow-ipv4 routing table prefix information of 2:
 Source-port: eq 24
# Display information about the filtering rule based on the destination port number in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 289 destination-port
BGP flow-ipv4 routing table prefix information of 289:
 Destination-port: gt 34
# Display information about the filtering rule that is based on the origin AS number of the destination IP address in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 66 destination-origin-as
BGP flow-ipv4 routing table prefix information of 66:
 Destination-origin-AS: 255
# Display information about the filtering rule based on the fragment type in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 66 fragment
BGP flow-ipv4 routing table prefix information of 66:
 Fragment: not fragment
# Display information about the filtering rule based on the packet length in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 577 packet-length
BGP flow-ipv4 routing table prefix information of 577:
 Packet-length: gt 20
# Display information about the filtering rule based on the TCP flag in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 65 tcp-flags
BGP flow-ipv4 routing table prefix information of 65:
 TCP-flag: match 22
# Display detailed information about the filtering rule based on the code of an ICMP packet in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 34 icmp-code
BGP flow-ipv4 routing table prefix information of 34:
 ICMP-code: eq 22
# Display AS_Path information of the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 194 as-path
BGP flow-ipv4 routing table entry information of 194:
 From  : 1.1.1.1 (1.1.1.1)
 AS-path 100
# Display detailed information about the filtering rule based on the type of an ICMP packet in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 33 icmp-type
BGP flow-ipv4 routing table prefix information of 33:
 ICMP-type: eq 24
# Display information about the filtering rule based on the IP protocol in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 1 protocol
BGP flow-ipv4 routing table prefix information of 1:
 Protocol: eq 24
# Displays the BGP FlowSpec RR cluster list.
<HUAWEI> display bgp flow routing-table 194 cluster-list
BGP flow-ipv4 routing table entry information of 66:
 Local : r1
 Cluster list:3.3.3.3
# Display information about the filtering rule based on the DSCP value in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 290 dscp
BGP flow-ipv4 routing table prefix information of 290:
 DSCP: eq 33
# Display information about the filtering rule based on the port number in the BGP Flow Specification route.
<HUAWEI> display bgp flow routing-table 194 port
BGP flow-ipv4 routing table prefix information of 194:
 Port: eq 25
Table 1 Description of the display bgp flow routing-table (All views) command output
Item Description
BGP flow-ipv4 routing table entry information of 1

Information about the BGP Flow Specification route with the index being 1.

Local

Local route.

From

Originator of the BGP Flow Specification route.

fragment

Displays detailed information about the filtering rule based on the fragment type in the route.

AS-path

AS path attribute of the BGP Flow Specification route.

Cluster list

Cluster list attribute of the BGP Flow Specification route.

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.
pre

Preference of the BGP Flow Specification route.

Port

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

  • eq: equal to the port number.
  • lt: smaller than the port number.
  • gt: greater than the port number.
Destination-port

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

  • eq: equal to the destination port number.
  • lt: smaller than the destination port number.
  • gt: greater than the destination port number.
Source-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.
DSCP

Filtering rule based on the DSCP value, displayed in one of the following formats:

  • eq: equal to the DSCP value.
  • lt: smaller than the DSCP value.
  • gt: greater than the DSCP value.
Packet-length

Filtering rule based on the packet length, displayed in one of the following formats:

  • eq: equal to the packet length.
  • lt: smaller than the packet length.
  • gt: greater than the packet length.
Destination-origin-AS

Filtering rule that is based on the origin AS number of the destination IP address.

Community

Community attribute of the BGP Flow Specification route.

Large-Community

Large-Community attribute of the BGP Flow Specification route.

Ext-Community

Extended community attribute of the BGP Flow Specification route.

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