protocols bgp <asn> neighbor <id>
Defines a BGP neighbor.
- asn
- The number for the autonomous system (AS) in which this router resides. The number ranges from 1 through 4294967295.
- id
- Multi-node. The IPv4 or IPv6 address of a BGP neighbor.
You can define multiple BGP neighbors by creating multiple neighbor configuration nodes.
Configuration mode
protocols {
bgp asn {
neighbor id {
}
}
}
Use the set form of this command to define a BGP neighbor.
Use the delete form of this command to remove a BGP neighbor.
Use the show form of this command to view BGP neighbor configuration settings.