Peer Log-Change (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] peer 131.100.1.1 keep-all-routes
# In BGP-VPN instance view, save routing information from peer 131.100.1.1(the VPN
has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer 131.100.1.1 as-number 200
[Sysname-bgp-vpn1] peer 131.100.1.1 keep-all-routes

1.1.58 peer log-change (BGP/BGP-VPN instance view)

Syntax
peer { group-name | ip-address } log-change
undo peer { group-name | ip-address } log-change
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 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
# In BGP-VPN instance view, enable the logging of session state and event information
for peer group test (the VPN has been created).
<Sysname> system-view
Chapter 1 BGP Configuration Commands
1-59

Advertisement

Table of Contents
loading

Table of Contents