R3303-HP HSR6800 Routers IP Multicast Command Reference

231
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test advertise-ext-community
Related commands
apply extcommunity
if-match extcommunity
ip extcommunity-list (Layer 3—IP Routing Command Reference)
peer allow-as-loop (MBGP address family view)
Use peer allow-as-loop to allow the local AS number to exist in the AS_PATH attribute of routes from a
peer or a peer group, and to configure the number of times that the local AS number can appear.
Use undo peer allow-as-loop to remove the configuration.
Syntax
peer { group-name | ip-address } allow-as-loop [ number ]
undo peer { group-name | ip-address } allow-as-loop
Default
The local AS number is not allowed.
Views
IPv4 MBGP address family view
Default command level
2: System level
Parameters
group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters.
ip-address: Specifies an IPv4 MBGP peer by its IP address.
number: Specifies the number of times that the local AS number can appear in routes from the peer or
the peer group, in the range of 1 to 10. The default number is 1.
Examples
# In IPv4 MBGP address family view, configure the number of times the local AS number can appear in
ro u te s f ro m t h e p e e r 1.1.1.1 a s 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 as-number 200
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer 1.1.1.1 enable
[Sysname-bgp-af-mul] peer 1.1.1.1 allow-as-loop 2