ip prefix-list Even: Count:4, Range-entries: 4,
Sequences: 5 - 20
A detailed display of one of the prefix lists looks like this:
switch# show ip prefix-list name Even detail
ip prefix-list Even: Count:4, Range-entries: 4,
Sequences: 5 - 20
seq 5 deny 10.1.1.1/24 ge 24 le 24
Description: Permit even-numbered subnets
seq 10 permit 10.1.2.1/24 ge 24 le 24
seq 15 deny 10.1.3.1/24 ge 24 le 24
seq 20 permit 10.1.4.1/24 ge 24 le 24
Creating a route map
The
route-map
command creates a route map sequence. It specifies a route map name, a
permit
or
deny
instruction, and, optionally, a sequence number. All sequences that have the same route map name belong to the
same route map. For more information, see
on page 275.
Syntax:
route-map
name
[permit | deny] [seq
seq-num
]
Creates a route map and enters the route map context.
name
Specifies the name of the route map.
permit
Instructs the policy engine to permit the route if the match succeeds.
deny
Instructs the policy engine to deny the route if the match succeeds.
seq seq-num
Specifies a sequence number for the route-map. If a sequence number is not specified at the first instance of
the
route-map
name
command, the switch uses a default value of 10.
Deleting all or part of a route map
Use The
no
form of the
route-map
command to delete a sequence or an entire route map.
Syntax:
no route-map
name
[seq
seq-num
]
Deletes a route map or a route map sequence.
name
Specifies the name of the route map.
seq seq-num
Optional sequence number. Specifies a sequence to delete from the named route map.
Chapter 12 Route Policy
269