# neighbor peer-type

#### Syntax

neighbor peerGroupName peer-type { internal | external | confederation }

no neighbor peerGroupName peer-type

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Specifies the type for the peer group. The no version removes the configuration.

#### Options

- peerGroupName—Name of a BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
- internal—Peers must be in the same AS; if confederations are employed, peers must be in the same sub-AS in the same confederation
- external—Peers must be in a different AS
- confederation—Peers must be in a different sub-AS in the same confederation; used only if confederations are employed

#### Mode

Router Configuration