Ip Prefix-List Description - NETGEAR M6100 Series Reference Manual

Hide thumbs Also See for M6100 Series:
Table of Contents

Advertisement

Parameter
Description
network/length
Specifies the match criteria for routes being compared to the prefix list statement. The network can
be any valid IP prefix. The length is any IPv4 prefix length from 0 to 32.
ge length
(Optional) If this option is configured, then a prefix is only considered a match if its network mask
length is greater than or equal to this value. This value must be longer than the network length and
less than or equal to 32.
le length
(Optional) If this option is configured, then a prefix is only considered a match if its network mask
length is less than or equal to this value. This value must be longer than the ge length and less than
or equal to 32.
renumber
(Optional) Provides the option to renumber the sequence numbers of the IP prefix list statements
with a given interval starting from a particular sequence number. The valid range for
renumber-interval is 1 – 100, and the valid range for first-statement-number is 1 – 1000.
Command example:
The following example configures a prefix list that allows routes with one of two specific
destination prefixes, 172.20.0.0/16 and 192.168.1.0/24:
(NETGEAR Switch)(config)# ip prefix-list apple seq 10 permit 172.20.0.0/16
(NETGEAR Switch)(config)# ip prefix-list apple seq 20 permit 192.168.10/24
Command example:
The following example disallows only the default route:
(NETGEAR Switch)(config)# ip prefix-list orange deny 0.0.0.0/0
(NETGEAR Switch)(config)# ip prefix-list orange permit 0.0.0.0/0 ge 1
no ip prefix-list
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
no ip prefix-list list-name [seq number] {permit | deny} network/length
[ge length] [le length]
Mode
Global Configuration

ip prefix-list description

To apply a text description to a prefix list, use the ip prefix-list description
command in Global Configuration mode.
Default
No description is configured by default.
M6100 Series Switches
Routing Commands
654

Advertisement

Table of Contents
loading

Table of Contents