Juniper BGP – “unsupported optional parameter” message

This seems to happen mainly with legacy kit such as old Nortel routers and the like. The peering won’t come up at all despite everything looking OK config wise.

When doing a bit more digging, the following message can be seen in the Juniper logs:

bgp_recv_open: peer x.x.x.x (External AS 12345): received NOTIFICATION code 2
 (Open Message Error) subcode 4 (unsupported optional parameter)

Solution (Example)

set protocols bgp group VENDORA neighbor 192.168.250.2 disable-4byte-as

This sets the peering to 2 byte AS number support only and allows the peering to come up.

Tagged , , , , , , . Bookmark the permalink.

One Response to Juniper BGP – “unsupported optional parameter” message

  1. Vivek Maindola says:

    disable-4byte-as this command is hidden so just copy and paste.

Leave a Reply

Your email address will not be published. Required fields are marked *