bgp trap

This command enables the sending of BGP traps when a peer transitions to the Established state or a lower state.

Syntax

bgp trap {peer-established | peer-degraded}
no bgp trap {peer-established | peer-degraded}

Parameters

peer-established Specifies that a trap is sent when a peer transitions to the Established state.
peer-degraded Specifies that a trap is sent when a peer transitions to any lower state.

Defaults

None.

Mode

BGP Router Configuration.

Usage

The no bgp trap command resets the sending of peer transition traps to the default value of disabled.

Example

The following example enables the sending of traps when a peer transitions to the Established state:

System(su-config)->router bgp 65151
System(su-config-bgp)->bgp trap peer-established
System(su-config-bgp)->