3com S7906E 参照ガイド
1-40
[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 family view)
Syntax
peer { group-name | ip-address } next-hop-local
undo peer { group-name | ip-address } next-hop-local
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
group-name: Name of an IPv4 MBGP peer group, a string of 1 to 47 characters.
ip-address: IP address of an IPv4 MBGP peer.
Description
Use the peer next-hop-local command to specify the router as the next hop for routes sent to a
peer/peer group.
Use the undo peer next-hop-local command to remove the configuration.
By default, routes advertised to an EBGP peer/peer group take the local router as the next hop, while
routes outgoing to an IBGP peer/peer group do not take the local router as the next hop.
Examples
# In IPv4 MBGP address family view, specify the router as the next hop for routes sent to the peer group
test.
<Sysname> system-view
[Sysname]bgp 100
[Sysname-bgp]group test internal
[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 next-hop-local
peer preferred-value (MBGP family view)
Syntax
peer { group-name | ip-address } preferred-value value
undo peer { group-name | ip-address } preferred-value
View
IPv4 MBGP address family view