Configures an IPv6 prefix list for basic traffic filtering
Global configuration mode
An IPv6 prefix list is composed of one or more conditional statements that execute a permit or deny action if a route matches a specified prefix. In prefix lists with multiple statements, you can specify a sequence number for each statement. The specified sequence number determines the order in which the statement appears in the prefix.
You can configure an IPv6 prefix list on a global basis, then use it as input to other commands or processes, such as route aggregation, route redistribution, route distribution, route maps, and so on. When an SLX-OS device interface sends or receives an IPv6 packet, it applies the statements within the IPv6 prefix list in their order of appearance to the packet. As soon as a match occurs, the device takes the specified action (permit or deny the packet) and stops further comparison for that packet.
You can use permit statements in the prefix list to specify the traffic that you want to send to the other feature. If you use deny statements, the traffic specified by the deny statements is not supplied to the other feature. You can configure up to one hundred IPv6 prefix lists.
You must specify the ipv6-prefix parameter in hexadecimal using 16-bit values between colons as documented in RFC 4291. You must specify the prefix-length parameter as a decimal value. A slash mark (/) must follow the ipv6-prefix parameter and precede the prefix-length parameter.
The ge-value or le-value you specify must meet the following condition for prefix-length:
ge-value <= le-value <= 128
The following example creates a prefix-list that allows routes with the prefix 2001:db8::/32 .
device# configure terminal device(config)# ipv6 prefix-list route1 permit 2001:db8::/32 device(config)# interface ethernet 2/1 device(conf-if-eth-2/1)# ipv6 prefix-list route1