protocols bgp <asn> peer-group <name> remote-as <asn>
Specifies the AS number of the peer group.
- asn
- The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
- name
- The peer group name.
Configuration mode
protocols {
bgp asn {
peer-group name {
remote-as asn
}
}
}
Use the set form of this command to specify the AS number of a BGP peer group.
If the AS number of the peer group is the same as that of the local router, the neighbor is an internal BGP (iBGP) peer. If it is different, the neighbor is an external BGP (eBGP) peer.
Use the delete form of this command to remove AS number settings for the peer group.
Use the show form of this command to view BGP peer group configuration settings.