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.
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 }
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. |
The actual command output varies according to the device. The command output here is only an example.
<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>
<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
<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>
<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
<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
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 port
BGP flow-ipv4 routing table prefix information of 2:
Port: eq 25
<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
<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>
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 fragment
BGP flow-ipv4 routing table prefix information of 2:
Fragment: not fragment
<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
<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
<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
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 dscp
BGP flow-ipv4 routing table prefix information of 2:
DSCP: eq 33
<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
<HUAWEI> display bgp flow vpnv4 vpn-instance vpna routing-table 2 protocol
BGP flow-ipv4 routing table prefix information of 2:
Protocol: eq 24
<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
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:
|
Src. Port | Traffic matching rule based on the source port number. The display format is as follows:
|
Port | Traffic matching rule based on the port number. The display format is as follows:
|
FragmentType | Traffic matching rule based on the fragment type. The display format is as follows:
|
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:
|
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:
|
Source-port | Traffic matching rule based on the source port number. The display format is as follows:
|
DSCP | Traffic matching rule based on the DSCP value. The display format is as follows:
|
Packet-length | Traffic matching rule based on the packet length. The display format is as follows:
|
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. |