Versions Compared

Key

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

...

The local ASN (Autonomous System Number) should be configured when you configure BGP. An Autonomous System (AS) is a group of IP networks that are controlled by one entity, typically an Internet service provider (ISP), and that have the same routing policy. Each AS is assigned a unique AS number, which identifies an AS on a BGP network. 

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.

...

Code Block
admin@XorPlus# set protocols bgp local-as 100
admin@XorPlus# set protocols bgp peerneighbor 192.168.49.1 remote-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# 

...

Code Block
admin@XorPlus# set protocols bgp local-as 100
admin@XorPlus# set protocols bgp peerneighbor 192.168.49.1 remote-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# 

...