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
------------------------------
Original Message:
Sent: 02-09-2024 23:12
From: LEEBAHI
Subject: Setting BGP AS 2 Byte format for testing
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!!
------------------------------