R3102-R3103-HP 6600/HSR6600 Routers IP Multicast Command Reference

229
short-cut: Specifies the route to use the local preference. If the route is an EBGP route whose preference
is higher than the local preference, using this keyword can configure the EBGP route to use the local
preference, and thus the route can hardly become the optimal route.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
The network route to be injected must exist in the local IP routing table, and using a routing policy makes
route management more flexible.
The origin attribute of the network route injected through the network command is IGP.
Examples
# In IPv4 MBGP address family view, inject the network 10.0.0.0/16.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] network 10.0.0.0 255.255.0.0
peer advertise-community (MBGP address family view)
Use peer advertise-community to advertise the community attribute to a peer or a peer group.
Use undo peer advertise-community to disable the community attribute advertisement to a peer or a
peer group.
Syntax
peer { group-name | ip-address } advertise-community
undo peer { group-name | ip-address } advertise-community
Default
No community attribute is advertised to any peer group/peer.
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.
Examples
# In IPv4 MBGP address family view, advertise the community attribute to the existing peer group test.
<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-community