Configuring a Large Community Filter


The BGP Large Communities attribute was introduced in Feb 2017 with RFC 8092.
The BGP Large Communities Attribute is similar to the BGP Communities Attribute except that it has 3 components instead of two and each of which are 4 octets in length. Large Communities bring additional functionality and convenience over traditional communities, specifically the fact that the GLOBAL part below is now 4 octets wide allowing seamless use in networks using 4-byte ASNs.
GLOBAL:LOCAL1:LOCAL2 This is the format to define Large Community values.

  • To configure a standard large community filter, run the following command:

set routing large-community-list {standard <large-community-list-name>| seq-standard<integer>} {deny|permit} [large-community <large-community-number>]

  • To configure an expanded large community filter, run the following command:

set routing large-community-list {expanded <large-community-list-name>| seq-expanded <integer>{deny|permit} regex <line>

The following example configures a standard large community filter:

admin@Xorplus# set routing large-community-list standard LargeCom deny large-community 6215:22:33
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.