Command Manual – Multicast Protocol
Quidway S8500 Series Routing Switches
Chapter 7 MBGP Multicast Extension
Configuration Commands
Huawei Technologies Proprietary
7-23
Description
Use the
peer
next-hop-local
command to remove the processing of the next hop in
routes which BGP will advertise to the peer group and set the local address as the next
hop.
Use the
undo peer
next-hop-local
command to cancel the configuration.
Example
# Set the local address as next-hop when advertising routes to peer group named test.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] bgp 100
[Quidway-bgp] ipv4-family multicast
[Quidway-bgp-af-mul] peer test next-hop-local
7.1.33 peer public-as-only
Syntax
peer
group-name
public-as-only
undo peer group-name public-as-only
View
IPv4 multicast sub-address family view
Parameter
group-name
: Name of the peer group.
Description
Use the
peer
public-as-only
command to set to contain only public AS IDs in the
MBGP Update message, but not private AS IDs.
Use the
undo
peer
public-as-only
command to restore the default setting, the router
contains only private AS IDs in the MBGP Update message.
By default, the private AS ID is carried when BGP sends MBGP Update message.
Generally, MBGP sends MBGP Update message with the AS ID (which can be either
the public AS number or private AS number) contained. To enable some egress routers
to ignore the private AS ID when sending MBGP Update message, you can configure
not to carry the private AS IDs when sending MBGP Update message.
Example
# Set not to carry private AS IDs when sending MBGP Update message to peer group
"test”.