display bgp routing-table ipv6 multicast

Use display bgp routing-table ipv6 multicast to display BGP IPv6 multicast routing information.

Syntax

display bgp [ instance instance-name ] routing-table ipv6 multicast [ ipv6-address prefix-length [ advertise-info ] | as-path-acl as-path-acl-number | community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } | peer ipv6-address { advertised-routes | received-routes } [ ipv6-address prefix-length | statistics ] | statistics ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify this option, the command displays BGP IPv6 multicast routing information for the default BGP instance.

ipv6-address prefix-length: Specifies the destination network address and prefix length. The value range for the prefix-length argument is 0 to 128. If you do not specify this argument, the command displays brief information about all BGP IPv6 multicast routing information.

advertise-info: Displays advertisement information for BGP IPv6 multicast routes. If you do not specify this keyword, the command displays the BGP IPv6 multicast routing table.

as-path-acl as-path-acl-number: Displays BGP IPv6 multicast routes that match the AS path list specified by its number in the range of 1 to 256.

community-list: Displays BGP IPv6 multicast routes that match a community list.

basic-community-list-number: Specifies a basic community list by its number in the range of 1 to 99.

comm-list-name: Specifies a community list by its name, a case-sensitive string of 1 to 63 characters.

whole-match: Displays BGP IPv6 multicast routes exactly matching the specified community list. If you do not specify this keyword, the command displays BGP IPv6 multicast routes whose COMMUNITY attributes include the specified community list.

adv-community-list-number: Specifies an advanced community list by its number in the range of 100 to 199.

peer: Displays BGP IPv6 multicast routing information advertised to or received from the specified peer.

ipv6-address: Specifies the peer IPv6 address.

advertised-routes: Displays BGP IPv6 multicast routing information advertised to the specified peer.

received-routes: Displays BGP IPv6 multicast routing information received from the specified peer.

statistics: Displays routing statistics.

Examples

# Display brief information about all BGP IPv6 multicast routes.

<Sysname> display bgp routing-table ipv6 multicast

 Total number of routes: 5

 BGP local router ID is 192.168.1.139
 Status codes: * - valid, > - best, d - dampened, h - history,
               s - suppressed, S - stale, i - internal, e - external
               a – additional-path
               Origin: i - IGP, e - EGP, ? - incomplete

* >  Network : 1::                                      PrefixLen : 64
     NextHop : ::                                       LocPrf    :
     PrefVal : 32768                                    OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

*  i Network : 1::                                      PrefixLen : 64
     NextHop : 1::1                                     LocPrf    : 100
     PrefVal : 0                                        OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

* >  Network : 1::2                                     PrefixLen : 128
     NextHop : ::1                                      LocPrf    :
     PrefVal : 32768                                    OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

* >  Network : 2::2                                     PrefixLen : 128
     NextHop : ::1                                      LocPrf    :
     PrefVal : 32768                                    OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

* >i Network : 5::5                                     PrefixLen : 128
     NextHop : 1::1                                     LocPrf    : 100
     PrefVal : 0                                        OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

# Display information about BGP IPv6 multicast routes that match AS path list 1.

<Sysname> display bgp routing-table ipv6 multicast as-path-acl 1

 Total number of routes: 5

 BGP local router ID is 192.168.1.139
 Status codes: * - valid, > - best, d - dampened, h - history,
               s - suppressed, S - stale, i - internal, e - external
               a – additional-path
               Origin: i - IGP, e - EGP, ? - incomplete

* >  Network : 1::                                      PrefixLen : 64
     NextHop : ::                                       LocPrf    :
     PrefVal : 32768                                    OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

*  i Network : 1::                                      PrefixLen : 64
     NextHop : 1::1                                     LocPrf    : 100
     PrefVal : 0                                        OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

* >  Network : 1::2                                     PrefixLen : 128
     NextHop : ::1                                      LocPrf    :
     PrefVal : 32768                                    OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

* >  Network : 2::2                                     PrefixLen : 128
     NextHop : ::1                                      LocPrf    :
     PrefVal : 32768                                    OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

* >i Network : 5::5                                     PrefixLen : 128
     NextHop : 1::1                                     LocPrf    : 100
     PrefVal : 0                                        OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

# Display information about BGP IPv6 multicast routes that match BGP community list 100.

<Sysname> display bgp routing-table ipv6 multicast community-list 100

 Total number of routes: 5

 BGP local router ID is 192.168.1.139
 Status codes: * - valid, > - best, d - dampened, h - history,
               s - suppressed, S - stale, i - internal, e - external
               a – additional-path
               Origin: i - IGP, e - EGP, ? - incomplete

* >  Network : 1::                                      PrefixLen : 64
     NextHop : ::                                       LocPrf    :
     PrefVal : 32768                                    OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

*  i Network : 1::                                      PrefixLen : 64
     NextHop : 1::1                                     LocPrf    : 100
     PrefVal : 0                                        OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

* >  Network : 1::2                                     PrefixLen : 128
     NextHop : ::1                                      LocPrf    :
     PrefVal : 32768                                    OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

* >  Network : 2::2                                     PrefixLen : 128
     NextHop : ::1                                      LocPrf    :
     PrefVal : 32768                                    OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

* >i Network : 5::5                                     PrefixLen : 128
     NextHop : 1::1                                     LocPrf    : 100
     PrefVal : 0                                        OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

# Display information about all BGP IPv6 multicast routes advertised to peer 1::1.

<Sysname> display bgp routing-table ipv6 multicast peer 1::1 advertised-routes

 Total number of routes: 2

 BGP local router ID is 192.168.1.139
 Status codes: * - valid, > - best, d - dampened, h - history,
               s - suppressed, S - stale, i - internal, e - external
               a – additional-path
               Origin: i - IGP, e - EGP, ? - incomplete

* >  Network : 1::                                      PrefixLen : 64
     NextHop : ::                                       LocPrf    : 100
     MED     : 0                                        OutLabel  : NULL
     Path/Ogn: ?

* >  Network : 2::2                                     PrefixLen : 128
     NextHop : ::1                                      LocPrf    : 100
     MED     : 0                                        OutLabel  : NULL
     Path/Ogn: ?

# Display information about all BGP IPv6 multicast routes received from peer 1::1.

<Sysname> display bgp routing-table ipv6 multicast peer 1::1 received-routes

 Total number of routes: 2

 BGP local router ID is 192.168.1.139
 Status codes: * - valid, > - best, d - dampened, h - history,
               s - suppressed, S - stale, i - internal, e - external
               a – additional-path
               Origin: i - IGP, e - EGP, ? - incomplete

*  i Network : 1::                                      PrefixLen : 64
     NextHop : 1::1                                     LocPrf    : 100
     PrefVal : 0                                        OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

* >i Network : 5::5                                     PrefixLen : 128
     NextHop : 1::1                                     LocPrf    : 100
     PrefVal : 0                                        OutLabel  : NULL
     MED     : 0
     Path/Ogn: ?

Table 108: Command output

Field

Description

Status codes

Status codes:

  • * – valid—Valid route.

  • > – best—Optimal route.

  • d – dampened—Dampened route.

  • h – history—History route.

  • s – suppressed—Suppressed route.

  • S stale—Stale route.

  • i – internal—Internal route.

  • e – external—External route.

  • a additional-path—Add-Path optimal route.

Origin

Origin of the route:

  • i – IGP—Originated in the AS. The origin of routes advertised with the network command is IGP.

  • e – EGP—Learned through EGP.

  • ?– incomplete—Unknown origin. The origin of routes redistributed from IGP protocols is INCOMPLETE.

Network

Destination network address.

PrefixLen

Prefix length of the destination network address.

NextHop

Next hop IP address.

LocPrf

Local preference value.

PrefVal

Preferred value of the route.

OutLabel

This field is not supported in the current software version.

