Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »


Configuring a BGP Router ID

The router ID should be configured first when you configure BGP. The router ID is a string similar to the IP address, and is the identifier of a BGP router in an AS. You should not change the router ID after completing the configuration. By default, the BGP router ID is not configured.

admin@XorPlus# set protocols bgp router-id 1.1.1.1
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# 


Configuring BGP Local-AS

The local ASN (Autonomous System Number) should be configured when you configure BGP.
The AS_Path attribute records all the AS numbers that a route passes through, from the source to the destination, following the order of vectors.

admin@XorPlus# set protocols bgp local-as 100
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# 


Configuring External BGP Peering

If the AS number of the specified peer is different from the local AS number during the configuration of BGP peers, an EBGP peer is configured. To establish point-to-point connections between peer autonomous systems, configure a BGP session on each interface of a point-to-point link. Generally, such sessions are made at network exit points with neighboring hosts outside the AS.

admin@XorPlus# set protocols bgp local-as 100
admin@XorPlus# set protocols bgp peer 192.168.49.1 as 200
admin@XorPlus# set protocols bgp peer 192.168.49.1 next-hop-self true
admin@XorPlus# set protocols bgp peer 192.168.49.1 local-ip 192.168.49.2
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# 


Configuring Internal BGP Peering

If the AS number of the specified peer is the same as the local AS number during the configuration of BGP peers, an IBGP peer is configured.

admin@XorPlus# set protocols bgp local-as 100
admin@XorPlus# set protocols bgp peer 192.168.49.1 as 100
admin@XorPlus# set protocols bgp peer 192.168.49.1 next-hop-self true
admin@XorPlus# set protocols bgp peer 192.168.49.1 local-ip 192.168.49.2
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# 


  • No labels