Routing

 View Only
last person joined: 3 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.  Extended community with 4 byte AS

    Posted 03-22-2019 08:27

    What am I missing?

     

    This works OK:

    members bandwidth:200001L:300
    members bandwidth:65500:37500000

     

    But:

    members bandwidth:200001L:37500000 gives commit error....

     

    [edit policy-options community Bandwidth-300]
    'members bandwidth:200001L:37500000'
    invalid Extended community value value at '37500000' not in range 0 to 65535
    error: configuration check-out failed

     

    (exact ASN changed to 200001 for privacy)

     

    Regards,

    Pawel 



  • 2.  RE: Extended community with 4 byte AS
    Best Answer

    Posted 03-22-2019 09:29

    Hi,

    As far as I understand, you only have 6 bytes left in the extended community for specifying the number (2 bytes are used for the type). You can either split those 6 bytes as 2:4 or 4:2. If you specify 'L' after the number, it's treated as 32-bit long (i.e. takes 4 bytes).

    In this case 'bandwidth:200001L:37500000' you don't need to specify 'L' for 200001 as it will take 4 bytes anyway (as it's bigger than 65535, the maximum value which can be represented by 2 bytes), so you are left with just 2 bytes for the second number.

     



  • 3.  RE: Extended community with 4 byte AS

    Posted 03-22-2019 09:58

    Sorry, you actially need 'L' when the number is higher than 65535 (although it seems redundant to me)



  • 4.  RE: Extended community with 4 byte AS

    Posted 03-22-2019 09:59

    Hi,

    current implemention does support only 2 Byte AS for bw community, so you can apply or use left space and put some small BW which fits