Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


type (Protocols BGP)



Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.


Specify the type of BGP peer group.

When configuring a BGP group, you can indicate whether the group is an IBGP group or an EBGP group. All peers in an IBGP group are in the same AS, while peers in an EBGP group are in different ASs and normally share a subnet.


type—Type of group:

  • external—External group, which allows inter-AS BGP routing

  • internal—Internal group, which allows intra-AS BGP routing

Default: If you do not specify the BGP group type or assign a peer-as, then Junos OS assigns peer group type external by default.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.