route-set
Object Template
The object template includes information on how to complete the attribute values.
Status Instance Search Status route-set: [mandatory] [single] [primary/lookup key] descr: [mandatory] [multiple] [ ] members: [optional] [multiple] [ ] mp-members: [optional] [multiple] [ ] mbrs-by-ref: [optional] [multiple] [inverse key] remarks: [optional] [multiple] [ ] tech-c: [mandatory] [multiple] [inverse key] admin-c: [mandatory] [multiple] [inverse key] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] mnt-lower: [optional] [multiple] [inverse key] last-modified: [generated] [single] [ ] source: [mandatory] [single] [ ]
Attribute status
Mandatory
Attribute must be included in the object. Failure to do so will result in errors.
Attribute | Description |
---|---|
route-set | The name of a set of route-set. The route-set attribute may take two forms:
Non-hierarchicalA non-hierarchical route-set attribute must begin with ‘RS-‘.
EXAMPLE RS-DENIED-ROUTES
Hierarchical A hierarchical route-set attribute consists of route-set names and AS numbers separated by colons ‘:‘. There
<as-number>: RS-<organization> EXAMPLE AS1: RS-EXAMPLENET |
descr | A short description related to the object, including the organization responsible for the ‘route’ object.
EXAMPLE Denied outbound and inbound routes |
tech-c | The NIC-handle of a technical contact ‘person’ or ‘role’ object. As more than one person often fulfills a role function, there may be more than one tech-c listed.
|
admin-c | The NIC-handle of an on-site contact ‘person’ object. As more than one person often fulfills a role function, there may be more than one admin-c listed.
|
mnt-by | Lists a registered ‘mntner’ used to authorize and authenticate changes to this object.
|
last-modified | It is a time stamp that is generated by the system to reflect when the object was last modified.
last-modified: 2018-08-30T07:50:19Z |
source | The database where the object is registered. |
Optional
Attribute may be deleted from the object. To delete an optional attribute you must also remove the attribute from the object template. Failure to do so will result in errors.
Attribute | Description |
---|---|
members | The members attribute lists the IPv6 routes that form the route-set. Members can be specific as any of the following:
In practice, it is probably most useful to specify route or route-set objects as members.
|
mp-members | This attribute performs the same function as the ‘members’ attribute above. The difference is that mp-members allows both IPv4 and IPv6 address families to be specified. The ‘members’ attribute lists the IPv4 and IPv6 routes that form the route-set. Members can be specified as any of the following:
|
mbrs-by-ref | The identifier of a registered ‘mntner’ object that can be used to add members to the route-set indirectly. For example, use this attribute if you have created a route-set to hold all your customer routes and trust the customers to update and delete their routes as necessary.
|
member-of | Identifies a route-set object of which you wish this route to be a member. To be included as a member of this route-set , the route-set object must specify the ‘maintainer‘ of the route object in the route-set object’s mbrs-by-ref attribute. For more information, see RFC 2622 – Routing Policy Specification Language (RPSL), section 8.1. |
remarks | Information about the object that cannot be stated in other attributes. May include a URL or email address. |
notify | The email address to which notifications of changes to this object should be sent.
|
mnt-lower | Sometimes there is a hierarchy of maintainers. In these cases, mnt-lower is used as well as ‘mnt-by’. |
Generated
Attribute value is generated by the database.
Updating
You will soon be able to updated this object in MyAPNIC.
Instances of attribute allowed
Single |
Attribute must appear only once in the object. |
Multiple |
Attribute may appear multiple times in the object. For example, you may wish to include more than one admin-c attribute. |
Attribute search status
Primary key |
Primary keys distinguish an object from all other objects in the database. To update a primary key, you must delete the entire object and them create a new object with the updated information. |
Lookup key |
Attribute can be queried in the database to return the object. Please note, however, that a lookup key does not uniquely identify an object. |
Inverse key |
Attribute can be used when performing an inverse query using the -i flag. For example, the query
-i mntner <MNTNER-NAME> will return all objects with the specified maintainer in the mnt-by attribute. |
Using route-set objects
The route-set object allows you to group routes with similar properties. For example, instead of referring to many individual route objects in the import and
export attributes of the aut-num object, you can refer to a single route-set object. For example, by using the following route-setobject:
route-set AS1:RS-CUSTOMERS members: 202.137.181.0/22, 203.1.0.0/24, 203.2.0.0/23
… instead of using this long import statement:
import: from AS1 accept {202.137.181.0/22, 203.1.0.0/24, 203.2.0.0
… you could replace it with this simple import statement:
import: from AS1 accept AS1:RS-CUSTOMERS
If you use automated tools used to configure routers, the route objects associated with the route-set object will be returned, and all individual routes that form the route-setwill
be injected into your configuration files. You can also use route-set objects to specify routes your network will not accept, for example private IP address ranges such as 10/8. For more information,
see RFC 2650 – Using RPSL in Practice.