R3303-HP HSR6800 Routers IP Multicast Command Reference

238
Syntax
peer { group-name | ip-address } keep-all-routes
undo peer { group-name | ip-address } keep-all-routes
Default
The feature is not enabled.
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, save all the routing information from peer 131.108.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 131.108.1.1 as-number 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer 131.108.1.1 enable
[Sysname-bgp-af-mul] peer 131.108.1.1 keep-all-routes
peer next-hop-local (MBGP address family view)
Use peer next-hop-local to specify the router as the next hop for routes sent to a peer or a peer group.
Use undo peer next-hop-local to remove the configuration.
Syntax
peer { group-name | ip-address } next-hop-local
undo peer { group-name | ip-address } next-hop-local
Default
The routes advertised to an EBGP peer or a peer group take the local router as the next hop, but the
routes outgoing to an IBGP peer or a peer group do not take the local router as the next hop.
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.