permit
Configure a filter that passes packets meeting the criteria specified.
C-Series, E-Series, S-Series, Z-Series
Syntax
permit ip-prefix [ge min-prefix-length] [le max-prefix-length]
To delete a forward filter, use the no permit ip-prefix command.
Parameters
ip-prefix
Specify an IP prefix in the network/length format. For example,
35.0.0.0/8 means match the first 8 bits of address 35.0.0.0.
ge
min-prefix-
length
(OPTIONAL) Enter the keyword ge and then enter the minimum prefix
length, which is a number from zero (0) to 32.
le
max-prefix-
length
(OPTIONAL) Enter the keyword le and then enter the maximum prefix
length, which is a number from zero (0) to 32.
Command Modes PREFIX-LIST
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.1.1.0 Introduced on the E-Series ExaScale.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version
6.1.1.0
Introduced on the E-Series.
Usage
Information
Sequence numbers for this filter are automatically assigned starting at sequence number 5.
If you do not use the ge or le options, only packets with an exact match to the prefix are
filtered.
Related
Commands
deny – configures a filter to drop packets.
seq – configures a drop or permit filter with a specified sequence number.
seq
Assign a sequence number to a deny or permit filter in a prefix list while configuring the filter.
C-Series, E-Series, S-Series, Z-Series
Syntax
seq sequence-number {deny | permit} {any} | [ip-prefix /nn {ge
min-prefix-length} {le max-prefix-length}] | [bitmask number]
To delete a specific filter, use the no seq sequence-number {deny | permit}
{any} | [ip-prefix {ge min-prefix-length} {le max-prefix-
length}] | [bitmask number].
279