D-Link DXS-3600-EM-8T CLI Guide - Page 298
IP Prefix List Commands
View all D-Link DXS-3600-EM-8T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 298 highlights
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide IP Prefix List Commands 28-1 ip prefix-list This command is used to create an IP prefix list or add a rule for an IP prefix list. Use the no form of this command to remove an IP prefix list or remove a rule for an IP prefix list. ip prefix-list PREFIX-LIST-NAME [[seq SEQ-NUMBER] {deny | permit} NETWORK-ADDRESS [ge MINIMUMPREFIX-LENGTH] [le MAXIMUM-PREFIX- LENGTH]] no ip prefix-list PREFIX-LIST-NAME [[seq SEQ-NUMBER] {deny | permit} NETWORK-ADDRESS [ge MINIMUM-PREFIX-LENGTH] [le MAXIMUM-PREFIX- LENGTH]] Parameters PREFIX-LIST-NAME seq SEQ-NUMBER deny permit NETWORK-ADDRESS ge MINIMUM-PREFIXLENGTH le MAXIMUM-PREFIXLENGTH Specifies the name of the IP prefix list. It can accept up to 16 characters. The syntax is general string that does not allow space. (Optional) Specifies the sequence number of the rule entry. The range is 1 to 65535. (Optional) Specifies the rule to deny the access when matched. (Optional) Specifies the rule to permit the access when matched. (Optional) Specifies the network address to match. (Optional) Specifies the minimum prefix length used to match the network address. The range is 1 to 32. (Optional) Specifies the maximum prefix length used to match the network address. The range is 1 to 32. Default Command Mode Command Default Level Usage Guideline None. Global Configuration Mode. Level: 8 The ip prefix-list command is used to create or configure an IP prefix list. An IP 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 is specified. If only the ge is specified, the range of the mask length used to match the network address is from the minimum prefix length to a full 32-bit length. If only the le is specified, the range of the mask length is from prefix length of network to the maximum prefix length. If both the ge and le is specified, the range of the mask length falls between the minimum prefix length and the maximum prefix length. There is a restriction about the minimum prefix length and the maximum prefix length: prefix length of network < the minimum prefix length < the maximum prefix length