![background image](http://html1.mh-extra.com/html/foundry-networks/netiron-m2404c/netiron-m2404c_user-manual_2324273846.webp)
Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring Routing Information (Rev. 03)
Controlling and Modifying Routing Information
© 2008 Foundry Networks, Inc.
Page 27 of 48
ip prefix-list aaa4: 2 entries
seq 5 permit 192.168.0.0/24 le 32 ge 32
Removing Entries from the Prefix-List Table
The
clear ip prefix-list
command, in Privileged (Enable) mode, removes the specified entries from
the prefix-list table. If no arguments are specified, all the configured IP prefix lists will be removed.
Command Syntax
device-name
#
clear ip prefix-list
[
NAME
[
A.B.C.D/M
]]
Argument Description
NAME
(Optional). Clears only the prefix-list with the specified prefix-list name.
A.B.C.D/M
(Optional). Clears only entries with the specified IP address. This argument is
specified only following a prefix-list name, as an additional constraint.
Defining Route Maps
The
route-map
command, in Global Configuration mode, defines the route map and opens the
Route-map Configuration mode. The
no
form of the command deletes the route map.
The
match
and
set
commands are used to define the conditions for redistributing routes from one
routing protocol to another, in Route-map Configuration mode. Each
route-map
command has a
list of
match
and
set
commands associated with it. The
match
commands specify the match
criteria for the conditions under which redistribution is allowed for the current route-map. The
set
commands specify the set actions - the particular redistribution actions to perform if the criteria
enforced by the
match
commands are met.
Command Syntax
device-name
(config)#
route-map
NAME
{
permit
|
deny
} <
sequence-number
>
device-name
(config)#
no route-map
NAME
[{
permit
|
deny
} <
sequence-number
>]
Argument Description
NAME
Represents a literal name that is used to identify the specific route map. The
user can use the same name to define multiple instances of the same route
map.
permit
Enables the routes that match the route map criteria.
deny
Rejects the routes that match the route map criteria.
sequence-number
Indicates the position of the current instance of the route map. Routes that
are tested by a route-map with multiple instances pass in succession
through the sequence of instances until a match criterion is met. If a match
is found, the routing protocol permits or denies the action specified in the
configuration of the instance that is matched. If no match is found in any
instance, the route is rejected.
Example 1
This example describes how to define the route map with name
RMP1
: