This command specifies the peer type of the peer group.
ip-prefix/length | An IPv4 or IPv6 prefix and length. |
groupID | Specifies a BGP peer group name as a string of characters. If an invalid IP address is specified (for example, 256.1.1.1), it will be read as a group name. |
ibgp | Specifies a peer group peer type as internal BGP. |
ebgp | Specifies a peer group peer type as external BGP. |
ebgp-confed | Specifies a peer group peer type as an external BGP confederation. |
None.
BGP Router Configuration.
This command applies to peer groups. The default peer type is IBGP.
The no neighbor peer-type command resets the peer type to the default value of IBGP for this neighbor.
The following example configures the peer type for neighbors in prefix 10.10.25.1/24 as EBGP:
System(su-config)->router bgp 65151 System(su-config-bgp)->bgp router-id 159.1.1.9 System(su-config-bgp)->neighbor 10.10.25.1/24 peer-type ebgp System(su-config-bgp)->