protocols bgp <asn> peer-group <name> local-as <asn>
Defines a local autonomous system number for eBGP peerings.
- asn
- The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
- name
- The peer group name.
- asn
- Valid autonomous system number. This may not be the number of the autonomous system to which the peer group belongs. The numbers range from 1 through 4294967294.
Configuration mode
protocols {
bgp asn {
peer-group name {
local-as asn
}
}
}
Use the set form of this command to set a local autonomous system number for eBGP peer groupings. This number is used by all peers in the group for peering. It cannot be applied to individual peers in the group.
A local autonomous system number can only be applied to a true eBGP peer; it cannot be applied to peers in different subautonomous systems within a confederation.
Use the delete form of this command to remove a local autonomous system number.
Use the show form of this command to view BGP peer group configuration settings.