Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 5 BGP Configuration Commands
5-50
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
5.1.59 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 a peer group, a string of 1 to 47 characters.
ip-address
: IP address of a peer.
cipher
: Displays the configured password in cipher text format.
simple
: Displays the configured password in plain text format.
password
: Password, a string of 1 to 80 characters when the
simple
keyword is used,
or when the
cipher
keyword and plain text password are used; a string of 108
characters when the cipher text password and the
cipher
keyword are used.
Description
Use the
peer password
command to configure BGP to perform MD5 authentication
when a TCP connection is being established with a peer/peer group.
Use the
undo peer password
command to disable the function.
By default, no MD5 authentication is performed for TCP connection establishment.