...
Code Block |
---|
admin@XorPlus# set protocols bgp local-as 100 admin@XorPlus# set protocols bgp neighbor 192.168.49.1 remote-as 100 admin@XorPlus# commit Commit OK. Save done. admin@XorPlus# |
Configuring a BGP Peer Group
A large BGP network has a large number of peers. It is difficult to configure and maintain these peers. You can add the BGP peers with the same configurations to a BGP peer group and then configure the BGP peers in batches. This simplifies peer management and improves route advertisement efficiency.
Info |
---|
NOTE:
|
The following example commands create a peer group called Leaf1 that includes two external peers.
Code Block |
---|
admin@XorPlus# set protocols bgp peer-group Leaf1
admin@XorPlus# set protocols bgp neighbor leaf1 remote-as external
admin@XorPlus# set protocols bgp neighbor 10.10.0.1 peer-group Leaf1
admin@XorPlus# set protocols bgp neighbor 10.10.0.12 peer-group Leaf1
admin@XorPlus# commit |