ip prefix-list
Allows or denies specific route updates. A prefix list policy specifies route prefixes to
match. When there is a match, the route is used. Configure a prefix list and apply the list
to an IP route policy.
Syntax
-
ip prefix-list
WORD<1-64> {A.B.C.D/X} [id <1-2147483647>] [ge <0-32>] [le
<0-32>]
-
ip prefix-list
WORD<1-64> name WORD<1-64>
-
no ip prefix-list
WORD<1-64>
-
no ip prefix-list
WORD<1-64> {A.B.C.D/X}
Command Parameters
- <A.B.C.D/X>
- Specifies a prefix entry to add to
the prefix list. A.B.C.D/X is the IP address and mask. Use the no operator to
remove a prefix entry from the prefix list.
- ge<0-32>
- Specifies the minimum length to
match. Lower bound and higher bound mask lengths together can define a range of
networks.
- id<1-2147483647>
- Specifies the prefix list ID.
- le<0-32>
- Specifies the maximum length to
match. Lower bound and higher bound mask lengths together can define a range of
networks.
- name WORD<1-64>
- Specifies a new name for the
prefix list.
Command Mode
Global Configuration