Peer Next-Hop-Local (Bgp/Bgp-Vpn Instance View) - H3C S9500 Series Command Manual

Routing switch bgp
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Command Manual – BGP
H3C S9500 Series Routing Switches
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test log-change

1.1.59 peer next-hop-local (BGP/BGP-VPN instance view)

Syntax
peer { group-name | ip-address } next-hop-local
undo peer { group-name | ip-address } next-hop-local
View
BGP view /BGP-VPN instance view
Default Level
2: System level
Parameters
group-name: Name of a peer group.
ip-address: IP address of a peer.
Description
Use the peer next-hop-local command to specify the router as the next hop for routes
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 to an IBGP peer/peer group do not take the local router as the
next hop.
Examples
# In BGP view, set the next hop of routes advertised to peer group test to the router
itself.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test next-hop-local
# In BGP-VPN instance view, set the next hop of routes advertised to peer group test to
the router itself (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test next-hop-local
Chapter 1 BGP Configuration Commands
1-60

Advertisement

Table of Contents
loading

Table of Contents