log-up-down

This command causes a message to be logged via the syslog mechanism whenever a BGP peer enters or leaves the established state.

Syntax

log-up-down
no log-up-down

Parameters

None.

Defaults

None.

Mode

BGP Router Configuration.

Usage

The log-up-down command specifies whether a message will be logged via the syslog mechanism whenever a BGP peer enters or leaves the Established state. When the log-up-down command is enabled, it is specified in the running-config, even though the command is enabled by default.

The no log-up-down command disables logging a message via the syslog mechanism whenever a BGP peer enters or leaves the Established state.

Example

The following example causes a message to be logged in syslog whenever this peer leaves or enters the Established state:

System(su-config)->bgp router 65151
System(su-config-bgp)->bgp router-id 159.1.1.9
System(su-config-bgp)->log-up-down