Use the
ip prefix-list
command to define an IP prefix list, or the
ipv6 prefix-list
command
to define an IPv6 prefix list. The
prefix-list
keyword with either the
match
{
ip
|
ipv6
}
address
or
match
{
ip
|
ipv6
}
next-hop
commands enables you to add a clause to a
route map.
Using a Prefix List
The following example creates a prefix list that permits routes with a prefix length up to
24 in the 151.0.0.0/8 network:
host1(config)#
ip prefix-list abc permit 151.0.0.0/8 le 24
clear ip prefix-list
•
Use to clear all hit counts in the prefix lists or the specified entry from the specified
prefix list. (The router increments the hit count by 1 each time an entry matches.)
•
Example
host1#
clear ip prefix-list abc
•
There is no
no
version.
•
See clear ip prefix-list.
clear ipv6 prefix-list
•
Use to clear all hit counts in the IPv6 prefix lists or the specified entry from the specified
prefix list. (The router increments the hit count by 1 each time an entry matches.)
•
Example
host1#
clear ipv6 prefix-list abc
•
There is no
no
version.
•
See clear ipv6 prefix-list.
ip prefix-list
ipv6 prefix-list
•
Use to create a prefix list for route filtering and to specify a list entry—a deny or permit
clause for a network address—to the prefix list. Use to add entries to prefix lists.
•
The prefix list name can be up to 32 characters long.
•
Specify the position of each entry in the list with the
seq
(sequence) keyword. If you
do not specify a sequence number, the router uses the value of the last sequence
number plus 5.
•
Use the
ge
and
le
keywords to specify a range of network prefixes. These keywords
have the following values:
•
prefix length <
ge
<= 32
•
prefix length <
le
<=
ge
•
If you do not specify either the
ge
or
le
keyword, an exact match is expected.
33
Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring Routing Policy
Содержание JUNOSE 11.2.X IP SERVICES
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Страница 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Страница 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Страница 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Страница 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Страница 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Страница 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Страница 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Страница 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Страница 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Страница 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Страница 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...