Access Control List (ACL) Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
38.19
ip prefix-list
Use this command to create an entry for a prefix list.
Use the no parameter with this command to delete the prefix-list entry.
Syntax
ip prefix-list sequence number
no ip prefix-list sequence number
ip prefix-list
<list-name>
description
<line>
no ip prefix-list
<list-name>
description
<line>
ip prefix-list
<list-name>
|
<seq>
no ip prefix
<list-name>
|
<seq>
Mode
Configure mode
Usage
The device starts to match prefixes from the top of the prefix list, and stops whenever a match
or deny occurs. To promote efficiency, use the seq parameter and place common matches or
denials towards the top of the list. The sequence values are generated in the sequence of 5.
The parameters
ge
and
le
specify the range of the prefix length to be matched. When setting
these parameters, set the
le
value to be less than 32, and the
ge
value to be less than the
le
value. In this configuration, the
ip prefix-list
command matches all, but denies the IP address
range, 76.2.2.0.
Parameter
Description
<line>
text description of the prefix list
<list-name>
specifies the name of a prefix list
<seq>
seq
<1-429496725>
[deny | permit]
<ip-prefix>
any |
<length>
seq
<1-429496725>
sequence number of the prefix list
deny
specifies that packets are to be rejected
permit
specifies that packets are to be accepted
(packets that are accepted are forwarded)
<ip-prefix>
A.B.C.D/M specifies the IP address mask and length of the
prefix list mask
any
specifies to accept all packets of any length
<length>
[
<le>
|
<ge>
]
<le>
le
<0-32> specifies the maximum prefix length to be matched
<ge>
ge
<0-32> specifies the minimum prefix length to be matched
awplus(config)#
router bgp 100
awplus(config-router)#
network 172.1.1.0
awplus(config-router)#
network 172.1.2.0
awplus(config-router)#
neighbor 10.6.5.3 remote-as 300
awplus(config-router)#
neighbor 10.6.5.3 prefix-list mylist out
awplus(config-router)#
exit
awplus(config)#
ip prefix-list mylist seq 5 deny 76.2.2.0/24
awplus(config)#
ip prefix-list mylist seq 100 permit any
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......