display bgp flow vpnv4 vpn-instance routing-table (Route Attribute)

Function

The display bgp flow vpnv4 vpn-instance routing-table peer advertised-routes command displays information about BGP VPN Flow Specification and BGP VPNv4 Flow Specification routes.

Format

display bgp flow vpnv4 vpn-instance vpn-instance-name 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 }

display bgp flow vpnv4 vpn-instance vpn-instance-name routing-table peer remoteIpv4Addr advertised-routes reindex { as-path | community-list | large-community | ext-community | cluster-list | advertised-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.

reindex

Displays information about the route of a specified index.

The value is an integer ranging from 1 to 4294967295.

as-path

Displays AS_Path information of the route.

-

community-list

Displays the community list of the route.

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.

large-community

Displays the Large-Community attribute list of the route.

-

ext-community

Displays the 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.

-

remoteIpv4Addr

Displays routes of a specified peer.

This value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

The display bgp flow vpnv4 vpn-instance routing-table peer advertised-routes command displays information about BGP VPN Flow Specification and BGP VPNv4 Flow Specification routes.

Example

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

# Display the community list of the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 community-list
BGP flow-ipv4 routing table entry information of 2:
 From  : 1.1.1.1 (1.1.1.1)
 Community:<400:1>
# Displays the BGP VPN Flow Specification RR cluster list.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 cluster-list
BGP flow-ipv4 routing table entry information of 2:
 Local : r1
 Cluster list:3.3.3.3
# Display the extended community list of the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 ext-community
BGP flow-ipv4 routing table entry information of 2:
 Local : r1
 Ext-Community:RT <300:1>
# Display information about the filtering rule based on the source port number in the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna 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 VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 destination-port
BGP flow-ipv4 routing table prefix information of 2:
 Destination-port: gt 34
# Display information about the filtering rule based on the port number in the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 port
BGP flow-ipv4 routing table prefix information of 2:
 Port: eq 25
# Display AS_Path information of the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 as-path
BGP flow-ipv4 routing table entry information of 2:
 From  : 10.2.1.2 (3.3.3.3)
 AS-path Nil
# Display the Large-Community attribute list of the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 large-community
BGP flow-ipv4 routing table entry information of 2:
 From  : 1.1.1.1 (1.1.1.1)
 Large-Community:<400:1:1>
# Display information about the filtering rule based on the fragment type in the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 fragment
BGP flow-ipv4 routing table prefix information of 2:
 Fragment: not fragment
# Display information about the filtering rule based on the packet length in the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 packet-length
BGP flow-ipv4 routing table prefix information of 2:
 Packet-length: gt 20
# Display information about the filtering rule based on the TCP flag in the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 tcp-flags
BGP flow-ipv4 routing table prefix information of 2:
 TCP-flag: match 22
# Display detailed information about the filtering rule based on the code of an ICMP packet in the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 icmp-code
BGP flow-ipv4 routing table prefix information of 2:
 ICMP-code: eq 22
# Display information about the filtering rule based on the DSCP value in the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 dscp
BGP flow-ipv4 routing table prefix information of 2:
 DSCP: eq 33
# Display detailed information about the filtering rule based on the type of an ICMP packet in the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 icmp-type
BGP flow-ipv4 routing table prefix information of 2:
 ICMP-type: eq 24
# Display information about the filtering rule based on the IP protocol in the BGP VPN Flow Specification route.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 protocol
BGP flow-ipv4 routing table prefix information of 2:
 Protocol: eq 24
# Display information about the BGP VPN Flow Specification route of a specified index.
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2
ReIndex : 2
 Order   : 0
 Dissemination Rules :
   Protocol       : eq 6
   Src. Port      : eq 159
   ICMP Code      : eq 3
   FragmentType   : match(Don't fragment)
 
 BGP flow-vpnv4 routing table entry information of 536870913:
 Match action :
   apply deny
 From: 10.2.1.2 (3.3.3.3) 
 Route Duration: 0d03h20m23s
 AS-path Nil, origin igp, MED 0, localpref 100, pref-val 0, valid, internal, best, pre 255
 Not advertised to any peer yet
Table 1 Description of the display bgp flow vpnv4 vpn-instance routing-table (Route Attribute) command output
Item Description
BGP flow-ipv4 routing table entry information of 2

The following information is about the BGP FlowSpec route with the index being 2.

BGP flow-vpnv4 routing table entry information of 536870913

The following information is about the BGP VPNv4 Flow Specification route with the index of 536870913:

From

Advertiser of the VPN BGP Flow Specification and BGP VPNv4 Flow Specification routes.

Cluster list

Cluster list attribute of a VPN BGP FlowSpec route.

AS-path

AS_Path attribute of the BGP Flow Specification and BGP VPNv4 Flow Specification routes on the private network.

ReIndex

VPN BGP Flow Specification and BGP VPNv4 Flow Specification route indexes.

Order

Delivery order of traffic filtering rules.

Dissemination Rules

Traffic application rules of VPN BGP Flow Specification and BGP VPNv4 Flow Specification routes.

Protocol

IP protocol-based traffic matching rule. The display format is as follows:

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

Traffic matching rule based on the source port number. The display format is as follows:

  • eq: equal to the source port number.
  • lt: less than the source port number.
  • gt: greater than the source port number.
Port

Traffic matching rule based on the port number. The display format is as follows:

  • eq: equal to the port number.
  • lt: less than the port number.
  • gt: greater than the specified port number.
FragmentType

Traffic matching rule based on the fragment type. The display format is as follows:

  • match fragment: Fragmented packets are matched.
  • not fragment: Fragmented packets are not matched.
  • match fragment-spe-first: The first fragment of fragmented packets is matched.
  • not fragment-spe-first: The first fragment of fragmented packets is not matched.
  • match non-fragment: Packets that do not support fragmentation are matched.
  • not non-fragment: Packets that do not support fragmentation are not matched.
Match action

Action to be taken on routes that match the filtering rules.

apply deny

Traffic matching VPN BGP Flow Specification and BGP VPNv4 Flow Specification routes is denied.

Route Duration

Duration of the BGP Flow Specification and BGP VPNv4 Flow Specification routes in the VPN instance.

origin

Origin attributes of the VPN BGP Flow Specification and BGP VPNv4 Flow Specification routes:

  • IGP.
  • EGP.
  • Incomplete.
MED

MED of routes.

localpref

Local preference.

pref-val

PrefVal of a protocol.

pre

Preference of the BGP Flow Specification and BGP VPNv4 Flow Specification routes in the VPN instance.

Not advertised to any peer yet

The VPN BGP Flow Specification and BGP VPNv4 Flow Specification routes have not been advertised to any peer.

valid

The BGP Flow Specification and BGP VPNv4 Flow Specification routes are valid.

internal

The BGP Flow Specification and BGP VPNv4 Flow Specification routes are internal routes.

best

The BGP Flow Specification and BGP VPNv4 Flow Specification routes are optimal routes.

local

The BGP Flow Specification route or BGP VPNv4 Flow Specification route is a local one.

Destination-port

Filtering rule based on the destination port number, The display format is as follows:

  • eq: equal to the destination port number.
  • lt: less than the destination port number.
  • gt: greater than the destination port number.
Source-port

Traffic matching rule based on the source port number. The display format is as follows:

  • eq: equal to the source port number.
  • lt: less than the source port number.
  • gt: greater than the source port number.
DSCP

Traffic matching rule based on the DSCP value. The display format is as follows:

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

Traffic matching rule based on the packet length. The display format is as follows:

  • eq: equal to the packet length.
  • lt: less than the packet length.
  • gt: greater than the specified packet length.
Community

Community attribute of a VPN BGP Flow Specification route.

Large-Community

Large-community attribute of the BGP FlowSpec route in the VPN instance.

Ext-Community

Extended community attribute of a VPN BGP Flow Specification route.

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