match ipv6 (filter) (S-, K-Series)

Use this command to match a route network address, next hop or source router ID to an IPv6 ACL.

Syntax

match ipv6 {address | next-hop | route-source} access-list
no match ipv6 {address | next-hop | route-source} access-list

Parameters

address Specifies a network address to be matched against the contents of the specified IPv6 ACL(s).
next-hop Specifies a next-hop address to be matched against the contents of the specified IPv6 ACL(s).
route-source Specifies the source route ID to be matched against the contents of the specified IPv6 ACL(s).
access-list Specifies the IPv6 ACL for which the specified command option will be matched against.

Defaults

None.

Mode

Route-map filter configuration.

Usage

Allows for up to 5 IPv6 access-lists to be associated with each address, next-hop or route-source entry.

Multiple match IPv6 entries may be configured, but a match of at least one ACL in each match entry must occur for a successful match for this sequence.

Apply the filter route-map using the distribute-list route-map in command in OSPF router configuration command mode to prevent route matches from entering the OSPF routing table.

The “no” form of this command removes the IP match for this route-map.

Example

This example shows how to match a packets next hop IP address to the contents of the acl1 access-list:

System(rw-config)->route-map filter ospf1
System(rw-config-fltr)->match ipv6 next-hop acl