3 ip prefix-list sequence-number, Ip prefix, List sequence – PLANET XGS3-24040 User Manual

Page 384: Number

Advertising
background image


29-97

be matched(ranging between 0~32), “le” means less than or equal to, <max_prefix_len> is the

maximum length of prefix to be matched(ranging between 0~32).

Default:

None.

Command Mode:

Global Mode

Usage Guide:

A prefix-list is identified by a prefix-list name. Each prefix-list may include several items each of

which independently specifies a matching scope of network prefix-list type which is identified with a

sequence-number. sequence-number specifies the sequence of matching check in the prefix-list. In

the matching process the switch check in turn every items identified by “sequence-number

ascending. Once certain item obtains the conditions then the prefix-list filter is passed (without

proceeding into the next item check)

Attentions should be paid on that at least one item match mode should be “permit” when more than

one prefix-list items is defined. The deny mode items can be previously defined so to remove the

unsuitable routing messages fast. However if all items are at deny mode then none of the routes

would be able to pass the filter of this prefix-list. We here can define a “permit 0.0.0.0/0 ge 0 le 32”

item after several defined “deny mode” items so to grant the passage for all other routing messages.

Example:

Switch#config terminal

Switch(config)#ip prefix-list mylist seq 12345 deny 10.0.0.0/8 le 22 ge 14

29.3 ip prefix-list sequence-number

Command:

ip prefix-list sequence-number

no ip prefix-list sequence-number

Function:

Enable the sequence-number auto-creation function, the “no ip prefix-list sequence-number

command close the prefix-list sequence-number.

Parameter:

None.

Default:

Sequence-number auto-creation enabled.

Command Mode:

Global Mode

Usage Guide:

The command can be used to close the prefix-list sequence-number.

Example:

Switch(config)#no ip prefix-list sequence-number

Advertising