User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 729
6.9.2. Configuration commands
6.9.2.1. ip policy route-map
Use this command to identify a route map to use for policy-based routing on an interface specified by <route-
map-name>. Policy-based routing is configured on the interface that receives the packets, not on the interface
from which the packets are sent.
When a route-map applied on the interface is changed, that is, if new statements are added to route-map or
match/set terms are added/removed from route-map statement, and also if route-map that is applied on an
interface is removed, route-map needs to be removed from interface and added back again in order to have
changed route-map configuration to be effective.
In order to disable policy based routing from an interface, use no form of this command.
Format ip policy route-map <routemap>
no ip policy route-map <routemap>
Default None
Mode Interface Config
6.9.2.2. ip prefix-list
To create a prefix list or add a prefix list entry, use the ip prefix-list command in Global Configuration mode.
Prefix lists allow matching of route prefixes with those specified in the prefix list. Each prefix list includes of a
sequence of prefix list entries ordered by their sequence numbers. A router sequentially examines each prefix
list entry to determine if the route's prefix matches that of the entry. An empty or nonexistent prefix list permits
all prefixes. An implicit deny is assume if a given prefix does not match any entries of a prefix list. Once a match
or deny occurs the router does not go through the rest of the list.
A prefix list may be used within a route map to match a route's prefix using the command "match ip address"
Up to 128 prefix lists may be configured. The maximum number of statements allowed in prefix list is 64.
To delete a prefix list or a statement in a prefix list, use the no form of this command. The command no ip
prefix-list list-name deletes the entire prefix list. To remove an individual statement from a prefix list, you must
specify the statement exactly, with all its options.
Format ip prefix-list <list-name> {[seq <seq number>] {permit | deny} prefix/length [ge <length>] [le
<length>] | renumber [<renumber-interval> [<first-statement-number>]]}
no ip prefix-list <list-name> [seq <seq number>] {permit | deny} prefix/length [ge <length>] [le
<length>]
Fields
Definition
routename
(Optional) Name of a specific route map.
Fields
Definition
list-name
The text name of the prefix list. Up to 32 characters.