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

Function

The display bgp mvpn vpnv6 routing-table type 4 route-key-type command displays BGP-IPv6 multicast virtual private network (MVPN) Leaf A-D routes.

Format

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

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

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

display bgp mvpn vpnv6 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 IPv6 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 Leaf A-D route with the route-key as 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 hexadecimal.
  • Y:Y::Y:Y represents the multicast group address in an (S, G) entry, in hexadecimal.
  • 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.
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.

It is in dotted decimal notation.

advertised-routes

Displays the routes advertised to the specified peer.

-

ipv6-address

Specifies an IPv6 peer address.

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 IPv6 MVPN routes, run the display bgp mvpn vpnv6 routing-table type 4 route-key-type command. You can specify different parameters to view the specific routing information.

Example

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

# Display a specified Leaf A-D routes(IPv6) of the VPN instance vrf1.
<HUAWEI> display bgp mvpn vpnv6 vpn-instance vrf1 routing-table type 4 route-key-type 3 2100::2-FF24::1-3.3.3.3-1.1.1.1


 BGP local router ID : 1.1.1.1
 Local AS number : 100
 BGP routing table entry information of 2100::2-FF24::1-3.3.3.3-1.1.1.1:
 Route Distinguisher: 1:2
 Imported route.
 From: 0.0.0.0 (0.0.0.0) 
 Route Duration: 0d00h05m43s
 Relay IP Nexthop: ::
 Relay IP Out-Interface:
 Original nexthop: 127.0.0.1
 Qos information : 0x0
 Ext-Community: RT <3.3.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.3.3, Source IP: 2100::2, Group IP: FF24::1, LeafOriIP : 1.1.1.1
 Not advertised to any peer yet
# Display a specified Leaf A-D routes(IPv6) of the mvpn vpnv6.
<HUAWEI> display bgp mvpn vpnv6 all routing-table type 4 route-key-type 3 2100::2-FF24::1-3.3.3.3-1.1.1.1


 BGP local router ID : 1.1.1.1
 Local AS number : 100
 Total routes of Route Distinguisher(1:2): 1
 BGP routing table entry information of 2100::2-FF24::1-3.3.3.3-1.1.1.1:
 Imported route.
 From: 0.0.0.0 (0.0.0.0) 
 Route Duration: 0d00h06m12s
 Original nexthop: 127.0.0.1
 Qos information : 0x0
 Ext-Community: RT <3.3.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.3.3, Source IP: 2100::2, Group IP: FF24::1, LeafOriIP : 1.1.1.1
 Advertised to such 1 peers:
    2.2.2.2


 Total number of routes of IPv6-MVPN-family for vpn-instance vrf1: 1
 BGP routing table entry information of 2100::2-FF24::1-3.3.3.3-1.1.1.1:
 Route Distinguisher: 1:2
 Imported route.
 From: 0.0.0.0 (0.0.0.0) 
 Route Duration: 0d00h06m12s
 Relay IP Nexthop: ::
 Relay IP Out-Interface:
 Original nexthop: 127.0.0.1
 Qos information : 0x0
 Ext-Community: RT <3.3.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.3.3, Source IP: 2100::2, Group IP: FF24::1, LeafOriIP : 1.1.1.1
 Not advertised to any peer yet
Table 1 Description of the display bgp mvpn vpnv6 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.

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 attribute:

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

Originator IP

Original IP address.

Not advertised to any peer yet

The BGP route has not been advertised to any peer yet.

From

IP address of the router that sends the route.

valid

Valid route.

best

Optimal route.

Ext-Community

Displays the ext-community list of the route.

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