Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 5 BGP Configuration Commands
5-49
[Sysname-bgp] peer 131.100.1.1 as-number 200
[Sysname-bgp] peer 131.100.1.1 keep-all-routes
5.1.57 peer log-change
Syntax
peer
{
group-name | ip-address
}
log-change
undo peer
{
group-name | ip-address
}
log-change
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.
Description
Use the
peer log-change
command to enable the logging of session state and event
information for a specified peer or peer group.
Use the
undo peer log-change
command to remove the configuration.
The logging is enabled by default.
Examples
# In BGP view, enable the logging of session state and event information for peer group
test
.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test log-change
5.1.58 peer next-hop-local
Syntax
peer
{
group-name | ip-address
}
next-hop-local
undo peer
{
group-name | ip-address
}
next-hop-local
View
BGP view
Parameters
group-name
: Name of a peer group, a string of 1 to 47 characters.