Expand description
A set’s name is an rpsl word with the following restrictions: All as-set names start with prefix “as-”. All route-set names start with prefix “rs-”. All rtr-set names start with prefix “rtrs-”. All filter-set names start with prefix “fltr-”. All peering-set names start with prefix “prng-”. For example, as-foo is a valid as-set name.
Set names can also be hierarchical. A hierarchical set name is a sequence of set names and AS numbers separated by colons “:”. At least one component of such a name must be an actual set name (i.e. start with one of the prefixes above). All the set name components of an hierarchical name has to be of the same type. For example, the following names are valid: AS1:AS-CUSTOMERS, AS1:RS-EXPORT:AS2, RS- EXCEPTIONS:RS-BOGUS.
Constants§
- ANY
The keyword ANY matches all routes.
- ASN
- AS number.
- AS_SET
The as-set attribute defines the name of the set. It is an RPSL name that starts with “as-”.
- AS_
SET_ BASE - Base AS Set name, including
peeras. - AS_
SET_ BASE_ OR_ ASN - FILTER_
SET The filter-set attribute defines the name of the filter. It is an RPSL name that starts with “fltr-”.
- FILTER_
SET_ BASE - Base Filter Set name.
- FILTER_
SET_ BASE_ OR_ ASN - OBJECT_
NAME - RPSL object name, without restriction on first letter.
- PEERAS
The keyword PeerAS can be used instead of the AS number of the peer AS. PeerAS is particularly useful when the peering is specified using an AS expression.
- PEERING_
SET The peering-set attribute defines the name of the set. It is an RPSL name that starts with “prng-”.
- PEERING_
SET_ BASE - Base Peering Set name.
- PEERING_
SET_ BASE_ OR_ ASN - ROUTE_
SET The route-set attribute defines the name of the set. It is an RPSL name that starts with “rs-”.
- ROUTE_
SET_ BASE - Base Route Set name.
- ROUTE_
SET_ BASE_ OR_ ASN