display bgp mvpn routing-table type 4 route-key-type

Function

The display bgp mvpn routing-table type 4 route-key-type command displays BGP Multicast Virtual Private Network (MVPN) Leaf A-D routes.

Format

display bgp mvpn { all | route-distinguisher route-distinguisher } routing-table type 4 route-key-type { 1 | 3 } leaf-s-pmsi

display bgp mvpn vpn-instance vpn-instance-name routing-table type 4 route-key-type { 1 | 3 } leaf-s-pmsi

display bgp mvpn all routing-table peer ipv4-address advertised-routes type 4 route-key-type { 1 | 3 } leaf-s-pmsi

display bgp mvpn all routing-table peer ipv6-address advertised-routes type 4 route-key-type { 1 | 3 } leaf-s-pmsi

Parameters

Parameter Description Value
all

Displays all BGP MVPN routes.

-

route-distinguisher route-distinguisher

Displays BGP routes of the specified Route Distinguisher (RD).

The RD formats are divided into the following types:

  • 2-byte AS number:4-byte user-defined number, for example, 101:3. An AS number ranges from 0 to 65535. A user-defined number ranges from 0 to 4294967295. The AS number and the user-defined number cannot be 0s at the same time. That is, an RD cannot be 0:0.
  • Integral 4-byte AS number:2-byte user-defined number, for example, 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.4-byte AS number in dotted notation:2-byte user-defined number, for example, 0.0:3 or 0.1:0.
  • 4-byte AS number in dotted notation is in the format of x.y, where x and y are integers that range from 0 to 65535. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0.0:0.
  • IPv4-address:2-byte user-defined number, for example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255. A user-defined number ranges from 0 to 65535.
1

Displays intra-AS I-PMSI A-D routes.

-

3

Displays S-PMSI A-D routes.

-

leaf-s-pmsi

Displays A-D routes.

IP address:
  • If the specified Route-key is 1,

The value is in the format of X.X.X.X:Y.Y.Y.Y.X.X.X.X represents the multicast source address in an (S, G) entry, in dotted decimal notation.Y.Y.Y.Y represents the multicast group address in an (S, G) entry, in dotted decimal notation. The value ranges from 224.0.0.0 to 239.255.255.255.

  • If the specified Route-key is 3,

    The value is in the format of X.X.X.X:Y.Y.Y.Y:Z.Z.Z.Z:L.L.L.L.X.X.X.X represents the multicast source address in an (S, G) entry, in dotted decimal notation.Y.Y.Y.Y represents the multicast group address in an (S, G) entry, in dotted decimal notation. The value ranges from 224.0.0.0 to 239.255.255.255.Z.Z.Z.Z represents the IP address of the source device, in dotted decimal notation.L.L.L.L represents the IP address of the source leaf device, in dotted decimal notation.

IPv6 address:

  • If the specified Route-key is 1,

    The value is in the format of X:X::X:X-Y:Y::Y:Y represents the multicast source address in an (S, G) entry, in hexadecimal.Y:Y::Y:Y represents the multicast group address in an (S, G) entry, in hexadecimal. The value ranges from FFXX::.

  • If the specified Route-key is 3,

    The value is in the format of X.X.X.X-Y.Y.Y.Y-Z:Z::Z:Z-L:L::L:L represents the multicast source address in an (S, G) entry, in dotted decimal notation.Y.Y.Y.Y represents the multicast group address in an (S, G) entry, in hexadecimal. The value ranges from 224.0.0.0 to 239.255.255.255.Z:Z::Z:Z represents the IPv6 address of the source device, in hexadecimal.Z:Z::Z:Z represents the IPv6 address of the source leaf device, in hexadecimal.

vpn-instance vpn-instance-name

Displays the BGP routes of the specified 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.

peer ipv4-address

Displays the routes of the specified BGP peer.

The value is in dotted decimal notation.

advertised-routes

Displays the routes advertised to the specified peer.

-

ipv6-address

Specifies the address of the IPv6 peer to be displayed.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To view BGP MVPN routes, run the display bgp mvpn routing-table type 4 route-key-type command. You can specify different parameters to view the specific routing information.

When BGP MVPN routing table is displayed, if the length of the destination address mask of an IPv4 route is the same as that of its natural mask, the mask length is not displayed.

Example

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

# Display information about Leaf A-D routes in an MVPN instance.
<HUAWEI> display bgp mvpn vpn-instance ng routing-table  type 4 route-key-type 1 10.0.0.2
 BGP local router ID : 10.0.0.4
 Local AS number : 100
 BGP routing table entry information of 10.0.0.2:
 Route Distinguisher: 100:1
 Remote-Cross route
 From: 10.0.0.2 (10.0.0.2) 
 Route Duration: 0d00h00m12s
 Original nexthop: 10.0.0.2
 Qos information : 0x0
 Ext-Community: RT <1 : 1>
 AS-path Nil, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 255
 Route Type: 1 (Intra-AS I-PMSI AD Route)
 Originator IP: 10.0.0.2
 PMSI: Flags 0x0,RSVP-TE P2MP LSP, Label 0:0:0(0), P2MP ID: 0x63000002, Tunnel ID: 49153, Extended tunnel ID: 10.0.0.2
 Not advertised to any peer yet
# Display information about Leaf A-D routes(IPv6) in an MVPN instance.
<HUAWEI> display bgp mvpn vpn-instance vrf1 routing-table type 4  route-key-type 1  3::3-1::1


 BGP local router ID : 1.1.1.1
 Local AS number : 100
 BGP routing table entry information of 3::3-1::1:
 Route Distinguisher: 1:1
 Imported route.
 From: 0.0.0.0 (0.0.0.0) 
 Route Duration: 0d01h20m10s
 Original nexthop: 127.0.0.1
 Qos information : 0x0
 IPv6 Ext-Community: RT <3::3 . 0>
 AS-path Nil, origin incomplete, MED 0, pref-val 0, valid, local, best, select, pre 255
 Route Type: 4 (Leaf AD Route)
 Originator IP: 3::3, LeafOriIP : 1::1
 PMSI: Flags 0x0, Label 0:0:0(0), subdomain ID: 0, BFR ID: 2, BFR prefix: 1::1
 Not advertised to any peer yet
Table 1 Description of the display bgp mvpn routing-table type 4 route-key-type command output
Item Description
BGP local router ID

ID of the local BGP device. The format is the same as the IPv4 address.

BGP routing table entry information of

The following information is about the route X.X.X.X.

Local AS number

Local AS number.

Route Distinguisher

Route distinguisher.

Route Duration

Duration of routes.

Route Type

Route type.

AS-path Nil

AS_Path attribute, with Nil indicating that the attribute value is null.

origin incomplete

Origin:

  • IGP: The Origin attribute of the routes that are added to the BGP routing table by using the network (BGP) command is IGP.
  • EGP: indicates that the Origin attribute of the routes obtained through EGP is EGP.
  • Incomplete: The origin of the route cannot be identified. The origin property of the routes that are added to the BGP routing table by using the import-route (BGP) command is Incomplete.
MED

Multi_Exit discriminator.

pref-val

PrefVal.

pre 255

The priority of the BGP route is 255.

Originator IP

Original IP address.

IPv6 Ext-Community

Displays the IPv6 ext-community list of the route.

From

IP address of the router that sends the route.

best

Optimal route.

select

Selected route.

nexthop

Next-hop address used to forward messages.

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