The peer log-change command enables BGP to log any session state and event for the specific peer or the specified peer group.
The undo peer log-change command disables this function.
By default, this function is enabled.
peer { group-name | ipv4-address | ipv6-address } log-change
undo peer { group-name | ipv4-address | ipv6-address } log-change
| Parameter | Description | Value |
|---|---|---|
| group-name | Specifies the name of the peer group. | The name is a string of 1 to 47 characters without any space. It is case-sensitive. |
| ipv4-address | Specifies the IPv4 address of the peer. | - |
| ipv6-address | Specifies the IPv6 address of the peer. | - |
ipv4-address is valid only in the BGP view and BGP-VPN instance IPv4 address family view.
ipv6-address is valid only in the BGP view and BGP-VPN instance IPv6 address family view.
BGP view, BGP-VPN instance IPv4 address family view, BGP-VPN instance IPv6 address family view
Before you run the peer log-change command, the peer as-number command should be used to create a peer or peer group.