Outgoing label of the route.

MED

MULTI_EXIT_DISC attribute.

Path/Ogn

AS_PATH and ORIGIN attributes of the route:

  • AS_PATH—Records the ASs the route has passed, which avoids routing loops.

  • ORIGIN—Identifies the origin of the route.

# Display detailed information about BGP IPv6 multicast routes destined to network 2::2/128.

<Sysname> display bgp routing-table ipv6 multicast 2::2 128

 BGP local router ID: 192.168.1.139
 Local AS number: 100

 Paths:   1 available, 1 best

 BGP routing table information of 2::2/128:
 Imported route.
 Original nexthop: ::1
 OutLabel        : NULL
 RxPathID        : 0x0
 TxPathID        : 0x0
 AS-path         : (null)
 Origin          : incomplete
 Attribute value : MED 0, pref-val 32768
 State           : valid, local, best
 IP precedence   : N/A
 QoS local ID    : N/A
 Traffic index   : N/A

Table 109: Command output

Field

Description

Paths

Number of routes:

  • available—Number of valid routes.

  • best—Number of optimal routes.

Original nexthop

Original next hop of the route. If the route was obtained from a BGP update message, the original next hop is the next hop IP address in the message.

OutLabel

This field is not supported in the current software version.

Outgoing label of the route.

RxPathID

Add-path ID of received routes.

TxPathID

Add-path ID of advertised routes.

AS-path

AS_PATH attribute of the route, which records the ASs the route has passed and avoids routing loops.

Origin

Origin of the route:

  • igp—Originated in the AS. The origin of routes advertised with the network command is IGP.

  • egp—Learned through EGP.

  • incomplete—Unknown origin. The origin of routes redistributed from IGP protocols is INCOMPLETE.

Attribute value

BGP path attributes:

  • MED—MED value.

  • localpref—Local preference value.

  • pref-val—Preferred value.

  • pre—Route preference.

State

Current state of the route:

  • valid.

  • internal.

  • external.

  • local.

  • synchronize.

  • best.

From

IP address of the BGP peer that advertised the route.

Rely Nexthop

Next hop found by route recursion. If no next hop is found, this field displays not resolved.

IP precedence

IP precedence in the range of 0 to 7. N/A indicates that the route does not support this field.

QoS local ID

QoS local ID in the range of 1 to 4095. N/A indicates that the route does not support this field.

Traffic index

Traffic index in the range of 1 to 64. N/A indicates that the route does not support this field.

# Display advertisement information for BGP IPv6 multicast routes destined to network 2::2/128.

<Sysname> display bgp routing-table ipv6 multicast 2::2 128 advertise-info

 BGP local router ID: 192.168.1.139
 Local AS number: 100

 Paths:   1 best

 BGP routing table information of 2::2/128(TxPathID:0):
 Advertised to peers (1 in total):
    1::1

Table 110: Command output

Field

Description

BGP local router ID

Local BGP router ID.

Local AS number

Local AS number.

Paths

Number of optimal routes to the destination.

BGP routing table information of 2::2/128(TxPathID:0)

Advertisement information for network 2::2/128.

Advertised to peers (1 in total)

Peers to which the network has been advertised.

# Display statistics for BGP IPv6 multicast routes advertised to peer 1::1.

<Sysname> display bgp routing-table ipv6 multicast peer 1::1 advertised-routes statistics
 
 Advertised routes total: 2

# Display statistics for BGP IPv6 multicast routes received from peer 1::1.

<Sysname> display bgp routing-table ipv6 multicast peer 1::1 received-routes statistics
 
 Received routes total: 2

Table 111: Command output

Field

Description

Advertised routes total

Total number of advertised routes.

Received routes total

Total number of received routes.

# Display BGP IPv6 multicast route statistics.

<Sysname> display bgp routing-table ipv6 multicast statistics

 Total number of routes: 5

Table 112: Command output

Field

Description

Total number of routes

Total number of routes.

Related commands

ip as-path

ip community-list