peer log-change (BGP-VPN instance IPv6 address family view) (IPv6)

Function

The peer log-change command enables a BGP device to log the session status and events of a specified peer or a peer.

The undo peer log-change command cancels the configuration.

By default, a BGP device is enabled to log the session status and events of a specified peer.

Format

peer ipv6-address log-change

undo peer ipv6-address log-change

Parameters

Parameter Description Value
ipv6-address

Specifies the IPv6 address of a peer.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

BGP-VPN instance IPv6 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

The peer log-change command can be used to enable a device to log the session status and events of a specified peer, facilitating service management.

Example

# Configure a BGP device to log the session status and events of peer 10.1.1.2.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] ipv6-family
[*HUAWEI-vpn-instance-vpn1-af-ipv6] route-distinguisher 100:1
[*HUAWEI-vpn-instance-vpna-af-ipv6] quit
[*HUAWEI-vpn-instance-vpna] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family vpn-instance vpna
[*HUAWEI-bgp-6-vpna] peer 2001:DB8:1::1 as-number 100
[*HUAWEI-bgp-6-vpna] peer 2001:DB8:1::1 log-change
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >