When configuring a BGP group, you can indicate whether the group is an internal BGP (IBGP) group or an external BGP (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.
To configure an IBGP group, which allows intra-AS BGP routing, include the following form of the type statement:
-
type internal;
To configure an EBGP group, which allows inter-AS BGP routing, include the following form of the type statement:
-
type external;
For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.