H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-42
5.1.46 peer next-hop-local
Syntax
peer group-name next-hop-local
undo peer group-name next-hop-local
View
BGP view
Parameters
group-name: Name of the peer group, containing 1 to 47 characters.
Description
Use the peer next-hop-local command to configure the peer group to take its own
address as the next hop when routes are advertised to the peer group.
Use the undo peer next-hop-local command to cancel the existing configuration.
Examples
# When BGP distributes the routes to the peer group test, it will take its own address as
the next hop.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer test next-hop-local
5.1.47 peer password
Syntax
peer { group-name | ip-address } password { cipher | simple } password
undo peer { group-name | ip-address } password
View
BGP view
Parameters
group-name: Name of the peer group, containing 1 to 47 characters.
ip-address: IP address of the peer, in dotted decimal notation.
cipher: Displays the configured password in cipher text mode.
simple: Displays the configured password in simple text mode.