Routing

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  Setting BGP AS 2 Byte format for testing

    Posted 02-09-2024 23:13

    Hi everyone.

    I am trying to set up a lab between two BGP speakers , such that one only support AS ( 2 bytes) and while the other can support AS-4 bytes format.

    Unfortunately,  both of my vMX supports AS-4 bytes format.

    Is there any command that we can  use to force to operate in AS-2 bytes format and announces AS-2 bytes compatibility in BGP open message?

    My vMX is running:

    Junos: 14.1R1.10

    Much appreciated!!



    ------------------------------
    Be kind!!
    ------------------------------


  • 2.  RE: Setting BGP AS 2 Byte format for testing
    Best Answer

    Posted 02-10-2024 01:31

    Hi,

    Try "disable-4byte-as".

    https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/disable-4byte-as.html

    Note that this command is "hidden", so, it will not show up when you press ? to see available commands, but it is there -

    [edit]
    root@RR# show protocols bgp |display set | match 4byte 
    set protocols bgp group ibgp disable-4byte-as



    ------------------------------
    FARID AKHUNDOV
    ------------------------------



  • 3.  RE: Setting BGP AS 2 Byte format for testing

    Posted 02-10-2024 20:52

    Thanks Farid!!



    ------------------------------
    Be kind!!
    ------------------------------



  • 4.  RE: Setting BGP AS 2 Byte format for testing

    Posted 02-11-2024 01:53

    You are welcome!



    ------------------------------
    FARID AKHUNDOV
    ------------------------------