Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

  • If there is a BGP configuration on a peer and its peer group, the BGP configuration on the peer takes precedence over that configured on the peer group.
  • If the peer you want to add to a group already exists in the BGP configuration, delete it first, than add it to the peer group.

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