xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
565
DGS-3620-28SC:admin# create ip prefix_list 1
Command: create ip prefix_list 1
Success.
DGS-3620-28SC:admin#
46-2
config ip prefix_list
Description
This command defines the rule entry for an IP route prefix list.
A prefix list can have multiple rule entries; each is represented by a sequence number. The rule
with the lower sequence number will be evaluated first. If the sequence number is not specified for
the defined rule entry, the sequence number will be automatically given. The automatically given
sequence number will be a multiple of 5. Therefore, if the defined rule is the first rule in the prefix
list, the automatically given sequence number will be 5. If the defined rule is not the first rule in the
prefix list, the sequence number will be the number that is a multiple of 5 and larger than the
largest sequence number of an existing rule in the prefix list.
A prefix list consists of an IP address and a bit mask. The bit mask is entered as a number from 1
to 32. An implicit denial is applied to traffic that does not match any prefix list entry.
The IP route prefix list rule entry is defined to either permit or deny specific routes. Prefix lists are
configured to match an exact prefix length or a prefix range. The prefix list is processed using an
exact match when neither the
ge
nor
le
keyword is entered. If only the
ge
value is entered, the
range is the value entered for the
ge
ge-length argument to a full 32-bit length. If only the
le
value
is entered, the range is from the value entered for the network/length argument to the
le
le-length
argument. If both the
ge
ge-length and
le
le-length keywords and arguments are entered, the
range falls between the values used for the ge-length and le-length arguments.
The following formula is a restriction for the specified ge-length and le-length.
network/length < ge ge-length < le le-length <= 32
As an example, if the configured network address is 10.1.2.3/16, only the route 10.1.0.0/16 will
match the rule. The route 10.1.2.0/24 will not match the rule.
As another example, if 10.1.0.0/16 ge 24 is configured, then the route 10.1.0.0/16 will not match
the rule. The route 10.1.2.0/24 will match the rule. The route 10.1.2.3/32 will also match the rule.
Format
config ip prefix_list <list_name 16> [[add | delete] {sequence <value 1-65535>}
<network_address> {ge <value 1-32>} {le <value 1-32>} [deny | permit] | [description <desc
80> | clear_description]]
Parameters
<list_name 16>
- Specifies the name for the prefix list.
add
- Specifies to add a rule entry.
delete
- Specifies to delete a rule entry.
sequence
- (Optional) Specifies the sequence number for the rule entry.
<value 1-65535>
- Enter the sequence number for the rule entry here. This value must be
between 1 and 65535.
Содержание xStack
Страница 1: ......
Страница 161: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 156 DGS 3620 28SC admin ...
Страница 503: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 498 DGS 3620 28SC admin ...
Страница 553: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 548 ...
Страница 565: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 560 ...
Страница 888: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 883 DGS 3620 28SC admin ...
Страница 1011: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1006 ...
Страница 1120: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1115 ...