# debug ip bgp

#### Syntax

debug ip bgp [ in | out ] [ peerAddress [ peerAddressMask ] ] [ bgpLog ]
[ router routerName ] [ filtering-router filteringRouterName ] [ accessClassName ]
[ route-map mapName ] [ severity { severityValue | severityNumber } ]
[ verbosity verbosityLevel ] [ secondary ]

no debug ip bgp [ in | out ] [ peerAddress [ peerAddressMask ] ] [ bgpLog ]
[ router routerName ] [ filtering-router filteringRouterName ] [ accessClassName ]
[ route-map mapName ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Shows information about the selected variable. The no version disables the display.

#### Options

- in—Displays information for inbound events
- out—Displays information for outbound events
- peerAddress—IP address of BGP peer for which information is displayed
- peerAddressMask—Network mask of BGP peer for which information is displayed
- bgpLog—BGP log of interest; one of the following options:
  - dampening—BGP dampening event; route is suppressed or no longer suppressed by route-flap dampening
  - events—BGP finite state machine events and transitions
  - keepalives—BGP keepalive message events
  - next-hops—BGP next hop events
  - updates—BGP routing table update events
- routerName—Name of the virtual router that owns the BGP router for which information is being displayed
- filteringRouterName—Name of the virtual router that owns the access class and route map parameters
- accessClassName—Name of an access list to filter output
- mapName—Name of a route map to filter output
- severity—Specifies the minimum severity of the log messages displayed for the selected category; described either by a descriptive term—severityValue—or by a corresponding number—severityNumber—in the range 0–7; the lower the number, the higher the priority:
  - emergency or 0—System unusable
  - alert or 1—Immediate action needed
  - critical or 2—Critical condition exists
  - error or 3—Error condition
  - warning or 4—Warning condition
  - notice or 5—Normal but significant condition
  - info or 6—Informational message
  - debug or 7—Debug message
- verbosityLevel—Verbosity of the log category's messages; can be any of the following:
  - low—Terse
  - medium—Moderate detail
  - high—Verbose
- secondary—Indicates that the specified filter conditions for the log are imposed in addition to any that were previously specified; if omitted, the specified filter conditions replace any that were previously specified

#### Mode

Privileged Exec