display bgp mvpn vpnv6 routing-table type

Function

The display bgp mvpn vpnv6 routing-table type command displays BGP-IPv6 multicast virtual private network (MVPN) from type1 to type 7 A-D routes.

Format

display bgp mvpn vpnv6 { all | route-distinguisher route-distinguisher } routing-table type { 1 | 2 | 3 | 5 | 6 | 7 } network

display bgp mvpn vpnv6 vpn-instance vpn-instance-name routing-table type { 1 | 2 | 3 | 5 | 6 | 7 } network

display bgp mvpn vpnv6 all routing-table peer ipv4-address advertised-routes type { 1 | 2 | 3 | 5 | 6 | 7 } network

display bgp mvpn vpnv6 all routing-table peer ipv6-address advertised-routes type { 1 | 2 | 3 | 5 | 6 | 7 } network

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, wherex 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.

-

2

Displays S-PMSI A-D routes.

-

3

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

-

5

Displays Source-active A-D routes.

-

6

Displays Shared Tree Join C-multicast routes.

-

7

Displays Source Tree Join C-multicast routes.

-

network

The meanings of different A-D routes are as follows:

  • Type 1:Displays an intra-AS I-PMSI A-D route.
  • Type 2:Displays an inter-AS I-PMSI A-D route.
  • Type 3:Displays an S-PMSI A-D route.
  • Type 4:Displays a Leaf A-D route.
  • Type 5:Displays a Source Active A-D route.
  • Type 6:Displays a C-multicast route.
  • Type 7:Displays a C-multicast route.

Different A-D routes have different values:

  • Type 1:The value is the IP address of the source device, in dotted decimal notation.
  • Type 2:The value is the source AS number. The value is an integer ranging from 1 to 4294967295.
  • Type 3:The value is in the format of X:X::X:X-Y:Y::Y:Y-Z.Z.Z.Z.

    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 IPv6 address of the source device, in dotted decimal notation.

  • Type 4:For the value, see the display bgp mvpn vpnv6 routing-table type 4 route-key-type command.
  • Type 5: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 hexadecimal.

    Y:Y::Y:Y represents the multicast group address in an (S, G) entry, in hexadecimal.

  • Type 6 and Type 7:The value is in the format of AS number:X:X::X:X-Y:Y::Y:Y.

    AS number: The value is an integer ranging from 1 to 4294967295.

    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.

Different A-D routes have different values(Include IPv6):

  • Type 1:The value is the IPv6 address of the source device, in hexadecimal.
  • Type 2:The value is the source AS number. The value is an integer ranging from 1 to 4294967295.
  • Type 3:The value is in the format of X:X::X:X-Y:Y::Y:Y-Z:Z::Z:Z.

    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 IPv6 address of the source device, in hexadecimal.

  • Type 4:For the value, see the display bgp mvpn vpnv6 routing-table type 4 route-key-type command.
  • Type 5: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 hexadecimal.

    Y:Y::Y:Y represents the multicast group address in an (S, G) entry, in hexadecimal.

  • Type 6 and Type 7:The value is in the format of AS number:X:X::X:X-Y:Y::Y:Y.

    AS number: The value is an integer ranging from 1 to 4294967295.

    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.

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 IPv6 MVPN routes, run the display bgp mvpn vpnv6 routing-table 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 intra-AS I-PMSI A-D routes of the VPN instance VPNA.
<HUAWEI> display bgp mvpn vpnv6 vpn-instance VPNA routing-table type 1 2.2.2.2
 BGP local router ID : 3.3.3.3
 Local AS number : 100
 BGP routing table entry information of 2.2.2.2:
 Route Distinguisher: 2:3
 Remote-Cross route
 From: 2.2.2.2 (4.4.4.4) 
 Route Duration: 0d04h26m45s
 Original nexthop: 2.2.2.2
 Qos information : 0x0            
 Ext-Community: RT <100 : 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: 2.2.2.2
 Not advertised to any peer yet
Table 1 Description of the display bgp mvpn vpnv6 routing-table type command output
Item Description
BGP local router ID

ID of the local BGP device, in the same format as an IPv4 address.

BGP routing table entry information of 2.2.2.2

Information about the routing table of the route 2.2.2.2.

Local AS number

Local AS number.

Route Distinguisher

Route distinguisher.

Route Duration

Duration of the route.

Route Type

Route type:

Remote-Cross route

The route is a remotely leaked one.

Original nexthop

Original next hop.

Qos information

QoS information.

AS-path Nil

AS_Path attribute. Nil indicates that the attribute value is null.

origin incomplete

Origin attribute of the BGP route. It has the following three types:

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

MED value of a route.

localpref

Local preference of a route.

pref-val

PrefVal.

pre 255

The priority of the BGP route is 255.

Originator IP

Source IP address.

Not advertised to any peer yet

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

From

IP address of the device that sends the route.

Ext-Community

Extended community attribute.

valid

Valid route.

internal

The route is an internal route.

best

Optimal route.

select

Selected route.

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