peer advertise cmulticast-nexthop

Function

The peer advertise cmulticast-nexthop command configures the next hop of the AD route, which is used to transmit C-multicast routes.The undo peer advertise cmulticast-nexthop command cancels the existing configuration.

By default, the next hop of AD route is not used to match packets.

Format

peer ipv4-address advertise cmulticast-nexthop

peer ipv6-address advertise cmulticast-nexthop

undo peer ipv4-address advertise cmulticast-nexthop

undo peer ipv6-address advertise cmulticast-nexthop

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a peer.

The address is in dotted decimal notation.

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

BGP-MVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

The peer advertise cmulticast-nexthop command can be used to set the IP address of an MVPN neighbor to the next hop of the AD route, which is used to transmit C-multicast routes.

Example

# Configure the IP address 2.2.2.9 as the next hop of the AD route.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2.2.2.9 as-number 200
[*HUAWEI-bgp] ipv4-family mvpn
[*HUAWEI-bgp-af-mvpn] peer 2.2.2.9 enable
[*HUAWEI-bgp-af-mvpn] peer 2.2.2.9 advertise cmulticast-nexthop
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >