R3303-HP HSR6800 Routers IP Multicast Command Reference
234
Examples
# Enable the ORF capability for the BGP peer 18.10.0.9. Then, after negotiation, the local router can
exchange multicast ORF information with the peer 18.10.0.9.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 18.10.0.9 as-number 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer 18.10.0.9 enable
[Sysname-bgp-af-mul] peer 18.10.0.9 capability-advertise orf ip-prefix both
peer default-route-advertise (MBGP address family view)
Use peer default-route-advertise to advertise a default route to a peer or a peer group.
Use undo peer default-route-advertise to disable default route advertisement to a peer or a peer group.
Syntax
peer { group-name | ip-address } default-route-advertise [ route-policy route-policy-name ]
undo peer { group-name | ip-address } default-route-advertise
Default
No default route is advertised to a peer or a peer group.
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.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
When you use this command, the router unconditionally sends a default route with the next hop as itself
to the peer or the peer group regardless of whether the default route is available in the routing table.
Examples
# In IPv4 MBGP address family view, advertise a default route 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 default-route-advertise