Enhanced Prefix-length Manipulation
The enhanced prefix-length manipulation support in a prefix-set enhances the prefix-range on using ge
semantics in prefix match specifications. This caters to have a single entry that matches prefixes 0.0.0.0/0,
0.0.0.0/1, 0.0.0.0/2, ...., 0.0.0.0/32. The prefix-length can be manipulated with ge semantics as prefix-set
(0.0.0.0/30 ge 0 le 32) that will match all prefixes in the range 0.0.0.0/0 to 0.0.0.3/32. With this, the single
prefix-set entry 0.0.0.0/32 ge 0 le 32 will match prefixes 0.0.0.0/0, 0.0.0.0/1, 0.0.0.0/2, ...., 0.0.0.0/32.
These are prefix ranges with the IPv4 prefix syntax along with corresponding mask length ranges:
•
<A.B.C.D>/<len> ge <G> le <L>
â—¦
<A.B.C.D>/[<len>..<G>] (if <len> is lesser than <G> )
â—¦
<A.B.C.D>/[<G>..<len>] (if <len> is greater than <G> )
•
<A.B.C.D>/<len> ge <G>
â—¦
<A.B.C.D>/[<len>..<G>] (if <len> is lesser than <G> )
â—¦
<A.B.C.D>/[<G>..<len>] (if <len> is greater than <G> )
•
<A.B.C.D>/<len> eq <E>
â—¦
<A.B.C.D>/[<len>..<E>] (if <len> is lesser than <E> )
â—¦
<A.B.C.D>/[<E>..<len>] (if <len> is greater than <E> )
ACL Support in RPL Prefix Sets
Access Control List (ACL) type prefix set entries holds IPv4 or IPv6 prefix match specifications, each of
which has an address and a wildcard mask. The address and wildcard mask is a standard dotted-decimal IPv4
or colon-separated hexadecimal IPv6 address. The set of bits to be matched are provided in the form of wildcard
also called as inverted mask in which a binary 0 means a mandatory match and binary 1 means a do not match
condition. The prefix set allows to specify contiguous and non-contiguous set of bits that should be matched
in any route.
rd-set
An rd-set is used to create a set with route distinguisher (RD) elements. An RD set is a 64-bit value prepended
to an IPv4 address to create a globally unique Border Gateway Protocol (BGP) VPN IPv4 address.
You can define RD values with the following commands:
• a.b.c.d:m:*—BGP VPN RD in IPv4 format with a wildcard character. For example,
10.0.0.2:255.255.0.0:*.
• a.b.c.d/m:n—BGP VPN RD in IPv4 format with a mask. For example, 10.0.0.2:255.255.0.0:666.
• a.b.c.d:** —BGP VPN RD in IPv4 format with a wildcard character. For example, 10.0.0.2:255.255.0.0.
• a.b.c.d:n— BGP VPN RD in IPv4 format. For example, 10.0.0.2:666.
• asn:*— BGP VPN RD in ASN format with a wildcard character. For example, 10002:255.255.0.0.
• asn:n—BGP VPN RD in ASN format. For example, 10002:666.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
552
Implementing Routing Policy
Routing Policy Language Overview