# bgp router-id

#### Syntax

bgp router-id ipAddress

no bgp router-id [ ipAddress ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Sets the BGP identifier. The no version restores the router ID as the identifier.

#### Options

- ipAddress—IP address to be used as the BGP identifier; ignored if present in the no version

#### Mode

Router Configuration