[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Using a Prefix Tree
The following example creates a prefix tree that
permits routes with a prefix length of 24 or larger in the 10.10.2.0/24
network:
- host1(config)#ip prefix-tree xyz permit 10.10.2.0/24
clear
ip prefix-tree
- Use to clear all hit counts in the prefix trees or the
specified entry from the specified prefix tree. (The router increments
the hit count by 1 each time an entry matches.)
- Example
- host1#clear ip prefix-tree xyz
- There is no no version.
- See clear ip prefix-tree.
ip
prefix-tree
- Use to create a prefix tree for best route filtering;
specifies a tree entry—a deny or permit clause for a network
address.
- The prefix tree name can be up to 32 characters long.
- Example
- host1(config)#ip prefix-tree boston42 permit
10.10.2.0/24
- Use the no version to remove
the specified prefix tree or the specified tree entry.
- See ip prefix-tree.
match
ip address
- Use with the prefix-tree keyword
to match routes that have a destination network number address that
is permitted by the prefix tree.
- Example
- host1(config-route-map)#match ip address prefix-tree
xyz
- Use the no version to delete
the match clause from a route map or a specified value from the match
clause.
- See match ip address.
match
ip next-hop
- Use with the prefix-tree keyword
to match routes that have a next-hop router address passed by the
specified prefix tree.
- Example
- host1(config-route-map)#match ip next-hop
prefix-tree xyz
- Use the no version to delete
the match clause from a route map or a specified value from the match
clause.
- See match ip next-hop.
match-set
summary prefix-tree
- Use to specify the prefix tree that summarizes routes
for a particular route map.
- Use the ip prefix-tree command
to set the conditions of the prefix tree, including which routes to
summarize and how many bits of the network address to preserve.
- Example
- host1(config-route-map)#match-set summary
prefix-tree dog3
- Use the no version to disable
use of the prefix tree by the route map.
- See match-set summary prefix-tree.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]